This content has been marked as final. Show 4 replies
I guess that you provided only pieces of your code.
Anyway, most likely the problem is that you don't open a container with a transactional support. You should do something like:
Also you should commit or abort any transaction.
XmlContainerConfig containerConfig = new XmlContainerConfig(); containerConfig.setTransactional(true); container = manager.openContainer(CONTAINER_NAME, containerConfig);
Let me know if you have further questions/problems