• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Database non updating
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

Aloha,
Art

 _______________________________________________
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

References: 
 >OPENBASE and Deadlocks (From: Andrew Lindesay <email@hidden>)
 >Re: OPENBASE and Deadlocks (From: Scott Keith <email@hidden>)
 >Database non updating (From: Amedeo Mantica <email@hidden>)

  • Prev by Date: Re: jtds problems
  • Next by Date: Re: Database non updating
  • Previous by thread: Database non updating
  • Next by thread: Re: Database non updating
  • Index(es):
    • Date
    • Thread