Ah - thanks. I didn't notice that little checkbox :-).
Seems to be working fine.
Mike
On Mon, 7 Mar 2005 18:45:48 -0500, Andrus Adamchik
<andru..bjectstyle.org> wrote:
> Hi Mike,
>
> Cayenne EJB example is actually tested under JBoss, so sure it is
> doable. Just check "Container-Managed Transactions" in the Modeler for
> DataDomain, this will ensure that Cayenne doesn't attempt to manage
> transactions on its own.
>
> Andrus
>
>
> On Mar 7, 2005, at 5:40 PM, Michael Engelhart wrote:
>
> > Hi -
> >
> > I'm trying to use Cayenne to replace Hibernate in a JBoss environment
> > but when I make DataContext.performQuery() calls I'm getting the
> > following error:
> > org.objectstyle.cayenne.CayenneRuntimeException: [v.1.2M2 February 6
> > 2005] java.sql.SQLException: You cannot commit during a managed
> > transaction!
> >
> > Is there a way to get this to work either through the API or through a
> > modification of the configuration files.
> >
> > Thanks
> > Mike
> >
>
>
This archive was generated by hypermail 2.0.0 : Mon Mar 07 2005 - 18:51:57 EST