This is strange. Deletion should work as it always did. Are you seeing
other SQL logs, but not DELETE? Can you see the SQL generated for other
changes made during the same "commitChanges"? I mean could it be just a
log thing... I assume it's not, but still wanted to go through all
Another thing to check - could you print the value of
"theObject.getPersistenceState()" before and after commit changes?
On May 28, 2004, at 4:48 AM, Michael Schuldt wrote:
> I found the same problem in a former Thread but there was no further
> So here I start a new one:
> I'm trying to delete an object as I did many times before. But now a
> Application (Running in JRun4), a new Database (MSSQL) and Cayenne
> Everything works fine. I can create objects, read them, update them...
> But now I'm trying to delete an object. Quite similar to the many times
> before I'm using the removeFrom...-method and then "ctxt.deleteObject
> (theObject)" even followed by a "ctxt.commitChanges()". But in my
> there is nothing to see about a delete-call. Not even the smallest
> Any suggestions? On April, 1st Andrus answered nearly the same
> question. But
> I couldn't find any closer hints for a solution.
> Thx in advance
This archive was generated by hypermail 2.0.0 : Fri May 28 2004 - 10:15:13 EDT