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

Bob McWhirter bmcwhirt at redhat.com
Thu Jun 9 16:16:28 EDT 2011


I have no idea what any of this means, but I know people use JPA with TorqueBox applications.

Marek Goldmann put one together today.  I dunno if shifting to purely annotation-based would help or hurt us.

	-Bob


On Jun 9, 2011, at 3:37 PM, Scott Marlow wrote:

> Currently, we are injecting JPA related module dependencies into 
> applications that have valid persistence units in persistence.xml.
> 
> This is wrong I think.  We probably only need to look for the presence 
> of @PersistenceUnit @PersistenceContext and same in deployment 
> descriptors (which we currently also do).
> 
> I don't want to inject the JPA dependencies just because there is 
> persistence unit definition (we can still parse it and have it available 
> for use).
> 
> This might help us deploy native Hibernate applications that don't use 
> EE JPA.
> 
> Scott
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev




More information about the jboss-as7-dev mailing list