Re: Temp ID issue - Exception

2007-09-26 Thread Andrus Adamchik
Thanks for the info. Looks like it was fixed in August as a part of another bugfix, and will be released in M2: ~/work/cayenne: svn diff framework/cayenne-jdk1.4-unpublished/src/ main/java/org/apache/cayenne/map/AshwoodEntitySorter.java -r 551302:565900 Index: framework/cayenne-jdk1.4-unpubl

Re: Temp ID issue - Exception

2007-09-26 Thread Gary Jarrel
Although not able to reproduce was able to pull it out one of the log files: ERROR au.com.jarrel.katya.proc.db.dao.CayenneDataContextInterceptor (CayenneDataContextInterceptor.java:49) - Caught exception during invocation, will try to roll back org.apache.cayenne.CayenneRuntimeException: [v.3.0M1

Re: Temp ID issue - Exception

2007-09-26 Thread Gary Jarrel
I've spent a couple of hours now trying to reproduce this error within my code under 3.0M1 and can't seem to do it! this is rather strange! I'll keep trying, once I get anywhere with it I'll post it here! Gary On 9/25/07, Gary Jarrel <[EMAIL PROTECTED]> wrote: > I will reconfigure the app to use

Re: Temp ID issue - Exception

2007-09-24 Thread Gary Jarrel
I will reconfigure the app to use 3.0M1 tonight and post the stack trace, Sorry for delay! On 9/22/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote: > A few more questions. > > Could you provide a more complete stack trace (just include the > entire Cayenne part of the stack), as I am wondering wher

Re: Temp ID issue - Exception

2007-09-22 Thread Andrus Adamchik
A few more questions. Could you provide a more complete stack trace (just include the entire Cayenne part of the stack), as I am wondering where in the Cayenne code the failing query is fired? Does it happen every time when a user request hits the code in question, or is it sporadic? (I a

Re: Temp ID issue - Exception

2007-09-20 Thread Gary Jarrel
Hi, Evidently this is only an 3.0M1 problem, as I've just switched back to 2.0.3 and the problem disappeared! I can't paste the actual code due to NDA reasons of this project, however the modified version looks something like this: public void createAndSaveNotification() { //find the exi

Re: Temp ID issue - Exception

2007-09-19 Thread Tore Halset
Hello. Looks like you are using an uncomitted new object in a query. Could you post your relevant java code? - Tore. On Sep 19, 2007, at 12:12 , Gary Jarrel wrote: Hi Guys! Any thoughts on what could be causing this during commit? org.apache.cayenne.CayenneRuntimeException: [v.3.0M1 Jul

Temp ID issue - Exception

2007-09-19 Thread Gary Jarrel
Hi Guys! Any thoughts on what could be causing this during commit? org.apache.cayenne.CayenneRuntimeException: [v.3.0M1 Jul 27 2007 23:05:47] Can't build a query for temporary id: at org.apache.cayenne.query.ObjectIdQuery.createReplacementQuery(ObjectIdQuery.java:120) at org.ap