• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 14:26
CEST 20:26
KST 03:26
  • 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
[ASL21] Ro4 Preview: On Course0Code S Season 1 - RO8 Preview7[ASL21] Ro8 Preview Pt2: Progenitors8Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun13[ASL21] Ro8 Preview Pt1: Inheritors16
Community News
Maestros of The Game 2 announcement and schedule !7Weekly Cups (April 27-May 4): Clem takes triple0RSL Revival: Season 5 - Qualifiers and Main Event12Code S Season 1 (2026) - RO12 Results12026 GSL Season 1 Qualifiers25
StarCraft 2
General
Code S Season 1 - RO8 Preview Behind the Blue - Team Liquid History Book Weekly Cups (April 27-May 4): Clem takes triple Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Code S Season 1 (2026) - RO12 Results
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament Sea Duckling Open (Global, Bronze-Diamond) Maestros of The Game 2 announcement and schedule ! GSL Code S Season 1 (2026) RSL Revival: Season 5 - Qualifiers and Main Event
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players
External Content
The PondCast: SC2 News & Results Mutation # 524 Death and Taxes Mutation # 523 Firewall Mutation # 522 Flip My Base
Brood War
General
Why there arent any 256x256 pro maps? Quality of life changes in BW that you will like ? RepMastered™: replay sharing and analyzer site BGH Auto Balance -> http://bghmmr.eu/ [ASL21] Ro4 Preview: On Course
Tourneys
[BSL22] RO16 Group Stage - 02 - 10 May [ASL21] Ro8 Day 3 [Megathread] Daily Proleagues [ASL21] Ro8 Day 4
Strategy
Fighting Spirit mining rates Simple Questions, Simple Answers Muta micro map competition What's the deal with APM & what's its true value
Other Games
General Games
Warcraft III: The Frozen Throne Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread Daigo vs Menard Best of 10
Dota 2
The Story of Wings Gaming
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
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread The Letting Off Steam Thread European Politico-economics QA Mega-thread UK Politics Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [Req][Books] Good Fantasy/SciFi books
Sports
2024 - 2026 Football Thread McBoner: A hockey love story Formula 1 Discussion
World Cup 2022
Tech Support
streaming software Strange computer issues (software) [G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
How EEG Data Can Predict Gam…
TrAiDoS
ramps on octagon
StaticNine
Funny Nicknames
LUCKY_NOOB
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1624 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
Hyrule19210 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
Next event in 34m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
IndyStarCraft 208
Railgan 112
BRAT_OK 87
JuggernautJason78
MindelVK 25
StarCraft: Brood War
Bonyth 110
Dewaltoss 50
EG.Machine 15
Dota 2
Gorgc6167
XaKoH 501
Counter-Strike
fl0m2480
Heroes of the Storm
Khaldor436
Liquid`Hasu328
Other Games
gofns13880
Grubby4188
FrodaN2642
singsing2124
Liquid`RaSZi1864
B2W.Neo637
Beastyqt606
monkeys_forever225
Hui .192
420jenkins176
ArmadaUGS115
syndereN89
mouzStarbuck69
ODPixel62
BananaSlamJamma54
Pyrionflax4
Organizations
Other Games
gamesdonequick2204
StarCraft 2
WardiTV1178
angryscii 23
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 15 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• 80smullet 7
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV603
League of Legends
• Jankos2283
• imaqtpie1715
Other Games
• Shiphtur310
Upcoming Events
BSL
34m
Dewalt vs DragOn
Aether vs Jimin
GSL
13h 34m
Afreeca Starleague
15h 34m
Soma vs Leta
Wardi Open
17h 34m
Monday Night Weeklies
21h 34m
OSC
1d 5h
CranKy Ducklings
1d 15h
Afreeca Starleague
1d 15h
Light vs Flash
Replay Cast
2 days
Replay Cast
3 days
[ Show More ]
The PondCast
3 days
Replay Cast
4 days
RSL Revival
4 days
Korean StarCraft League
5 days
RSL Revival
5 days
BSL
6 days
GSL
6 days
Cure vs TBD
TBD vs Maru
Liquipedia Results

Completed

Escore Tournament S2: W6
WardiTV TLMC #16
Nations Cup 2026

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
IPSL Spring 2026
KCM Race Survival 2026 Season 2
Acropolis #4
KK 2v2 League Season 1
BSL 22 Non-Korean Championship
SCTL 2026 Spring
RSL Revival: Season 5
2026 GSL S1
PGL Astana 2026
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2

Upcoming

YSL S3
Escore Tournament S2: W7
Escore Tournament S2: W8
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
2026 GSL S2
BLAST Bounty Summer 2026: Closed Qualifier
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
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 © 2026 TLnet. All Rights Reserved.