• 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: ps: database failures not rolling up to eof stack ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ps: database failures not rolling up to eof stack ??


  • Subject: Re: ps: database failures not rolling up to eof stack ??
  • From: Simon <email@hidden>
  • Date: Fri, 28 Jan 2011 21:00:28 +0000


> the repeatable situation that we see this happening is when we try and set a string value that is defined as width X in the model and DB to something greater than X.

That should cause a validation error in EOF, not a string truncation error in the database.  Did you write that backwards?

hmmm, come to think of it, that does look the wrong way round...
 
> my guess is that we must somehow be disposing of the exception somewhere but i can't seem to figure it.
>
> any ideas ?

If you are not catching and swallowing it in your code, my suspicions would like in the JDBC driver or in the EOF plugin for MySQL.  I have never seen EOF swallow exceptions originating from a failure to commit.

hokey cokey, i'll start poking around from the driver up. i suspect we've introduced something daft somewhere that is slurping them up, but there is nothing startlingly obvious. might have to dig out some books and remind myself how exceptions float up through the stack :-p

thanks for the hint

simon

ps. is WOVNG still progressing ?
 _______________________________________________
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: ps: database failures not rolling up to eof stack ??
      • From: Chuck Hill <email@hidden>
References: 
 >ps: database failures not rolling up to eof stack ?? (From: Simon <email@hidden>)
 >Re: ps: database failures not rolling up to eof stack ?? (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: ps: database failures not rolling up to eof stack ??
  • Next by Date: Re: ps: database failures not rolling up to eof stack ??
  • Previous by thread: Re: ps: database failures not rolling up to eof stack ??
  • Next by thread: Re: ps: database failures not rolling up to eof stack ??
  • Index(es):
    • Date
    • Thread