To test this issue http://stackoverflow.com/questions/21874885/issue-with-usertransaction-in-java-se
I see this link: http://stackoverflow.com/questions/21874885/issue-with-usertransaction-in-java-se and I was reading to this other https://github.com/jbosstm/quickstart/tree/master/jta-and-hibernate, then I make this test to see the result.