I think callbacks/listeners is the way to go
I'm assuming you're using 3.x
On Apr 14, 2010, at 8:28, Arnaud Garcia wrote:
> Hello,
>
> Is it possible to add default values using the modeler ?
>
> if not, the good way is to overide the setPersistenteState ?
>
> thanks,
>
> arnaud
>
> publ
on is whether it is even possible.
>>
>> I have read a little on Cayenne 3.0 and it sounds like it is more inline,
>> but the fact that it is not
>> stable is a little disconcerting to me since I am writing something that
>> will be in production before
>> it is even g
I am biased, but I find 3.0M6 quite stable.
Personally, I find the 'development' labeling on apache.org misleading.
It's way more solid than that. (We've had it in production for quite
some time - on large internet site.)
If you're starting from scratch - I would recommend 3.x
There's been a lo
Hey Bret -
Unless I'm missing - yes, this is right on the mark for cayenne.
If you have an existing database, the easiest is to create a new model
and use Tools -> Re-engineer Databae Schema, ie
http://cayenne.apache.org/doc/reverse-engineer-database.html
Note- I find there a few quirks in t
> Do poeple agree w/ me here?
yes.
On Mon, Feb 2, 2009 at 9:15 AM, Eric Lazarus wrote:
> I can't let this point(er) go buy: JUST SAY NO TO MEANINGFUL POINTERS!
>
> There are BIG problems with having meaningful primary keys in general in
> terms of keeping your program growing and useful long t
Here's some random feedback ..
I have the need for row counting here and there, so having support in cayenne
would be great.
Couple things ..
>int rowCount = new CountQuery(Artist.class).getCount();
I don't see how this works without a DC - ?
(Maybe I'm just missing something obvious ..)
And