Comment #2 on issue 730 by [email protected]: Automatically started
UnitOfWork is never ended
http://code.google.com/p/google-guice/issues/detail?id=730
@WorkUnit annotation, is this similar to Spring's @Transactional(readOnly =
true)
http://static.springsource.org/spring/docs/3.1.x/spring-framework-reference/html/transaction.html#transaction-declarative-annotations
http://static.springsource.org/spring/docs/3.1.x/javadoc-api/org/springframework/transaction/annotation/Transactional.html#readOnly()
IMO, readOnly=true expresses the transaction's behavior clearly that the
changes will not be committed.
--
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.