Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes EJB and other Java EE Technologies and the fly likes XDOCLET issues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "XDOCLET issues" Watch "XDOCLET issues" New topic
Author

XDOCLET issues

anupa oru
Ranch Hand

Joined: Jan 15, 2005
Posts: 118
Hi Guys:

I have entity bean class with the XDOCLET comments

/**
* @ejb.pk class="java.lang.String"
* @ejb.transaction type="Required"
* @jboss.tuned-updates "true"
* @jboss.persistence create-table="true" remove-table="false" read-only="false"
* @jboss.container-configuration name="Instance Per Transaction CMP 2.x EntityBean"
* @jboss.persistence row-locking="true"
*/

If try to retrieve from my database sometimes it's not releasing record, some people are suggesting to make row-locking to false so record won't be held exclusively by one process. But this will cause dataintegrity problems also, Can you think of any other solutions to get rid of deadlocks.

Please let me know.
Thanks,
Anu
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XDOCLET issues
 
Similar Threads
CMP with JBoss
JBoss Primary Key Generation
How to get generated primary key value?
eql-ql
Problems while creating Jbosscmp-jdbc.xml file using Xdoclet