I’m using Glassfish in production and OpenEJB in testing. I’m using JPA 1.0. I’m using Hibernate, but no specific Hibernate features, just standard JPA.
Hibernate is redundant in this collection and should be removed, am I right?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Both OpenEJB and Glassfish deliver a JPA implementation. So in order to run you’re application you don’t need hibernate.
But, JPA implementation can and do behave differently in certain corner cases. Thus there is no 100% guarantee your application will be running correctly in production if you don’t run you’re application during tests with the same JPA implementation.