Re: How to support previous non-spec behavior compatibility

2009-03-10 Thread Michael Dick
Hi Donald, The org.apache.openjpa.conf.Compatibility class is the best place to put these options. The compatibility instance can be configured like any other openjpa property ie : Just add the apropriate instance variable and get/set methods and you should be fine. HTH -mike On Mon, Mar 9,

How to support previous non-spec behavior compatibility

2009-03-09 Thread Donald Woods
In looking at adding query timeout support for JPA 2.0, I've discovered that the existing lock manager code is using setQueryTimeout() for the locks, instead of using the server-side methods (like for DB2 "SET LOCK TIMEOUT ".) What is the suggested way of creating a "compatibility" mode, so us