Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RAD 7.5 and Hibernate

 
Gökhan Sakalli
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi we have a big project and we use JDBC to connect to our databases.

I'm given a task to use hibernate connection and doing a job that we used to do using jdbc.
Which version of hibernate will i need to use and what steps will i take?
I know configuration files but i don't know how to define my hibernate-cfg.xml using datasources defined in RAD.
i won't use connection user name or password, i must use a datasource which the connection name and password is defined in.
I did connect using eclipse and tomcat at home but RAD seems to be hard for me.

Can I use hibernate 3 and which other jar files do i need?

 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Which version of hibernate will i need to use and what steps will i take?

The latest? The Hibernate documentation details what you need to do.


i won't use connection user name or password, i must use a datasource which the connection name and password is defined in.
I did connect using eclipse and tomcat at home but RAD seems to be hard for me

You should just be able to look up the DataSource. Its no different in RAD (which, after all, is just eclipse)


Can I use hibernate 3 and which other jar files do i need?

Not sure I follow why you would use any other version than v3. The documentation detail the installation instructions.
 
Gökhan Sakalli
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you. i can now run a select example on RAD.

But i use hibernate 2 and i want to use hibernate 3 and we have jdk 1.4
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic