[Hibernate] LockMode.UPGRADE

2006-02-21 Thread Steve Ebersole
The EJB3-persistence-spec requires that LockModeType.READ and LockModeType.WRITE acquire physical database update/exclusive locks for the duration of the current transaction. Currently we have mapped LockModeType.READ to LockMode.UPGRADE and LockModeType.WRITE to a new LockMode.FORCE (LockMode.FOR

[Hibernate] LockMode.UPGRADE doesn't work with Informix database

2005-01-27 Thread Hess Yvan
Hi, I have a kinds of counter that I have to increase and I am doing the following action: session = sf.openSession(); tx = session.beginTransaction(); DocNrCounterPJO counter = (DocNrCounterPJO ) aHibernateSession.get(DocNrCounterPJO .class, anId, aLockMode); counter.currentStatus++; // Do s

Re: [Hibernate] LockMode.UPGRADE doesn't work with Informix database

2005-01-27 Thread Max Rydahl Andersen
Asking user questions is in the user forum - asking it twice in development mailinglist will not give you a better answer ;) Thanks for your answer it is very critical. Yvan If its that critical for you then consider commercial support. /max ---