[JBoss-user] [Persistence & CMP/JBoss] - Re: Optimistic Locking with Timestamp in 3.2.5 having issues

2004-12-21 Thread jvembuna
Hi, Thanks for your speedy response. I will verify the same with 3.2.6 Regards, V.Janardhanan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859404#3859404 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859404 ---

[JBoss-user] [Persistence & CMP/JBoss] - Re: Optimistic Locking with Timestamp in 3.2.5 having issues

2004-12-21 Thread [EMAIL PROTECTED]
The link you posted as a testcase describes expected behaviour. The 'is null' issue might be fixed in 3.2.6. I remember I fixed something like this once. Sorry, I don't have much time to investigate this. Please, try the latest JBoss release (3.2.6), write a simple testcase that shows the problem

[JBoss-user] [Persistence & CMP/JBoss] - Re: Optimistic Locking with Timestamp in 3.2.5 having issues

2004-12-20 Thread jvembuna
Hi, I found a small issue with the optimistic container. Unless we call the getLastUpdateDate() the container is adding the where clause as null. i.e. //Group table has a CMR to users table Collection c = grouplocal.getUsers(); Iterator i = c.iterator(); while(i.hasNext()) { UserLocal user

[JBoss-user] [Persistence & CMP/JBoss] - Re: Optimistic Locking with Timestamp in 3.2.5 having issues

2004-12-20 Thread jvembuna
Hi, Thanks for your quick response. The scenario is same as given in the issue http://www.jboss.org/index.html?module=bb&op=viewtopic&t=57794. The reading and writing of data are happening in two different transactions. Hence the container takes what is there currently in the database(timest

[JBoss-user] [Persistence & CMP/JBoss] - Re: Optimistic Locking with Timestamp in 3.2.5 having issues

2004-12-16 Thread [EMAIL PROTECTED]
That looks ok. Maybe the problem is 'JBoss.xml'. Try 'jboss.xml' instead. Also, fyi, JDBCOptimisticLock is deprecated since after 3.2.2 it does nothing. You can use just IPT container as is instead. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858818#3858818

[JBoss-user] [Persistence & CMP/JBoss] - Re: Optimistic Locking with Timestamp in 3.2.5 having issues

2004-12-15 Thread jvembuna
Hi, We are using the 'Optimistic Container'. In the JBoss.xml we have the following entry Optimistic Container org.jboss.ejb.plugins.lock.JDBCOptimisticLock and all the entity beans is having the following line. Businesstype BusinesstypeLoc

[JBoss-user] [Persistence & CMP/JBoss] - Re: Optimistic Locking with Timestamp in 3.2.5 having issues

2004-12-10 Thread [EMAIL PROTECTED]
What container configuration are you using? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858212#3858212 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858212 --- S

[JBoss-user] [Persistence & CMP/JBoss] - Re: Optimistic Locking with Timestamp in 3.2.5 having issues

2004-12-09 Thread jvembuna
Hi, We are having an update web page where the data from Customers table is displayed to the user. We are using valueobjects to transfer the data to the web tier. There are 2 clients Client 1 Client 2 -

[JBoss-user] [Persistence & CMP/JBoss] - Re: Optimistic Locking with Timestamp in 3.2.5 having issues

2004-11-30 Thread [EMAIL PROTECTED]
What SQL statements are executed? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3856999#3856999 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3856999 --- SF email is