• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting transaction

 
Amandeep Singh
Ranch Hand
Posts: 850
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does calling this method EntityTransaction et = em.getTransaction();

means that we are getting the only the current active transaction if it exists or not.

I mean to say if the transaction does not exist. what will be returned on calling this method.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic