File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes New in Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "New in Hibernate" Watch "New in Hibernate" New topic
Author

New in Hibernate

Sumit Bisht
Ranch Hand

Joined: Jul 02, 2008
Posts: 329

I am new in Hibernate development and am getting trouble in getting all required files in my maven repository.
Can anyone suggest me/give links to get a hibernate project up and running?
Do i need further tools/classpath settings/jarfiles ?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10069
    
163

Sumit,

I will move this to our ORM forum.


[My Blog] [JavaRanch Journal]
Cristian Vrabie
Ranch Hand

Joined: Jul 09, 2008
Posts: 71
Sumit, are you using hibernate directly with your project or are you using a IoC container like Spring?

If is just Hibernate you will probably need


If you use it with Spring you will need


On top of these you will also need a connection pool:
I use:


Then you will need to create a data source that uses the connection pool then inject it to hibernate. Spring helps a lot. You can do this in a few lines of xml. I suggest you have a look if you don't use it already.
Cristian Vrabie
Ranch Hand

Joined: Jul 09, 2008
Posts: 71
http://static.springframework.org/spring/docs/2.5.x/reference/index.html
http://static.springframework.org/spring/docs/2.5.x/reference/orm.html
 
jQuery in Action, 2nd edition
 
subject: New in Hibernate