Re: hibernate session in jms listner

2010-10-31 Thread Reynald Borer
Hi, As far as I know, there is no such thing in ActiveMQ as its not its purpose to handle Hibernate session and related things. But in Spring for example you can use a TransactionTemplate [1] in order to wrap your business code in a transaction (which will assure you that you have a session op

hibernate session in jms listner

2010-10-31 Thread fachhoch
I am getting lazy load exception when I use my hibernate entity inside a message listener, please advice me if there are any abstract Message listeners which opens session puts it into thread local ? -- View this message in context: http://activemq.2283324.n4.nabble.com/hibernate-sessi