Add Helper to deal with JPA in OSGi.