• 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: Zero dates "0000-00-00"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Zero dates "0000-00-00"


  • Subject: Re: Zero dates "0000-00-00"
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 17 Mar 2009 10:55:36 -0700


On Mar 17, 2009, at 10:48 AM, Gennady Kushnir wrote:

Hello list.
Is there some known hint to get rid with exception raised when dealing
with zero dates in SQL?
I'm taking data from database maintained with a third party program.
When a date is undefined that program puts "0000-00-00" into database
which is acceptable for SQL but raises an exception in WO.
How can I make EOF treat that value normally returning null for date
in corresponding EnterpriseObject?

What is the exception and stack trace?


Chuck


Thanks in advance
Gennady


-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







_______________________________________________ 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
  • Follow-Ups:
    • Re: Zero dates "0000-00-00"
      • From: Gennady Kushnir <email@hidden>
References: 
 >Zero dates "0000-00-00" (From: Gennady Kushnir <email@hidden>)

  • Prev by Date: Fwd: NDN:
  • Next by Date: Re: NDN:
  • Previous by thread: Zero dates "0000-00-00"
  • Next by thread: Re: Zero dates "0000-00-00"
  • Index(es):
    • Date
    • Thread