• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 00:21
CEST 06:21
KST 13:21
  • 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
Serral wins HomeStory Cup 2915Serral wins Maestros of the Game 243ByuL, and the Limitations of Standard Play3Team Liquid Map Contest #22: Results and Winners7Code S Season 2 (2026): RO4 and Finals Preview12
Community News
RSL goes to London! 2026 Offline Finals Nov 21-227Weekly Cups (July 27-Aug 2): SHIN's big week0SC4ALL II: Brood War - $2500 - Dec 5-69SC4ALL II announced - $10,000 prize pool, Dec 5-64PIG STY FESTIVAL 8.0! (13 - 23 August)14
StarCraft 2
General
Protoss AoE skill expression Balance hotfix patch 5.0.16b (July 16) Serral wins HomeStory Cup 29 StarCraft 2 at SC4ALL II Invite #4/8 - Percival 5.0.16 patch for SC2 goes live (8 worker start)
Tourneys
RSL goes to London! 2026 Offline Finals Nov 21-22 RSL Revival: Season 6 - Qualifiers and Main Event Sparkling Tuna Cup - Weekly Open Tournament PIG STY FESTIVAL 8.0! (13 - 23 August) Tasteless Time Warp: SC Evo Showmatch (May 25)
Strategy
[G] Having the right mentality to improve
Custom Maps
Nexus Wars 2021 GUIDE [M] (2) Industrial Park
External Content
Mutation # 538 Media Blackout The PondCast: SC2 News & Results Mutation # 537 Hostile Territory Mutation # 536 Railroad Switch
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ Are you ready for ASL 22? NEW HYPE VIDEO How FlaSh Nearly Forfeited MSL Finals being late BW General Discussion ASL22 General Discussion
Tourneys
2v2v2v2 Tournament KCM Race Survival 2026 Season 3 [Megathread] Daily Proleagues Escore Tournament - Season 3
Strategy
Odyssey Mineral Stack Saturation Any training maps people recommend? Fighting Spirit mining rates Simple Questions, Simple Answers
Other Games
General Games
Stormgate/Frost Giant Megathread General RTS Discussion Thread Nintendo Switch Thread Diablo 2 thread ZeroSpace Early Access is Now Live!
Dota 2
Looking for a Dota Mentor Official 'what is Dota anymore' discussion
League of Legends
[TL LoL EUW IHs] Teemo shall perish TSM pausing esports and CLG Dead
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Power Rank TL Mafia Community Thread NeO.D_StephenKing vs This Guy From 1 Million Dance
Community
General
US Politics Mega-thread BCA KCP Kramat Jaya 📞Telp|wa:0821-8171-891 Russo-Ukrainian War Thread Iain M Banks Says He Has Cancer And Months To Live European Politico-economics QA Mega-thread
Fan Clubs
MarineLorD Fan Club The ShoWTimE Fan Club The herO Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! Series you have seen recently... [Req][Books] Good Fantasy/SciFi books
Sports
NBA General Discussion Football (Soccer) Thread TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Simple Questions Simple Answers FPS when play League Of Legend on laptop
TL Community
The Automated Ban List Northern Ireland Global Starcraft
Blogs
Cathedral Of CS And NY pizza a…
FuDDx
Please support my new stand…
Peanutsc
What is a Gamer?
TrAiDoS
Hello guys!
LIN1s
ASL S22 English Commentary…
namkraft
Poker (part 2)
Nebuchad
Customize Sidebar...

Website Feedback

Closed Threads



Active: 4745 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
Hyrule19236 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
00:00
OSC Elite Rising Star #20
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
WinterStarcraft565
RuFF_SC2 218
NeuroSwarm 160
StarCraft: Brood War
Rain 3506
GuemChi 2486
Shuttle 2221
Leta 114
Noble 14
Icarus 1
Britney 0
Dota 2
LuMiX1
League of Legends
JimRising 648
Counter-Strike
summit1g8589
taco 403
Super Smash Bros
Mew2King125
Heroes of the Storm
Khaldor94
Organizations
Other Games
gamesdonequick763
[ Show 11 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Migwel
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Rush937
• Lourlo777
• Stunt283
Upcoming Events
WardiTV Weekly
6h 39m
The Patches Monday
11h 39m
Sparkling Tuna Cup
1d 5h
PiG Sty Festival
1d 7h
PiGosaur Cup
1d 19h
Replay Cast
2 days
Kung Fu Cup
2 days
Replay Cast
2 days
The PondCast
3 days
Replay Cast
3 days
[ Show More ]
CranKy Ducklings
5 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Proleague 2026-08-08
CranK Gathers Season 4: BW vs SC2 Team League
Eternal Conflict S2 Finale

Ongoing

KCM Race Survival 2026 Season 3
K-JUNGMAN
Acropolis #5
RSL Revival: Season 6
Esports World Cup 2026: LCQ
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2

Upcoming

Escore Tournament S3: W7
CSLAN 4
ASL Season 22
Escore Tournament S3: W8
Acropolis #5 - TRS
Blizzard Classic Cup 2026
Acropolis #5 - GSA
HSC XXX
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
PiG Sty Festival 8.0
Big Dog Cup 2026 Div 1
META DYMY #4
Thunderpick World Champ.
ESL Pro League Season 24
Stake Ranked Episode 4
Logitech G Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #5
BLAST Open Fall 2026
Esports World Cup 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.