• 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
Error When Deleting from different session
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error When Deleting from different session


  • Subject: Error When Deleting from different session
  • From: Owen McKerrow <email@hidden>
  • Date: Fri, 10 Jun 2005 11:47:37 +1000

Hi All,

Im posting this to both the WO and OpenBase lists as Im not sure exactly where the problem is coming from.
I have a table called Grants which is having issues when I delete from it. That is to say, if I create a Grant I can delete it happily if its in teh same session. If I come back in with a new session I get the following error :


java.lang.IllegalStateException: sqlStringForKeyValueQualifier: attempt to generate SQL for com.webobjects.eocontrol.EOKeyValueQualifier (_eofInv_jStudentGrant_person.grant.rowID = (java.math.BigDecimal)'2') failed because attribute identified by key '_eofInv_jStudentGrant_person.grant.rowID' was not reachable from from entity 'External'
02:12:00AM


sqlStringForKeyValueQualifier: attempt to generate SQL for com.webobjects.eocontrol.EOKeyValueQualifier (_eofInv_jStudentGrant_person.grant.rowID = (java.math.BigDecimal)'2') failed because attribute identified by key '_eofInv_jStudentGrant_person.grant.rowID' was not reachable from from entity 'External'


As I said Im not sure if this is a WO problem or an OpenBase one, but I have no idea where "_eofInv_jStudentGrant_person.grant.rowID" is coming from. Is this just WO's way of saying "jStudentGrant_person.grant.rowID" i.e. its sticking the "_eofInv" in the front of it, or is there a hidden table in OpenBase which has this attribute in it ? Im thinking its WO.


And why does this error not happen if I have delete the grant in the same session as I made it ?

Thanks
Owen McKerrow
WebMaster, emlab
http://emlab.uow.edu.au

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"As of tomorrow, employees will only be able to access the building using individual security cards. Pictures will be taken next Wednesday employees will receive their cards in two weeks."
- "Dilbert Quotes" Winner, Fred Dales, Microsoft Corp


_______________________________________________
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: Error When Deleting from different session
      • From: Max Ribuoli <email@hidden>
    • Re: Error When Deleting from different session
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Nasty WO Builder 5.3 bug deletes components
  • Next by Date: Re: Nasty WO Builder 5.3 bug deletes components
  • Previous by thread: Odd Behaviour
  • Next by thread: Re: Error When Deleting from different session
  • Index(es):
    • Date
    • Thread