• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

New in Hibernate

 
Sumit Bisht
Ranch Hand
Posts: 331
Python Ruby Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sumit,

I will move this to our ORM forum.
 
Cristian Vrabie
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic