• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 11:06
CEST 17:06
KST 00:06
  • 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 EWC 202543Tournament Spotlight: FEL Cracow 202510Power Rank - Esports World Cup 202580RSL Season 1 - Final Week9[ASL19] Finals Recap: Standing Tall15
Community News
Weekly Cups (Jul 28-Aug 3): herO doubles up6LiuLi Cup - August 2025 Tournaments3[BSL 2025] H2 - Team Wars, Weeklies & SB Ladder10EWC 2025 - Replay Pack4Google Play ASL (Season 20) Announced58
StarCraft 2
General
Weekly Cups (Jul 28-Aug 3): herO doubles up Clem Interview: "PvT is a bit insane right now" Serral wins EWC 2025 TL Team Map Contest #5: Presented by Monster Energy Would you prefer the game to be balanced around top-tier pro level or average pro level?
Tourneys
Global Tourney for College Students in September Sparkling Tuna Cup - Weekly Open Tournament WardiTV Mondays $5,000 WardiTV Summer Championship 2025 LiuLi Cup - August 2025 Tournaments
Strategy
Custom Maps
External Content
Mutation # 485 Death from Below Mutation # 484 Magnetic Pull Mutation #239 Bad Weather Mutation # 483 Kill Bot Wars
Brood War
General
BW General Discussion Help, I can't log into staredit.net How do the new Battle.net ranks translate? Which top zerg/toss will fail in qualifiers? Google Play ASL (Season 20) Announced
Tourneys
[CSLPRO] It's CSLAN Season! - Last Chance [Megathread] Daily Proleagues [ASL20] Online Qualifiers Day 2 Cosmonarchy Pro Showmatches
Strategy
Simple Questions, Simple Answers [G] Mineral Boosting Muta micro map competition Does 1 second matter in StarCraft?
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Total Annihilation Server - TAForever Beyond All Reason [MMORPG] Tree of Savior (Successor of Ragnarok)
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
European Politico-economics QA Mega-thread US Politics Mega-thread Things Aren’t Peaceful in Palestine Bitcoin discussion thread 9/11 Anniversary
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread [\m/] Heavy Metal Thread Korean Music Discussion
Sports
2024 - 2025 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Gtx660 graphics card replacement Installation of Windows 10 suck at "just a moment" Computer Build, Upgrade & Buying Resource Thread
TL Community
TeamLiquid Team Shirt On Sale The Automated Ban List
Blogs
[Girl blog} My fema…
artosisisthebest
Sharpening the Filtration…
frozenclaw
ASL S20 English Commentary…
namkraft
The Link Between Fitness and…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
Customize Sidebar...

Website Feedback

Closed Threads



Active: 840 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
Hyrule19057 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
Jollibee19347 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
Stormgate Nexus
14:00
Stormgate Launch Days
BeoMulf221
TKL 194
IndyStarCraft 179
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Reynor 360
SpeCial 81
StarCraft: Brood War
Britney 50665
Bisu 3971
Shuttle 2425
Mini 930
Soulkey 575
ggaemo 463
Snow 365
actioN 350
ZerO 277
Soma 221
[ Show more ]
Hyuk 197
sSak 157
Leta 91
ToSsGirL 76
sorry 74
Nal_rA 57
Sharp 56
Aegong 40
soO 39
[sc1f]eonzerg 33
sas.Sziky 29
zelot 27
scan(afreeca) 20
Rock 17
ajuk12(nOOB) 17
Sacsri 16
Terrorterran 13
Backho 12
IntoTheRainbow 10
SilentControl 9
JulyZerg 8
ivOry 4
Stormgate
BeoMulf221
TKL 194
IndyStarCraft 179
Dota 2
Gorgc5777
Dendi1606
XcaliburYe381
Counter-Strike
pashabiceps504
flusha368
byalli292
kRYSTAL_56
Heroes of the Storm
XaKoH 112
Other Games
gofns1900
hiko891
Beastyqt480
crisheroes383
KnowMe370
Hui .365
RotterdaM261
DeMusliM253
Fuzer 212
ArmadaUGS92
QueenE71
ZerO(Twitch)18
Trikslyr14
Organizations
StarCraft 2
WardiTV1060
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• StrangeGG 84
• poizon28 23
• davetesta16
• Kozan
• AfreecaTV YouTube
• intothetv
• sooper7s
• IndyKCrew
• LaughNgamezSOOP
• Migwel
StarCraft: Brood War
• FirePhoenix10
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV791
League of Legends
• Nemesis2797
• Jankos1054
Upcoming Events
uThermal 2v2 Circuit
54m
DaveTesta Events
8h 54m
The PondCast
18h 54m
WardiTV Summer Champion…
19h 54m
Replay Cast
1d 8h
LiuLi Cup
1d 19h
uThermal 2v2 Circuit
1d 23h
RSL Revival
2 days
RSL Revival
2 days
uThermal 2v2 Circuit
2 days
[ Show More ]
CSO Cup
3 days
Sparkling Tuna Cup
3 days
uThermal 2v2 Circuit
3 days
Wardi Open
4 days
RotterdaM Event
5 days
RSL Revival
6 days
Liquipedia Results

Completed

ASL Season 20: Qualifier #2
FEL Cracow 2025
CC Div. A S7

Ongoing

Copa Latinoamericana 4
Jiahua Invitational
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
HCC Europe
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025

Upcoming

ASL Season 20
CSLPRO Chat StarLAN 3
BSL Season 21
BSL 21 Team A
RSL Revival: Season 2
Maestros of the Game
SEL Season 2 Championship
WardiTV Summer 2025
uThermal 2v2 Main Event
Thunderpick World Champ.
MESA Nomadic Masters Fall
CS Asia Championships 2025
Roobet Cup 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
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.