Eclipse runnable jar file can't find cayenne resources

2013-12-11 Thread Rick Bonnett
This is using 3.1B2. >From Eclipse, I export my project as a runnable jar file. When I try to >execute it from bash, I get this exception thrown at startup: Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at s

Re: pk generation sequence is not called for a many-to-many join tabel => violates not-null-constraint

2013-12-11 Thread jotpe
Yes, it works fine. The problem were two different cayenne-project.xml files in classpath, because the testsrc directory pointed to the same dir. I detected this by creating new dbEntities and objEntities, which couldnt be found by cayenne. 2013/12/10 jotpe > Thanks for reply. I tried several t