These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 
Author Message
 Post subject: question about following new user's road map
PostPosted: Sat Aug 27, 2005 3:40 am 
Newbie

Joined: Sat Aug 27, 2005 3:29 am
Posts: 4
I am trying to follow the road map for new users and am having trouble. The roadmap says: place your JDBC driver jar file in the lib directory

What is the name of the JDBC driver jar file and where would I find it? Somewhere in the developer's kit?

Sorry if this sounds like a dumb question but I am a beginner and I really don't know the answer.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 27, 2005 3:45 am 
Expert
Expert

Joined: Mon Jul 04, 2005 5:19 pm
Posts: 720
The JDBC driver jar file is specific to whatever database vendor/Java version/database version you are using. If you were using Postgres 8.0 w/ Java 5, it would be named postgresql-8.0-312.jdbc2.jar . By the way, I think you posted the question twice.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 27, 2005 8:09 am 
Expert
Expert

Joined: Thu Dec 04, 2003 12:36 pm
Posts: 275
Location: Bielefeld, Germany
Which database are you using?

For MySQL you could use MySQL Connector/J 3.1, which can be downloaded here:
http://dev.mysql.com/downloads/connector/j/3.1.html

Best regards
Sven

_________________
Please don't forget to give credit, if this posting helped to solve your problem.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 27, 2005 11:14 am 
Newbie

Joined: Sat Aug 27, 2005 3:29 am
Posts: 4
I thought I was using Hibernate as my database. I thought that was the whole point of downloading this package. Am I mis-informed?

The Java version I'm usning is the one I downloaded with jdk1.5._04.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 27, 2005 11:30 am 
Expert
Expert

Joined: Mon Jul 04, 2005 5:19 pm
Posts: 720
Hibernate is not a database, it's a bridge to the database.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 27, 2005 11:35 am 
Senior
Senior

Joined: Wed Jul 13, 2005 4:31 pm
Posts: 142
Location: Seattle, WA
Hibernate is the layer that converts data from the relational representation in the database to object representation for using within java code.
It accesses and updates the database tables that contain the data.
So, yes, you must use a database.
If you are looking for open-source database, try MySQL - http://www.mysql.com/
or Derby - http://db.apache.org/derby/


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 27, 2005 12:56 pm 
Newbie

Joined: Sat Aug 27, 2005 3:29 am
Posts: 4
Now I am confused. I am looking for something I can use to store, retrieve, and manipulate data in a database form (my experience is with the native database on IBM's AS/400 ot Iseries midrange computer). I have a basic understanding of Java and wanted to start using Java to accomplish the specific task of retrieving the data in the form of hand historys that you get from online Poker sites, and then organizing this data for analysis and presention in GUI form.

Mainly just a project that will help me gain experience in programming with Java, and help in my efforts to to gain skills outside of the dying niche I'm in, the IBM midrange world.

I was told by a Java programmer I know that Hibernate is a free database product I could use.

So am I correct in saying that Hibernate is not this, is not something like Access or DB2, but is more like SQL in that it is used to retrieve and manipulate the database? If so, isn't all this contained withing Java itself already?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 27, 2005 1:01 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
http://www.hibernate.org/hib_docs/v3/re ... orial.html


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 27, 2005 1:49 pm 
Newbie

Joined: Sat Aug 27, 2005 3:29 am
Posts: 4
Thank You. I will go through this tutorial and get back to you. One quick question, though. The tutorial says to take files like antlr.jar and cglib-full.jar and place them in your working directory. I have ant-1.6.2.jar and cglib-2.1.jar in the lib dir tht came with hibernate.

These are the same thing, right?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.