[jboss-user] [Spring Integration] - Spring Integration with Jboss datasource not working

Stefan Rufer do-not-reply at jboss.com
Wed Mar 31 15:15:46 EDT 2010

Stefan Rufer [http://community.jboss.org/people/stefanrufer] replied to the discussion

"Spring Integration with Jboss datasource not working"

To view the discussion, visit: http://community.jboss.org/message/535007#535007

If you are looking up the datasource using JNDI you will get the container managed data source and - depending on your configuration - container managed transactions. Therefore a commit issued by hibernate causes the exception you listed. See chapter 3.8.1 in  http://docs.jboss.org/hibernate/core/3.3/reference/en/html/session-configuration.html http://docs.jboss.org/hibernate/core/3.3/reference/en/html/session-configuration.html for a configuration that lets hibernate participate in container managed transactions.



Reply to this message by going to Community

Start a new discussion in Spring Integration at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100331/af36fc62/attachment.html 

More information about the jboss-user mailing list