axxhj7m
-Original Message-
From: Michael Shea [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 19, 2008 6:11 PM
To: user@cayenne.apache.org
Subject: Order of commits?
Hi guys -
I am wondering if there is any way to tell cayenne what order to commit
new objects in.
My issue is basica
The problem is likely in the mapping. At the minimum you'll need to
check that PK Generation Strategy is set to "Database-Generated" to
all entities in question.
Andrus
On Nov 20, 2008, at 1:10 AM, Michael Shea wrote:
Hi guys -
I am wondering if there is any way to tell cayenne what order
Hi guys -
I am wondering if there is any way to tell cayenne what order to commit
new objects in.
My issue is basically like this:
Suppose I have Category objects and Item objects.
A user can pass in a CategoryDescriptor, which contains a list of
ItemDescriptors. I want cayenne to generate,
Yeah, EntitySorter is the only one, but it doesn't change basic
algorithm of insert -> update -> delete. Jan, if you could explain
what are you trying to accomplish, there may be another solution.
Andrus
On Aug 21, 2007, at 5:53 PM, Mike Kienenberger wrote:
Looks like the query order is d
Looks like the query order is defined here:
org.objectstyle.cayenne.access.DataDomainFlushAction.preprocess(DataContext
context)
I don't see any user-interceptable hooks here yet.
A place that might make sense is in
org.objectstyle.cayenne.access.DataDomainFlushAction.flush() after
preprocess()
Hey Folks,
is it somehow possible to fire the different statements in a specific order?
It would be necessary to delete before insert... any solution herefor?
TIA!
Jan
_
Sie suchen E-Mails, Dokumente oder Fotos? Die neue MSN Suc