Comment #11 on issue 597 by [email protected]: Persist Extension:
UnitOfWork.begin() throws IllegalStateException when called multiple times
http://code.google.com/p/google-guice/issues/detail?id=597
I agree also that JPAPersistService should not perform an explicit begin of
the unit of work.
However, regarding my personal case, i think there is a real issue in
guice-persist that should be fixed and which is linked to this issue.
Indeed, the end() method of JpaPersistService might not work when the jdbc
connection is already closed by an external application.
So the test i was talking about in my previous post would be to check that
the connection is not already closed before calling the close() method on
the EntityManager in JpaPersistService end() method.
(Perhaps i should report another issue linked to this one?)
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.