This week's book giveaway is in the Performance forum. We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line! See this thread for details.
The advantage of using an EntityManager is that it doesn't tie Spring to Hibernate. EntityManager is used in JPA, which means that any JPA container (Hibernate, Toplink...) can be used for persistence.
as we know, if we use EntityManager we have to use the persistence.xml..
where do we have to put the persistence.xml?..
is it on OurApplication/WEB-INF/classes/META-INF ?
or is it on OurApplication/META-INF ?
Thanks in advance..
Sorry, perhaps my english language isn't too good.. Prepare for SCJP 6, Please God help me.. ☼
References : [Java.Boot] [JavaChamp] [JavaPrepare]