[jboss-as7-dev] detecting JPA usage in AS7 applications...
Scott Marlow
smarlow at redhat.com
Thu Jun 9 16:48:58 EDT 2011
On 06/09/2011 04:16 PM, Bob McWhirter wrote:
> 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
You shouldn't have to change anything. Its more of me being paranoid
that I'm going to screw up the case where applications have their own
hibernate jars.
>
>
> 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