Re: [Hibernate] reveng optimistic locking

2005-12-14 Thread Emmanuel Bernard
Can(t you write a pluggable guess strategy, like the namingstrategy but for guessing. This open the doors for martian models Max Rydahl Andersen wrote: Hi, One caveat with reveng to the seam app is that we dont currently have support for detecting optimistic locking for the generated

Re: [Hibernate] reveng optimistic locking

2005-12-14 Thread Max Rydahl Andersen
Can(t you write a pluggable guess strategy, like the namingstrategy but for guessing. This open the doors for martian models Sure and that is also my intention (done with everything else that implies guessing in reveng). The question is more if it should be default and if yes, what is a

RE: [Hibernate] reveng optimistic locking

2005-12-14 Thread Gavin King
Why would it break Seam?? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Max Rydahl Andersen Sent: Thursday, December 15, 2005 1:59 AM To: Hibernate development Subject: [Hibernate] reveng optimistic locking Hi, One caveat with reveng to the seam app

RE: [Hibernate] reveng optimistic locking

2005-12-14 Thread Gavin King
I say just let the user specify the column name they use for versions... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Bernard Sent: Thursday, December 15, 2005 2:19 AM To: Max Andersen Cc: Hibernate development Subject: Re: [Hibernate] reveng

Re: [Hibernate] reveng optimistic locking

2005-12-14 Thread Max Rydahl Andersen
On Wed, 14 Dec 2005 20:29:13 +0100, Gavin King [EMAIL PROTECTED] wrote: Why would it break Seam?? I didn't say it would break Seam, i'm saying that the logic used when doing long conversations kinda requires optimistic locking to work well, right ? /max -Original Message-

RE: [Hibernate] reveng optimistic locking

2005-12-14 Thread Gavin King
Sure, any app that has conversations requires it. This is not in any way Seam-specific... -Original Message- From: Max Andersen Sent: Thursday, December 15, 2005 6:37 AM To: Gavin King; Hibernate development Subject: Re: [Hibernate] reveng optimistic locking On Wed, 14 Dec 2005 20:29

Re: [Hibernate] reveng optimistic locking

2005-12-14 Thread Max Rydahl Andersen
to make the seam reveng work well... /max -Original Message- From: Max Andersen Sent: Thursday, December 15, 2005 6:37 AM To: Gavin King; Hibernate development Subject: Re: [Hibernate] reveng optimistic locking On Wed, 14 Dec 2005 20:29:13 +0100, Gavin King [EMAIL PROTECTED] wrote: Why