• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 17:13
CEST 23:13
KST 06:13
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
TL.net Map Contest #21: Voting3[ASL20] Ro4 Preview: Descent6Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5
Community News
Weekly Cups (Oct 6-12): Four star herO65.0.15 Patch Balance Hotfix (2025-10-8)71Weekly Cups (Sept 29-Oct 5): MaxPax triples up3PartinG joins SteamerZone, returns to SC2 competition325.0.15 Balance Patch Notes (Live version)119
StarCraft 2
General
Ladder Impersonation (only maybe) 5.0.15 Patch Balance Hotfix (2025-10-8) The New Patch Killed Mech! TL.net Map Contest #21: Voting Weekly Cups (Oct 6-12): Four star herO
Tourneys
Master Swan Open (Global Bronze-Master 2) Tenacious Turtle Tussle WardiTV Mondays SC2's Safe House 2 - October 18 & 19 Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
External Content
Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers Mutation # 492 Get Out More
Brood War
General
BW caster Sayle ASL20 General Discussion BSL Season 21 BGH Auto Balance -> http://bghmmr.eu/ Brood War web app to calculate unit interactions
Tourneys
[ASL20] Semifinal B [ASL20] Semifinal A [Megathread] Daily Proleagues [ASL20] Ro8 Day 4
Strategy
Current Meta BW - ajfirecracker Strategy & Training Siegecraft - a new perspective TvZ Theorycraft - Improving on State of the Art
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread ZeroSpace Megathread Dawn of War IV Path of Exile
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
SPIRED by.ASL Mafia {211640} TL Mafia Community Thread
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread Russo-Ukrainian War Thread Men's Fashion Thread Sex and weight loss
Fan Clubs
The herO Fan Club! The Happy Fan Club!
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023 NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Inbreeding: Why Do We Do It…
Peanutsc
From Tilt to Ragequit:The Ps…
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1184 users

Programming Help - Java and databases

Blogs > UdderChaos
Post a Reply
UdderChaos
Profile Blog Joined February 2010
United Kingdom707 Posts
June 30 2011 13:24 GMT
#1
Hey there fellow tlers!

I was wondering if anyone with some decent experience in programming, particularly in java, could help me out with this one. Basically back in sixth form (British school from ages 16-18) I created a program in java that was a point of sale till program for my fathers business for my computing course. Thing is my dad actually wants to use it now, and it's 3 years later and i cant seem to get the drivers working. I used an access database and spoke to it using SQL using a JDBC to ODBC bridge. Thing is that it doesn't seem to work anymore, i just get errors about not being able to find the ODBC driver, and im programing it on a totally new machine with 64 bit windows 7 as appose to the original xp machine i programmed it on, and now java integrates the bridge these days as well. I think it has something to do with 64 bit operating systems having two ODBC drivers or something but i really cant be bothered to find a solution as none on the Internet Ive found so far work, so unless you have a straight solution to this then perhaps you can help me with picking a new database to use.

Basically the database needs to be easy to speak to from a Java application across a network, and needs to have a good client side program/management frontend, like Microsoft access, as my dad wants to use a program to run reports and such so that he can get information about his stock. Any suggestions of what to use and where to start? There seems to be HUNDREDS of types of databases out there and i really don't know where to start. Is it worth using MySQL? As this seems to be popular on the web, and would look good on my cv if i went for a web design job, and also Orcale owns it so i assume it will work well with Java. Only this is, what good management frontend programs can you get for it?

Thanks for any help

