It seems that hivetranse implicitly marks the hibernate session methods "mandatory", assuming that eache service using it uses at least "requires". Which is basically sound. you might try to mark your HibernateSqueezer's squeeze method with ta-required (however you do this in hivetranse).
> -----Original Message----- > From: Andreas Bulling [mailto:[EMAIL PROTECTED] > Sent: Saturday, April 22, 2006 4:43 PM > To: Tapestry users > Subject: [Honeycomb] > net.sourceforge.hivetranse.transaction.MandatoryTransactionException > > > Hi folks, > > I tried to integrate the Honeycomb Squeezer into my web application > but I get the following exception: > > --- > net.sourceforge.hivetranse.transaction.MandatoryTransactionException > No active transaction > > Stack Trace: > # > net.sourceforge.hivetranse.transaction.hibernate3.SessionProxy > Factory$SessionProxy.invoke(SessionProxyFactory.java:208) > # $Proxy33.getEntityName(Unknown Source) > # $Session_10ac2096e58.getEntityName($Session_10ac2096e58.java) > # $Session_10ac2096cf4.getEntityName($Session_10ac2096cf4.java) > # > de.plattform.services.HibernateSqueezer.squeeze(HibernateSquee > zer.java:48) > # > $SqueezeAdaptor_10ac2096e5e.squeeze($SqueezeAdaptor_10ac2096e5e.java) > # > org.apache.tapestry.util.io.DataSqueezerImpl.squeeze(DataSquee > zerImpl.java:127) > # $DataSqueezer_10ac2096cee.squeeze($DataSqueezer_10ac2096cee.java) > # org.apache.tapestry.form.Hidden.renderFormComponent(Hidden.java:58) > # > org.apache.tapestry.form.AbstractFormComponent.renderComponent > (AbstractFormComponent.java:122) > [...] > --- > > I'm using HiveTranse's SessionFactory and the session in the > Squeezer is not null. The page contains a form which > edit/updates the persistent > object and I used a @Hidden component to test my squeezer on > the same object. > > Does someone know what's going wrong/how I can fix this problem? > > Thanks! > Andreas > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]