I can't find any example so I'm starting to doubt whether it is possible or not... But I was asked to build a webapp with both of them...
Yes. Its possible.. Please check the below link http://www.techbits.de/2006/04/17/ejb3-persistence-with-hibernate
In short - yes, it's possible.
You can configure hibernate as a entity manager for EJB 3.0.
The configuration takes place in persistence.xml
file. Here is a link to documentation
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With