Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

On what Transaction Type the code can be reliable

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi


I am using JPA for doing CRUD Operations for my spatial Data

Please tell me if i get any advantage if i using EJB Container Manged Transaction suppourt as for my insert and update operations .

rather than going for EntityTransaction Suppourt as

 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its up to you to decide where your transaction boundaries should be based on the logic your application is required to support.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very very much . I got your point .

The insertion and updation are dependent on other insertions so i think it is better to go for EJB Transaction Suppourt.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic