hibernate 3.2.*
jboss 4.0.5.GA

im getting the same "unable to locate jta transaction"  
@TransactionAttributeType.SUPPORTS but not with 
@TransactionAttributeType.REQUIRED on ejb 3 session bean[slsb].

i use getCurrentSession().

i understand hibernate session needs a transaction but what happens when you 
need to mark something as read only.

as i understand the only way to mark this is by using 
@TransactionAttributeType.SUPPORTS. 

is there a way to tell a hibernate session that it should be readonly so that 
the session doesnot look for a transaction? any work around this if you really 
need to use @TransactionAttributeType.SUPPORTS?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031899#4031899

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031899
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to