Hard to say
I'm not working for Google but last time I asked this question it
remained unanswered.
Last real development I see in 2011. After this only whitespace
refactorings.
The Issues in the issue tracker are also open since a very long time.
Because of this I wrote my own persistence extension for guice.
This project has never attracted much attention and is by now also
kind of abandoned. If you decide to resurrect it, I will gladly
give you a hand
src: https://svn.apache.org/viewvc/onami/trunk/persist/
doc: https://onami.apache.org/persist/index.html
--
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 google-guice...@googlegroups.com.
To post to this group, send email to google...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-guice.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-guice/252e3cf5-3fdf-417b-aa1b-671fd25bdb21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Stephan
(Sorry for the delay)
Our main concern with onami-persist is related to this:
"AOP synthetic warnings after Java 8 upgrade" - https://groups.google.com/
forum/#!topic/google-guice/-DH5fBD7M30
The "easy" patch seems the one pointed in the e-mail but, if I had
understanded the PersistenceModule#configurePersistenceUnits method and bind a
custom method matcher to exclude synthetic methods. Something like this (bolded text):
private static final class TransactionMethodMatcher extends AbstractMatcher<Method> {
@Override
public boolean matches(final Method method) {
return method.isAnnotationPresent(Transactional.class) && !method.isSynthetic();
}
}
/**
* Configures the persistence units.
*/
private void configurePersistenceUnits() {
this.configurePersistence();
this.bind(PersistenceFilter.class).to(PersistenceFilterImpl.class) .in(Scopes.SINGLETON);
final AllPersistenceUnits allPersistenceUnits = new AllPersistenceUnits();
this.requestInjection(allPersistenceUnits);
this.bind(AllPersistenceServices.class).toInstance(allPersistenceUnits);
this.bind(AllUnitsOfWork.class).toInstance(allPersistenceUnits);
for (final PersistenceUnitModuleConfiguration config : this.configurations) {
final TxnInterceptor txnInterceptor = new TxnInterceptor();
this.install(new PersistenceUnitModule(config, txnInterceptor, allPersistenceUnits));
this.bindInterceptor(any(), new TransactionMethodMatcher(),
txnInterceptor);
this.bindInterceptor(annotatedWith(Transactional.class), new
TransactionMethodMatcher(), txnInterceptor);
}
}
So a quick search on github finds 3 forks of onami-persist.
https://github.com/tocktix/onami-persist
https://github.com/FingolfinTEK/onami-persist
https://github.com/davidsowerby/krail-jpa
Is there interest in joining forces? If so I would suggest I
start a new github organization for onami-persist and scratch
together the history from my local repo (the apache SVN is not
very helpfull, as all onami sub-projects shared a single SVN).
As a next step we can bring in the existing
additions/features/bugfixes from the different forks.
Of course I will add all contributors to the organization.
What do you think?
--
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 google-guice...@googlegroups.com.
To post to this group, send email to google...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-guice.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-guice/be528d8d-9ab0-4127-9bbe-ec39b3546200%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-guice+unsubscribe@googlegroups.com.
To post to this group, send email to google...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-guice.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-guice/be528d8d-9ab0-4127-9bbe-ec39b3546200%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Maybe in a second phase. I would first concentrate on pulling the different efforts for onami-persist together. But personally I prefer to focus on one responsibility with such libraries. And I see the main responsibility of onami-persist in providing JPA and JTA integration for guice.
To unsubscribe from this group and stop receiving emails from it, send an email to google-guice...@googlegroups.com.
To post to this group, send email to google...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-guice.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-guice/CA%2Bh17MP_Ta8qQBhevCbjDk%2B_2EBwe1oQ%3D%3D__YM-Oz3RYOCVm%3Dg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-guice/CA%2Bh17MP_Ta8qQBhevCbjDk%2B_2EBwe1oQ%3D%3D__YM-Oz3RYOCVm%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Agree the more collaborators and users we attract the better.
Lack of users and collaborators was the reason why apache onami
was discontinued and went to attic.
To unsubscribe from this group and stop receiving emails from it, send an email to google-guice...@googlegroups.com.
To post to this group, send email to google...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-guice.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-guice/CA%2Bh17MMcdy2JAfVeiCQvRMjmbOtp84414gOQ3id%2BG2zRkitggw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-guice/CA%2Bh17MMcdy2JAfVeiCQvRMjmbOtp84414gOQ3id%2BG2zRkitggw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.