*
Nunquam iens addo vos sursum
SarR
Profile Joined June 2011
476 Posts
June 30 2011 13:39 GMT
#2
You should check out Microsoft SqlServer. I use it for any projects that I write that require a Database engine. Ive no complaints about it. Its a reliable product and there are free versions. SqlServer 2005 should have no qualms about Win7 x64
tofucake
Profile Blog Joined October 2009
Hyrule19135 Posts
June 30 2011 14:01 GMT
#3
MSSQL is annoying, but maybe that's just because I prefer MySQL. So I recommend MySQL. Unfortunately I haven't used Java in years because I hate it, so that's really all I can recommend.
Liquipediaasante sana squash banana
icystorage
Profile Blog Joined November 2008
Jollibee19350 Posts
Last Edited: 2011-06-30 14:16:48
June 30 2011 14:10 GMT
#4
i use postgresql , you could download it here along with apache server. seems fine with me haha
they also have some pretty good documentation
http://www.postgresql.org/
aaaaaaaaand there's also this thread
made by tofucake
http://www.teamliquid.net/forum/viewmessage.php?topic_id=134491
LiquidDota StaffAre you ready for a Miracle-? We are! The International 2017 Champions!
MisterD
Profile Blog Joined June 2010
Germany1338 Posts
June 30 2011 14:19 GMT
#5
if it's just for home use, run hibernate with hsqldb in the background. easiest thing in the world, and you don't even have to write any insert queries anymore at all.
Gold isn't everything in life... you need wood, too!
Maero
Profile Joined December 2007
349 Posts
Last Edited: 2011-06-30 14:58:19
June 30 2011 14:44 GMT
#6
I actually had to get the ODBC bridge to work on 64-bit windows 7 before - one second while I look for how I did it (I'll edit it in when I find it)

EDIT: found the class page where we set up the bridge, I'll just go ahead and mirror it for you

EDIT2: mirrored here! http://www.public.iastate.edu/~j2pierce/DataSounce.htm

like I said, it was a project for a class - so ignore the references to cs363 :p
UdderChaos
Profile Blog Joined February 2010
United Kingdom707 Posts
Last Edited: 2011-06-30 16:32:50
June 30 2011 16:32 GMT
#7
Thanks Maero, but when i press add the only option is SQL. I obviously havent downloaded the actual driver, but the controller, but yet thats not what http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=13255 looks like lol.

Any ideas what im supposed to actually download?
Nunquam iens addo vos sursum
Maero
Profile Joined December 2007
349 Posts
Last Edited: 2011-06-30 16:52:22
June 30 2011 16:44 GMT
#8
When you go to the drivers tab, the only thing that shows up is the SQL server?

Are you positive that you have microsoft access installed on your machine? The only other thing I can think of is that maybe it's a path issue - but looking at my path right now I don't have anything involving office or access and I doubt I would have removed it.

You might have to use odbcconf.exe in the syswow64 folder if nothing else is working - it lets you manually add a driver to the odbc manager. It's command line only, but if you try to run it without any parameters it will give you the syntax for use.
UdderChaos
Profile Blog Joined February 2010
United Kingdom707 Posts
Last Edited: 2011-07-04 23:38:11
July 04 2011 21:24 GMT
#9
On July 01 2011 01:44 Maero wrote:
When you go to the drivers tab, the only thing that shows up is the SQL server?

Are you positive that you have microsoft access installed on your machine? The only other thing I can think of is that maybe it's a path issue - but looking at my path right now I don't have anything involving office or access and I doubt I would have removed it.

You might have to use odbcconf.exe in the syswow64 folder if nothing else is working - it lets you manually add a driver to the odbc manager. It's command line only, but if you try to run it without any parameters it will give you the syntax for use.

Ok i got this part to work so that i could follow your above guide after looking on the internet for while. But my program still wont work, im wondering whether it has to do with the data source name field as i assume this is program specific but im not sure what to put in there.

Edit: actually this only works for the 64 bit driver manager, the 32 bit one doesn't have the drivers it seems :S but 64 bit does!
Nunquam iens addo vos sursum
obesechicken13
Profile Blog Joined July 2008
United States10467 Posts
Last Edited: 2011-07-05 03:36:14
July 05 2011 03:31 GMT
#10
edit: I'm stupid.
I think in our modern age technology has evolved to become more addictive. The things that don't give us pleasure aren't used as much. Work was never meant to be fun, but doing it makes us happier in the long run.
AntiLegend
Profile Joined September 2010
Germany247 Posts
July 05 2011 04:04 GMT
#11
java (kinda) has its own db:

http://www.oracle.com/technetwork/java/javadb/overview/index.html
Please log in or register to reply.
Live Events Refresh
OSC
18:30
Mid Season Playoffs
Ryung vs MojaLIVE!
Nice vs NightPhoenix
Cham vs TBD
MaNa vs TriGGeR
SteadfastSC226
IndyStarCraft 137
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SteadfastSC 226
ZombieGrub161
IndyStarCraft 137
StarCraft: Brood War
Calm 2833
Larva 524
Mini 366
firebathero 120
Dewaltoss 90
Dota 2
Pyrionflax185
Counter-Strike
fl0m1458
Stewie2K363
allub138
Heroes of the Storm
Liquid`Hasu562
Other Games
Grubby3748
FrodaN1997
Skadoodle280
Sick136
C9.Mang0123
Organizations
Other Games
BasetradeTV20
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 20 non-featured ]
StarCraft 2
• poizon28 80
• StrangeGG 58
• Hupsaiya 24
• davetesta22
• musti20045 20
• OhrlRock 1
• IndyKCrew
• AfreecaTV YouTube
• intothetv
• Kozan
• sooper7s
• LaughNgamezSOOP
• Migwel
StarCraft: Brood War
• HerbMon 17
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV669
Other Games
• imaqtpie1612
• Shiphtur296
Upcoming Events
PiGosaur Monday
2h 47m
OSC
1d 1h
The PondCast
1d 12h
OSC
1d 14h
Wardi Open
2 days
CranKy Ducklings
3 days
Safe House 2
3 days
Sparkling Tuna Cup
4 days
Safe House 2
4 days
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
EC S1
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.