[ANN] Cayenne 1.2.4/2.0.4 released

2007-10-12 Thread Andrus Adamchik
I am glad to announce a new release from the stable branches. Upgrade is recommended, as the new release contains some important fixes, including some runtime race conditions. More details can be found here: http://cayenne.apache.org/2007/10/12/october-12-2007-cayenne-204- and-124-released

[ANN] Cayenne support is available now in JPublish too

2007-10-12 Thread Florin T.PATRASCU
Hi there, We just added Cayenne support to our Java web framework called JPublish (http://code.google.com/p/jpublish/) The implementation is very simple and efficient, a JPublish module and a lot of valuable info from Cayenne's user list. The Click framework was also used as a very good e

Re: Lifecycle Callbacks!

2007-10-12 Thread Gary Jarrel
Thank you Andrus, good to know I wasn't going mad! I've come across a post on this list which mentioned enabling callbacks and referred to the chapter at the end of the Lifecycle Callback user guide called "Enabling Callbacks" but when I was looking through the guide I could not see it :) Thanks a

Re: Mistake in null-handling doc?

2007-10-12 Thread Andrus Adamchik
Good catch. I just fixed that. It will take some time to propagate to the site though. Thanks Andrus On Oct 12, 2007, at 9:15 PM, Robert Zeigler wrote: http://cayenne.apache.org/doc/null-handling.html Gives the following example: Expression exp = ExpressionFactory.noMatchExp("birthDate",nu

Mistake in null-handling doc?

2007-10-12 Thread Robert Zeigler
http://cayenne.apache.org/doc/null-handling.html Gives the following example: Expression exp = ExpressionFactory.noMatchExp("birthDate",null); And says that a sql string similar to the following will be generated: ... WHERE t0.BIRTH_DATE IS NULL; Shouldn't that be: WHERE t0.BIRTH_DATE IS NOT

Re: Lifecycle Callbacks!

2007-10-12 Thread Andrus Adamchik
Hi Gary, You are likely using 3.0M1 that requires explicit enabling of the listeners for the DataContext. Check out "Lifecycle Callbacks" chapter ("Enabling Callbacks" subchapter) of the Cayenne Guide included with the release for the examples. 3.0M2 that will hopefully be released soon d

Lifecycle Callbacks!

2007-10-12 Thread Gary Jarrel
Hi Guys! I've just delved into using lifecycle callbacks for the first time, and I can't seem to get my call back to fire in what seems to be a relatively simple code: LifecycleCallbackRegistry registry = context.getEntityResolver() .getCallbackRegistry(); Lifecycl