Hibernate follows the letter and spirit of the OSGi spec here. It is actually the providers that offer JPA support into OSGi that are doing the wrong thing. Tim Ward provided a fix for this within Aries (see https://issues.apache.org/jira/browse/ARIES-1575). Since Hibernate technically only reports built-in support OSGi through Aries, that is good enough for us for now. |