Re: Problems deleting records
Re: Problems deleting records
- Subject: Re: Problems deleting records
- From: Ray Ackland <email@hidden>
- Date: Tue, 30 Mar 2004 13:46:24 +1200
Greg,
It looks like it is successfully deleting the record, and then tries to
delete it again. I'm guessing at the causes, but in EOModeler would you
have defined your relationship to cascade delete from albums, or
something along those lines?
r.
On 30/03/2004, at 13:05, Greg Hulands wrote:
[2004-03-30 10:58:17 EST] <WorkerThread2> === Begin Internal
Transaction
[2004-03-30 10:58:17 EST] <WorkerThread2> evaluateExpression:
<com.webobjects.jdbcadaptor.PostgresqlExpression: "DELETE FROM
ClientImage WHERE (imageID = ? AND albumID = ? AND filename = ? AND
annotation is NULL AND thumbnail = ? AND preview = ? AND print = ? AND
path = ? AND width = ? AND height = ?)" withBindings: 1:1(imageID),
2:1(albumID), 3:"01.jpg"(filename),
4:"b82701c2-1641-47f5-a...f08-7775fa442158.jpg"(thumbnail),
5:"b82701c2-1641-47f5-a...157-c9681fe03877.jpg"(preview),
6:"b82701c2-1641-47f5-a...206-50aa20adfcbc.jpg"(print),
7:"/Library/WebServer/D...nts/LightBox/Images/"(path), 8:2224(width),
9:3348(height)>
[2004-03-30 10:58:17 EST] <WorkerThread2> 1 row(s) deleted
[2004-03-30 10:58:17 EST] <WorkerThread2> evaluateExpression:
<com.webobjects.jdbcadaptor.PostgresqlExpression: "DELETE FROM Album
WHERE (albumID = ? AND annotation is NULL AND expiry = ? AND clientID =
? AND password is NULL AND themeID = ? AND title = ? AND type = ? AND
iconID = ? AND parentID is NULL)" withBindings: 1:1(albumID),
2:2004-03-30 10:21:57(expiry), 3:1(clientid), 4:8(themeID),
5:"Holidays"(title), 6:2(type), 7:1.0(iconID)>
[2004-03-30 10:58:17 EST] <WorkerThread2> 0 row(s) deleted
[2004-03-30 10:58:17 EST] <WorkerThread2> === Rollback Internal
Transaction
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.