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.

Aloha,
Art

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to