It seems you are using a transacted session.
Session session = connection.createSession(true, Session.AUTO_ACKNOWLEDGE);
Try calling session.commit() before closing the session.
Or you can send in false into createSession and you don't have to call
session.commit()
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227625#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...