Error When Deleting from different session
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