Re: Database non updating
Re: Database non updating
- Subject: Re: Database non updating
- From: Art Isbell <email@hidden>
- Date: Thu, 18 Jan 2007 08:16:08 -1000
On Jan 18, 2007, at 1:00 AM, Amedeo Mantica wrote: ec.saveChanges(); //ABSOLUTELY DON'T WORK ! RECORD ARE NOT UPDATED
Have you stepped through your code in the debugger to ensure that the above statement is executed?
saveChanges() should be in a try-catch block because it can throw a number of exceptions that indicate a save failure.
Have you turned on SQL debugging (-DEOAdaptorDebugEnabled=true) to see what SQL is being sent to the DB? Now I'm thinking on a workaround based on direct SQL command, but I would like to know why this is not working.
There should be no need to use SQL directly; there must be a simple explanation why this isn't working with a reasonable solution.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden