Re: Propblem with OpenEJB + Toplink unit tests

2008-08-07 Thread David Blevins
Marcin, thanks for this post! This is great information and it's nice to see them back to back like this. I threw it up in our documentation here: http://cwiki.apache.org/OPENEJBx30/common-persistenceprovider-properties.html -David On Aug 5, 2008, at 12:01 AM, Marcin Kwapisz wrote:

RE: Propblem with OpenEJB + Toplink unit tests

2008-08-05 Thread Marcin Kwapisz
> > value="org.eclipse.persistence.platform.database.HSQLPlatform"/> > > value="database"/> > [Marcin Kwapisz] Hi David, Properties in main persistence.xml (for toplink) are almost the same. I have set generation.output-mode to both to verify ddl statements. D

Re: Propblem with OpenEJB + Toplink unit tests

2008-08-04 Thread David Blevins
On Aug 4, 2008, at 6:51 PM, David Blevins wrote: Marcin, Do you happen to know what the TopLink property is for automatically creating all the required tables? In OpenJPA it's: value="buildSchema(ForeignKeys=true)"/> In Hibernate it's: Got it (for EclipseLink anyway):

Re: Propblem with OpenEJB + Toplink unit tests

2008-08-04 Thread David Blevins
Marcin, Do you happen to know what the TopLink property is for automatically creating all the required tables? In OpenJPA it's: value="buildSchema(ForeignKeys=true)"/> In Hibernate it's: -David

Re: Propblem with OpenEJB + Toplink unit tests

2008-08-04 Thread David Blevins
On Aug 4, 2008, at 5:45 AM, Marcin Kwapisz wrote: It may be that TopLink doesn't know how to find our TransactionManager. OpenJPA finds it automatically by calling org.apache.openejb.OpenEJB.getTransactionManager(). For Hibernate, there's the TransactionManagerLookup which can be configured.

RE: Propblem with OpenEJB + Toplink unit tests

2008-08-04 Thread Marcin Kwapisz
> It may be that TopLink doesn't know how to find our > TransactionManager. OpenJPA finds it automatically by calling > org.apache.openejb.OpenEJB.getTransactionManager(). For Hibernate, > there's the TransactionManagerLookup which can be configured. Do you > know if there's anything similar in

Re: Propblem with OpenEJB + Toplink unit tests

2008-08-04 Thread David Blevins
On Aug 4, 2008, at 2:49 AM, Marcin Kwapisz wrote: Hi, Configuration: OpenEJB 3.0, ToplinkEssentials 2.1, Maven2, JUnit 4, Derby 10.2.2 I have modified that example -> http://openejb.apache.org/3.0/testing-transactions-example.html to use Toplink as persistence provider. The problem is, th