Re: OpenEJB - Missing required persistence.xml

2008-02-18 Thread Karsten Ohme
David Blevins schrieb: On Feb 16, 2008, at 1:38 PM, David Blevins wrote: On Feb 16, 2008, at 1:22 PM, Karsten Ohme wrote: On Feb 15, 2008, at 2:46 PM, Jacek Laskowski wrote: > On Feb 15, 2008 2:37 PM, David Blevins <[EMAIL PROTECTED]> wrote: > >> The "Auto-commit" error usually means is th

Re: OpenEJB - Missing required persistence.xml

2008-02-18 Thread David Blevins
On Feb 18, 2008, at 11:26 AM, David Blevins wrote: - Added a way for Hibernate to get the transaction manager from openejb. There might be another way of doing this other than the persistence.xml. I grabbed the hibernate source and am looking for a better way. Sumbitted a patch to hibe

Re: OpenEJB - Missing required persistence.xml

2008-02-18 Thread David Blevins
On Feb 16, 2008, at 1:38 PM, David Blevins wrote: On Feb 16, 2008, at 1:22 PM, Karsten Ohme wrote: On Feb 15, 2008, at 2:46 PM, Jacek Laskowski wrote: > On Feb 15, 2008 2:37 PM, David Blevins <[EMAIL PROTECTED]> wrote: > >> The "Auto-commit" error usually means is that either a) only the

Re: OpenEJB - Missing required persistence.xml

2008-02-18 Thread Karan Malhi
You should be able to . I have not tried it with eclipse, but typically persistence frameworks use the non-jta one to alter your database schema for you (Synchronize mappings). The problem here is that you have specified a non-jta datasource, but not a jta datasource. I think it is OpenJpa with is

Re: OpenEJB - Missing required persistence.xml

2008-02-18 Thread Michael Dick
Hi Karsten, You definitely should be able to specify both jta-data-source and non-jta-data-source in persistence.xml. Are you using any plugins for Eclipse which parse persistence.xml? I'm using Eclipse 3.3.1.1 with Dali and it's not complaining for me. On Feb 18, 2008 9:48 AM, <[EMAIL PROTECTED

Re: Load time dependency ordering problem

2008-02-18 Thread Jack Cox
David, Let me know when you've got some code to test and I'll give it a whirl. Jack David Blevins wrote: > > > On Feb 11, 2008, at 6:56 AM, Jack Cox wrote: > >> David, >> >> Thanks for the response. Using the application.xml to group the class >> directories did not have the desired effect

AW: OpenEJB - Missing required persistence.xml

2008-02-18 Thread Karsten.Ohme
It is not possible to specify both and . At least Eclipse complains. only is not possible because of the exception thrown otherwise with Hibernate. Regards, Karsten -Ursprüngliche Nachricht- Von: Karan Malhi [mailto:[EMAIL PROTECTED] Gesendet: Montag, 18. Februar 2008 15:02 An: users

Re: OpenEJB - Missing required persistence.xml

2008-02-18 Thread Karan Malhi
Did you try by adding a also in persistence.xml ? On Feb 18, 2008 4:57 AM, <[EMAIL PROTECTED]> wrote: > I have attached the sample project on > http://issues.apache.org/jira/browse/OPENEJB-755. > > Thanks, > Karsten > > -Ursprüngliche Nachricht- > Von: David Blevins [mailto:[EMAIL PROTEC

AW: OpenEJB - Missing required persistence.xml

2008-02-18 Thread Karsten.Ohme
I have attached the sample project on http://issues.apache.org/jira/browse/OPENEJB-755. Thanks, Karsten -Ursprüngliche Nachricht- Von: David Blevins [mailto:[EMAIL PROTECTED] Gesendet: Samstag, 16. Februar 2008 22:38 An: users@openejb.apache.org Betreff: Re: OpenEJB - Missing required p