cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Razumovsky <razumovsky.and...@gmail.com>
Subject Re: Class is not mapped
Date Wed, 03 Feb 2010 14:39:40 GMT
commit exception always has its cause, so you need to investigate (and post
here if needed) bottom stack trace of the exception

2010/2/3 jmp5167 <jmp5167@gmail.com>

>
> Thanks for you reply.  I think I have fixed my initial problem, there was a
> problem with the cayenne.xml file.  But now I am having trouble with my
> context.commitChanges() line.  I am getting this error:
>
> Exception in thread "main" org.apache.cayenne.CayenneRuntimeException:
> [v.3.0RC1 Jan 05 2010 14:44:59] Commit Exception
>        at
> org.apache.cayenne.access.DataContext.flushToParent(DataContext.java:1134)
>        at
> org.apache.cayenne.access.DataContext.commitChanges(DataContext.java:1045)
>        at org.example.cayenne.persistent.Main.main(Main.java:30)
>
> which doesnt make much sense to me except that I understand that
> commitChanges actually sends the data to the database to be saved.
> Otherwise I'm lost.
> --
> View this message in context:
> http://n3.nabble.com/Class-is-not-mapped-tp183513p184666.html
> Sent from the Cayenne - User mailing list archive at Nabble.com.
>



-- 
Andrey

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message