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-config...
http://docs.jboss.org/hibernate/core/3.3/reference/en/html/session-config... for
a configuration that lets hibernate participate in container managed transactions.
cu
Stefan
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/535007#535007]
Start a new discussion in Spring Integration at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]