• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 10:07
CET 16:07
KST 00:07
  • 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
RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
BGE Stara Zagora 2026 announced10[BSL21] Ro.16 Group Stage (C->B->A->D)4Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win3RSL Season 3: RO16 results & RO8 bracket13Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge2
StarCraft 2
General
BGE Stara Zagora 2026 announced SC: Evo Complete - Ranked Ladder OPEN ALPHA When will we find out if there are more tournament Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge
Tourneys
RSL Revival: Season 3 Constellation Cup - Main Event - Stellar Fest Tenacious Turtle Tussle [Alpha Pro Series] Nice vs Cure $5,000+ WardiTV 2025 Championship
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 501 Price of Progress Mutation # 500 Fright night Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death
Brood War
General
A cwal.gg Extension - Easily keep track of anyone BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion Which season is the best in ASL? soO on: FanTaSy's Potential Return to StarCraft
Tourneys
[Megathread] Daily Proleagues [BSL21] RO16 Group B - Sunday 21:00 CET [BSL21] RO16 Group C - Saturday 21:00 CET Small VOD Thread 2.0
Strategy
Game Theory for Starcraft How to stay on top of macro? Current Meta PvZ map balance
Other Games
General Games
Nintendo Switch Thread The Perfect Game Stormgate/Frost Giant Megathread Beyond All Reason Should offensive tower rushing be viable in RTS games?
Dota 2
Official 'what is Dota anymore' discussion
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
Mafia Game Mode Feedback/Ideas TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread The Big Programming Thread Things Aren’t Peaceful in Palestine Artificial Intelligence Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Where to ask questions and add stream? The Automated Ban List
Blogs
Esports Earnings: Bigger Pri…
TrAiDoS
Thanks for the RSL
Hildegard
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1622 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
Hyrule19162 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
WardiTV Korean Royale
12:00
Playoffs
Classic vs SolarLIVE!
Zoun vs Creator
WardiTV1030
TKL 299
IndyStarCraft 190
Rex131
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Lowko480
TKL 299
IndyStarCraft 190
Rex 131
StarCraft: Brood War
Britney 39614
Rain 3308
Larva 1056
Stork 846
Mini 825
ZerO 510
Rush 424
Soulkey 420
firebathero 404
BeSt 285
[ Show more ]
hero 270
PianO 170
Barracks 98
Hyun 98
sorry 64
Mong 63
Sharp 55
Backho 48
Leta 36
ToSsGirL 28
Aegong 25
scan(afreeca) 20
Rock 18
Terrorterran 13
IntoTheRainbow 12
Dota 2
Gorgc5027
singsing2625
XcaliburYe341
420jenkins217
febbydoto10
Counter-Strike
fl0m3402
zeus2278
Heroes of the Storm
Khaldor328
Liquid`Hasu51
Other Games
B2W.Neo1543
DeMusliM387
Happy290
Pyrionflax244
Fuzer 222
Mew2King166
ZerO(Twitch)28
Organizations
Other Games
EGCTV369
Dota 2
PGL Dota 2 - Main Stream208
Other Games
BasetradeTV72
StarCraft: Brood War
lovetv 8
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Michael_bg 1
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 8366
• Ler92
League of Legends
• Jankos2869
Upcoming Events
OSC
1h 53m
BSL 21
4h 53m
TerrOr vs Dewalt
Semih vs Tech
Sparkling Tuna Cup
18h 53m
WardiTV Korean Royale
20h 53m
TBD vs SHIN
TBD vs Reynor
TBD vs herO
BSL 21
1d 4h
Hawk vs Kyrie
spx vs Cross
Replay Cast
1d 8h
Wardi Open
1d 20h
Monday Night Weeklies
2 days
StarCraft2.fi
2 days
Replay Cast
2 days
[ Show More ]
Wardi Open
2 days
StarCraft2.fi
3 days
PiGosaur Monday
3 days
Wardi Open
3 days
StarCraft2.fi
4 days
Replay Cast
4 days
The PondCast
4 days
Replay Cast
5 days
Korean StarCraft League
6 days
CranKy Ducklings
6 days
SC Evo League
6 days
Liquipedia Results

Completed

SOOP Univ League 2025
RSL Revival: Season 3
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
CSCL: Masked Kings S3
Slon Tour Season 2
META Madness #9
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
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.