27)
> >
> > > at
> > >
> > >
> >
> org.apache.geronimo.transaction.manager.TransactionImpl.beforeCompletion(TransactionImpl.java:511)
> >
> > > at
> > >
> > >
> >
> org.apache.geronimo.transactio
forePrepare(TransactionImpl.java:413)
>
> >
> > I was thinking that this is what
> > the CheckDatabaseForCascadePersistToDetachedEntity=true property is so I
> > added it to the persistence unit.
> >
> >
> >
> > http://java.sun.com/xml/ns/persistence";
> version="2.0"
> When I try save a model which has a reference to one of the readonly catalogs
(which I don't want to update) and which I get through the catalogs-persistence
service (so the model-persistence is handling an object from another
persistence unit)
The problem is that you're trying persist an Entity
But it doesn't change anything.
Should this option remove the problem I am having? Should it work in OSGi?
Are there any suggestions as to what I am doing wrong and if it is possible
at all?
Cheers
John
--
View this message in context:
http://openjpa.208410.n2.na
Hi
My setup is - servicemix 5.0.0, openjpa 2.2.2, Mysql 5.5 database.
I have 4 bundles, model-persistence, catalogs-persistence, models and
catalogs. The 2 persistence bundles each have a persistence unit.
The model-persistence bundle provides an OSGi service to save a model which
is defined in