> Also, Cayenne caches 20 PKs (by default), but it increments them by 1
> until the cache is exhausted and then it gets more PKs. If you are
> seeing increments by 20, it sounds like you are starting and stopping
> your application repeatedly (say, while developing).
Exactly, but because of the nature of the application this repeated restart
is also a requirement, (so it happens in production too).
There is a front application that restarts on demand several backend applications
that are all *isolated* and have their own DB (thus isolated ORMs too).
> Cayenne doesn't
> return unused PKs when an application terminates, so you'd essential
> "blow" those PKs.
IMHO *this* problem should be solved. This way Cayenne would behave like one expects.
Thanks in advance,
Ahmed.
This archive was generated by hypermail 2.0.0 : Mon Jan 02 2006 - 09:34:55 EST