[Logo]
Forums Register Login
Connecting Spring and Hibernate
Hi,
i want to know how to connect spring and hibernate. i have gone through some tutorials... but still have some problems with connecting to the database and executing sql queries..... please help me!
thanks!!!
What error you're getting. Please be precise while posting. Details like what error you got, in which code, etc will be posted here so that its easy for us to help you.

Also do read the Spring Documentation here. It'll clearly explains the Spring MVC and connectivity with ORM technologies like Hibernate, iBATIS etc.

It is more than enough to start with Spring and Hibernate........
Hi Rajkumar ,
Thanks a lot for your link. Actually, i solved my problem. It was something wrong with jar files. And next time, i will make sure that i will post with the error code.
Do you have some sample code for connecting EJB3 and spring, please tell me.

regards,
Inshar
^^

Why you want to connect EJB3 with Spring???
Its an assignment (basically a CRUD application), where I have to use EJB, Spring and Hibernate and create my own framework. So, I need to work on that. I know that its pretty much easier with JPA and without spring.....
Do you have any suggestions for me???
 
Inshar Anas wrote:Its an assignment (basically a CRUD application), where I have to use EJB, Spring and Hibernate and create my own framework. So, I need to work on that. I know that its pretty much easier with JPA and without spring.....
Do you have any suggestions for me???


For a Basic CRUD Application using Spring 3 and Hibernate, you better visit my blog. I had written a tutorial which tells you how simple it is to play with Spring 3.
Thanks a lot dude!
take care!
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards



All times above are in ranch (not your local) time.
The current ranch time is
Nov 17, 2017 13:01:48.