Make BatooJPA OSGi friendly