aspose file tools
The moose likes Object Relational Mapping and the fly likes New in Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply Bookmark "New in Hibernate" Watch "New in Hibernate" New topic
Author

New in Hibernate

Sumit Bisht
Ranch Hand

Joined: Jul 02, 2008
Posts: 310

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: 8210
    
  71

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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: New in Hibernate
 
Similar Threads
hibernate tutorial
Hibernate
hybernate
what is the default location of hibernate.cfg.xml
hibernate annotations jar file in hibernate 4