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

JPA and MultiThreading

 
Babu Mehrunnesa
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Am developing an application through JPA. Please take a look into the
code I have sent along with this post
. I have copied few methods into the
class, where am using javax.persistence api to save & update data to DB.

But right now my code supports only single Thread. I need to support the
multiple threads. I googled it, but did't find much. Could you guys pl help
me out in changing my code to support multiple threads.
Do I need to go for synchronization or any thing that is appropriate.
Am using application managed entityManager
We need to consider the PERFORMANCE factor .
[/color]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic