Re: [SOLVED] Re: jpa provider

2007-12-17 Thread Andrus Adamchik
Ok, switching Surefire to 2.2 and the unit test to JUnit 3 actually resulted in a successful run. So I went back to that old thread and actually read it :-) http://objectstyle.org/cayenne/lists/cayenne-devel/2007/03/0065.html and it turns out that we need this for the surefire plugin: tru

Re: [SOLVED] Re: jpa provider

2007-12-17 Thread Andrus Adamchik
Although ... I am not so sure that it was all that successful, as the message is "There are no tests to run."... Never experimented with JUnit 4, not sure if the Surefire downgrade resulted in skipping the unit tests all together? Andrus On Dec 17, 2007, at 10:59 PM, Andrus Adamchik wrot

[SOLVED] Re: jpa provider

2007-12-17 Thread Andrus Adamchik
Turned out we've been bitten by this in Cayenne This is a surefire Maven plugin bug that breaks the Cayenne agent. Once I added version 2.2 to the plugin declaration I was able to run the test successfully: org.apache.maven.plugins maven-surefire-plugin 2.2 $ mvn test -Pcayenne

Re: Register object in multiple dataMaps environment

2007-12-17 Thread Andrus Adamchik
Yeah, that's a much simpler explanation :-) Andrus On Dec 17, 2007, at 5:12 PM, james yong wrote: Hi, For my case, I found that the className attribute is not set correct in my datamap xml file, thus causing the error. Thanks. -- View this message in context: http://www.nabble.com/Regis

Re: jpa provider

2007-12-17 Thread Andrus Adamchik
Thanks Gilberto, Quite a few recent "Cayenne classic" features (such as embeddables, listeners, etc.) were developed with the JPA implementation in mind. So the backend is gradually getting more robust. Hopefully we'll get to the next round of enhancer features soon as well. In fact I am

Re: Register object in multiple dataMaps environment

2007-12-17 Thread james yong
Hi, For my case, I found that the className attribute is not set correct in my datamap xml file, thus causing the error. Thanks. -- View this message in context: http://www.nabble.com/Register-object-in-multiple-dataMaps-environment-tp14319433p14372432.html Sent from the Cayenne - User mailing

Re: jpa provider

2007-12-17 Thread Gilberto C Andrade
Andrus Adamchik wrote: > No... Didn't have time to take a look yet. There's million of different > things going on at the same time. Ok! Don't worry, no stress! Rs,rs,rs PS.: Happy Christmas and a prosperous new year! Gilberto

Re: jpa provider

2007-12-17 Thread Andrus Adamchik
No... Didn't have time to take a look yet. There's million of different things going on at the same time. Andrus On Dec 17, 2007, at 2:21 PM, Gilberto C Andrade wrote: Andrus Adamchik wrote: I will. Thanks! Andrus On Dec 11, 2007, at 7:48 PM, Gilberto C Andrade wrote: Would you mind che

Re: jpa provider

2007-12-17 Thread Gilberto C Andrade
Andrus Adamchik wrote: > I will. Thanks! > > Andrus > > On Dec 11, 2007, at 7:48 PM, Gilberto C Andrade wrote: > >> Would you mind check my project?(attach) >> >> Gilberto >> > > Any progress on my case? Right now we are using TopLink and as I'm sad before, we want to help the cayenne project

Re: Register object in multiple dataMaps environment

2007-12-17 Thread Andrus Adamchik
Hi there, Per you second message, this is more of a multiple cayenne.xml environment... So is the intention to access multiple DataMaps via a single DataContext? If so you the simplest thing would be to combine all mappings in a single project with one cayenne.xml. If this is not an opt