users@glassfish.java.net

Re: Container Managed Transaction and Hibernate Search

From: <glassfish_at_javadesktop.org>
Date: Thu, 06 Sep 2007 18:53:22 PDT

ah year, you cannot use the CMTTransactionFactory to create the transaction.
What you can do is for this case to manually start the JTA transaction instead of using the Hibernate beginTransaction method. It should work fine.
[Message sent by forum member 'epbernard' (epbernard)]

http://forums.java.net/jive/thread.jspa?messageID=234321