RE: [Hibernate] Please check out the new locking API

2002-10-02 Thread Boring, Jeff W, ALBAS
>> Do you think thats better? I don't really... Anyway, we shouldn't take ODMG as a good model. The ODMG API is an API for OO databases, not for OR mappers and so its somewhat badly adapted to the task at hand. You can't do this: database.lookup("name", Transaction.UPGRADE) using the ODMG API

RE: [Hibernate] Please check out the new locking API

2002-10-02 Thread Boring, Jeff W, ALBAS
EMAIL PROTECTED] Sent: Wednesday, October 02, 2002 2:42 AM To: hibernate list Subject: [Hibernate] Please check out the new locking API Could people do me a favor + check out the new locking API and let me know what they think. 'Cos if no-one else has any very strong opinions on this stuff, I m

RE: [Hibernate] Please check out the new locking API

2002-10-02 Thread Anton van Straaten
The locking API looks fine to me, although I'm no expert on locking strategies. One thing which did occur to me: might it make sense to have either a session-wide and/or transaction-wide locking setting, e.g. to support something like: session.setLockMode( LockMode.NONE ); ..that affects

[Hibernate] Please check out the new locking API

2002-10-02 Thread Gavin King
Could people do me a favor + check out the new locking API and let me know what they think. 'Cos if no-one else has any very strong opinions on this stuff, I might as well release it in the next version. TIA Gavin --- This sf.net email is spo