On 24. Apr 2006 - 12:19:25, Schulte Marcus wrote: | And: it's completely pointless to have multiple hibernate session per | request (unless you have a very good reason and know what you do). So, you | should really declare all your methods "mandatory" (sorry, I was wrong | before). Then of course you'll have to start/commit your ta's above the | service layer. And your cool ta-interceptor does nothing but check for the | presence of a ta.
Well, actually I didn't know that I used several sessions per request so far and for me it also makes no sense to do so... I've put Mandatory in and it still doesn't work: --- No transaction available for Mandatory demarcation --- Probably I should just switch to Honeycomb - this stuff is a pain in my neck... | Hey, why o why do you guys use think the declarative ta-stuff is useful for | your apps? I don't want to use it but if you don't define default transaction settings in HiveTranse you get an exception and that's why I put this hivetranse.core.TransactionDefaults contribution in my hivemodule.xml Why does Honeycomb not seem to have any OpenSessionInView filter by the way? Is this not needed? Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]