• 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: Can't modify EO objects! ARGH! =(
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't modify EO objects! ARGH! =(


  • Subject: Re: Can't modify EO objects! ARGH! =(
  • From: Art Isbell <email@hidden>
  • Date: Thu, 17 Jul 2003 13:40:37 -1000

On Thursday, July 17, 2003, at 12:59  PM, Goodbye Bill wrote:

Here is the SQL...

5:2003-07-17 05:54:03(dateCreated),

Here is the data...

dateCreated: 2003-07-17 05:54:03 -0400

I'd check the dateCreated column's datatype. JDBC doesn't support a timestamp with timezone datatype yet it looks like in the dateCreated value OpenBase might include a timezone. This is what's difficult to detect because OpenBase's data browser may be merely adding the timezone offset rather than it actually being stored in the DB.


The easiest test is what Chuck recommended: unset dateCreated as being used for locking and see whether the save succeeds. If so, then maybe the OpenBase datatype is not compatible with JDBC. OpenBase supports both timestamp and datetime datatypes. I have used datetime columns successfully in "where" clauses with JDBC, but I'm not sure about timestamp columns.

Aloha,
Art
_______________________________________________
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.

References: 
 >Re: Can't modify EO objects! ARGH! =( (From: Goodbye Bill <email@hidden>)

  • Prev by Date: Re: EO Object Lifespan / Editing Context (Goodbye Bill)
  • Next by Date: Re: Can't modify EO objects! ARGH! =(
  • Previous by thread: Re: Can't modify EO objects! ARGH! =(
  • Next by thread: Re: Can't modify EO objects! ARGH! =(
  • Index(es):
    • Date
    • Thread