Comment #3 on issue 730 by [email protected]: Automatically started UnitOfWork is never ended
http://code.google.com/p/google-guice/issues/detail?id=730

@WorkUnit is just a shorthand means of using the UnitOfWork interface, by wrapping the annotated method with calls to uow.begin/uow.end in a try/finally block. No JPA transaction is explicitly started.

I think it's conceptually different from a read-only transaction. That would certainly make more sense as an additional attribute on the existing @Transactional annotation.

--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-guice-dev?hl=en.

Reply via email to