cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: "Can't build a query for temporary id" after upgrade from 1.2B2 to 1.2RC2
Date Wed, 05 Jul 2006 19:29:35 GMT
Looks like you have a HOLLOW object with a temporary ID? Strange...

Andrus


On Jul 5, 2006, at 3:20 PM, Mike Kienenberger wrote:

> I'm not entirely certain what's changed between 1.2B2 and 1.2RC2, but
> I'm now getting this error when I upgrade.
>
> This is reading a property a newly-created data object.
>
> CayenneDataObject.readProperty returned null in B2 rather than
> throwing an exception.
>
>
> Caused by: org.objectstyle.cayenne.CayenneRuntimeException: [v.1.2RC2
> June 23 2006] Can't build a query for temporary id:
> <ObjectId:EasementDocument, TEMP:0000000F51E40161>
> 	at  
> org.objectstyle.cayenne.query.ObjectIdQuery.createReplacementQuery 
> (ObjectIdQuery.java:151)
> 	at org.objectstyle.cayenne.query.IndirectQuery.getReplacementQuery 
> (IndirectQuery.java:111)
> 	at org.objectstyle.cayenne.query.IndirectQuery.route 
> (IndirectQuery.java:94)
> 	at org.objectstyle.cayenne.access.DataDomainQueryAction.runQuery 
> (DataDomainQueryAction.java:346)
> 	at org.objectstyle.cayenne.access.DataDomainQueryAction.access$000 
> (DataDomainQueryAction.java:96)
> 	at org.objectstyle.cayenne.access.DataDomainQueryAction$1.transform 
> (DataDomainQueryAction.java:327)
> 	at org.objectstyle.cayenne.access.DataDomain.runInTransaction 
> (DataDomain.java:856)
> 	at  
> org.objectstyle.cayenne.access.DataDomainQueryAction.runQueryInTransac 
> tion(DataDomainQueryAction.java:324)
> 	at  
> org.objectstyle.cayenne.access.DataDomainQueryAction.interceptOIDQuery 
> (DataDomainQueryAction.java:172)
> 	at org.objectstyle.cayenne.access.DataDomainQueryAction.execute 
> (DataDomainQueryAction.java:142)
> 	at org.objectstyle.cayenne.access.DataDomain.onQuery 
> (DataDomain.java:766)
> 	at org.objectstyle.cayenne.access.ObjectStore.resolveHollow 
> (ObjectStore.java:945)
> 	at org.objectstyle.cayenne.access.DataContext.prepareForAccess 
> (DataContext.java:1842)
> 	at org.objectstyle.cayenne.CayenneDataObject.readProperty 
> (CayenneDataObject.java:238)
> 	at  
> com.gvea.eng_work_mgmt.entity.cayenne.generated._EasementDocumentImpl. 
> getEasementType(_EasementDocumentImpl.java:309)
> 	... 72 more
>


Mime
View raw message