[jboss-as7-dev] detecting JPA usage in AS7 applications...

Scott Marlow smarlow at redhat.com
Fri Jun 10 10:57:34 EDT 2011


On 06/10/2011 06:24 AM, Scott Marlow wrote:
>> 1) When we say, we are adding implicit JPA dependencies to the
>> >  deployment, what exact modules are we adding? JPA spec API module
>> >  (javax.persistence.* classes) is fine. Are we adding Hibernate module as
>> >  a dependency too?
> In JPADependencyProcessor, we are currently adding modules:
>
>    javax.persistence.api
>    javaee.api
>    org.jboss.as.jpa
>    org.hibernate
>    org.javassist
>    org.jboss.as.naming
>
> We might not need all of these any more (javassist + naming especially).
>

I got it down to this set locally (probably a 7.1 change at this point):

   javax.persistence.api
   org.jboss.as.jpa
   org.hibernate


More information about the jboss-as7-dev mailing list