Status: New
Owner: ----
New issue 705 by michael....@gmail.com: guice-persist: @Transactional does
not work with multiple Persistence Units
http://code.google.com/p/google-guice/issues/detail?id=705
When using multiple persistence units where you cannot make the
@Transactional annotation work without a n elaborate workaround involving
copying verbatim core source (JpaLocalTxnInterceptor) from guice-persist
into your project and then doing some very special bindings in your module.
The thread at
https://groups.google.com/forum/?fromgroups#!searchin/google-guice/@Transactional$20guice-persist$20not/google-guice/kbXr4k0N2QE/W_6VAvo5Mn0J
discusses the problem and workaround.
Reproduce by following the procedure described in
http://code.google.com/p/google-guice/wiki/GuicePersistMultiModules, then
applying the @Transaction annotation to a method that persists entities as
described in http://code.google.com/p/google-guice/wiki/Transactions
The intereceptor will not be called and the entity will not be saved.
--
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To post to this group, send email to google-guice-dev@googlegroups.com.
To unsubscribe from this group, send email to
google-guice-dev+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-guice-dev?hl=en.