Re: Problem enabling Remote Commit Events

2009-09-21 Thread Rick Curtis
The javadoc for org.apache.openjpa.event.RemoteCommitProvider states A remote commit provider must not fire remote events for commits that originated with a local broker ...so, if you are operating against a single EMF, your remote events won't ever be invoked. Hopefully this helps.? -

Re: SingleFieldManager crash

2009-09-21 Thread Daryl Stultz
On Fri, Sep 18, 2009 at 1:53 PM, C N Davies c...@cndavies.com wrote: Sure I added some debug code, I'll run a unit test and come back to you when it fails with this specific SingleFieldManager exception. While following a hunch that my problem was related to multi-threading, I accidently

Re: StreamingLOB and Derby/Hsql

2009-09-21 Thread Miłosz Tylenda
Hi Simone, OpenJPA currently supports (judging from test cases) streaming LOB with MySQL, Oracle, PostgreSQL and SQL Server. However, even with these databases there are bugs to fix. OPENJPA-1248 [1] contains a few stack traces some of which are similar to yours. Thus the exception you are

Re: EntityManager used in multiple threads

2009-09-21 Thread Miłosz Tylenda
Hi, There were some discussions on the problem of initializing EntityManager(Factory) in multi-threading environments. Maybe you will find a solution for your problem within these threads: http://n2.nabble.com/Starting-OpenJPA-during-container-startup-tp210725p210725.html

Re: Openjpa + MySQL + Tomcat datasource issue

2009-09-21 Thread Miłosz Tylenda
Kurt, Are you sure you are connecting to a MySQL database? The error message looks to me more like coming from Derby than MySQL. I would say you are still connecting to a Derby data source while having your OpenJPA properties set up for MySQL. Cheers, Milosz Hi guys, I'm working on the

Re: StreamingLOB and Derby/Hsql

2009-09-21 Thread Donald Woods
After the focus on cleaning up failing junits on non-Derby databases this month, TestReaderLob is passing now on MySQL and only has one failure on Oracle, but still has 5 failures on MSSQL Not sure which svn check-in resolved it, as it could have been r816287 for Oracle or a number of the

Schema tool from annotated class ?

2009-09-21 Thread Jean-Baptiste BRIAUD -- Novlog
Hi, I'm trying to use the SchemaTool. I read in the doc all the needed information to make it work from XML to the database and also from database to XML but what about from annotated classes to the database ? If I found a way to go from annotated classed to XML, I can go back to well

Re: Schema tool from annotated class ?

2009-09-21 Thread Jean-Baptiste BRIAUD -- Novlog
Think I got it here : http://openjpa.apache.org/builds/1.0.2/apache-openjpa-1.0.2/docs/manual/ref_guide_mapping.html#ref_guide_mapping_mappingtool_examples On Sep 21, 2009, at 21:59 , Jean-Baptiste BRIAUD -- Novlog wrote: Hi, I'm trying to use the SchemaTool. I read in the doc all the needed

Re: Openjpa + MySQL + Tomcat datasource issue

2009-09-21 Thread Kurt T Stam
Yup that was it :). We had a second file (conf/Catalina/localhost/juddiv3.xml) with the datasource info. Going to remove that file so it won't cause any more confusion! Thx! --Kurt Miłosz Tylenda wrote: Kurt, Are you sure you are connecting to a MySQL database? The error message looks to