I am trying to retrieve a user from the JBoss Portal DB using the APIs
provided, and I am running into a JTA Transaction exception ("unable to locate
currentJTA transaction"). I've confirmed that the SessionFactory object used in
HibernateUserModuleImpl is not null.
| UserModule userModule = (UserModule) new
InitialContext().lookup("java:portal/UserModule");
| User user = userModule.findUserByUserName("admin");
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071347#4071347
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071347
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user