Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

On what Transaction Type the code can be reliable  RSS feed

 
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.

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!