[jboss-dev-forums] [JBoss AS 7 Development] - Re: Readonly transactions in session beans
Nicklas Karlsson
do-not-reply at jboss.com
Mon Jan 7 06:04:23 EST 2013
Nicklas Karlsson [https://community.jboss.org/people/nickarls] created the discussion
"Re: Readonly transactions in session beans"
To view the discussion, visit: https://community.jboss.org/message/788718#788718
--------------------------------------------------------------
I think you get can get to the session from the EntityManager delegate.
I have a similar case where I load my data into an @ApplicationScoped (@Singleton) bean, I then have a REST interface which I can call in order to flush the component and force a re-fetch if necessary.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/788718#788718]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130107/8b851aed/attachment-0001.html
More information about the jboss-dev-forums
mailing list