• +91 9723535972
  • info@interviewmaterial.com

Hibernate Interview Questions and Answers

Question - How do I use Hibernate in an EJB 2.1 session bean?

Answer - 1. Look up the SessionFactory in JNDI. 2. Call getCurrentSession() to get a Session for the current transaction. 3. Do your work. 4. Don't commit or close anything, let the container manage the transaction.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners