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, that Toplink does not
persists entities at all. With OpenJ
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
On Sat, 2008-08-02 at 15:23 -0700, David Blevins wrote:
> On Jul 30, 2008, at 12:34 AM, Martin Vysny wrote:
>
> > Hello,
> > currently we are starting OpenEJB as an embedded service (by
> > performing a lookup of
> > org.apache.openejb.client.LocalInitialContextFactory in JNDI
> > InitialContext)
> 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
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.
On Aug 4, 2008, at 5:41 AM, Martin Vysny wrote:
On Sat, 2008-08-02 at 15:23 -0700, David Blevins wrote:
On Jul 30, 2008, at 12:34 AM, Martin Vysny wrote:
Hello,
currently we are starting OpenEJB as an embedded service (by
performing a lookup of
org.apache.openejb.client.LocalInitialContextFa
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
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):