Thanks, I actually came across Onami after reading up on the multiple persistent unit setup for Guice Persist - it's not exactly optimal.
Wasn't sure what the release status was for the project so was a little reluctant, but will give it a try now. Any idea if there are any plans to introduce multiple persistence unit support for Guice Persist that is a little more frictionless? Rob On Thursday, May 29, 2014 5:53:00 AM UTC+10, scl wrote: > > If you want you can have a look at http://onami.apache.org/persist/ > The code is final and will be released in the next few weeks. > > It supports multiple persistence units and fixes some of the known issues > of guice-persist. > > > > On 05/28/2014 01:34 PM, Robert Butera wrote: > > Thanks for the reply. > > So I assume the only way to have multiple isolation levels in the one > one application would be to do something like: > > - Create two persistence units, each one with the desired isolation level > - Use private modules to separate the two persistence units from each > other in the app > - Then selectively use the correct persistence unit in the application to > achieve the desired result. > > Rob > > > On Wednesday, May 28, 2014 12:21:27 AM UTC+10, scl wrote: >> >> There is currently no such feature in guice persist. >> I'm not even sure if you can do this on a per transaction basis. It may >> depend on you DB if this is supported or if it can only be set per >> connection. >> >> >> On 05/27/2014 02:35 PM, Robert Butera wrote: >> >> Hi, >> >> Am using Guice Persist and would like to change the transaction >> isolation level. Have googled, but really haven't found anything at all. >> >> Ideally I would like to set it on a transaction-per-transaction basis. >> >> Any help would be appreciated. >> >> Regards >> Rob >> >> -- >> You received this message because you are subscribed to the Google Groups >> "google-guice" 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. >> For more options, visit https://groups.google.com/d/optout. >> >> >> -- > You received this message because you are subscribed to the Google Groups > "google-guice" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > To post to this group, send email to [email protected]<javascript:> > . > Visit this group at http://groups.google.com/group/google-guice. > For more options, visit https://groups.google.com/d/optout. > > > -- You received this message because you are subscribed to the Google Groups "google-guice" 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. For more options, visit https://groups.google.com/d/optout.
