geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lasantha Ranaweera <lasan...@opensource.lk>
Subject Re: JPA Enhancement Questions
Date Sat, 31 Mar 2007 05:37:46 GMT
Yes David I really helped me lot to understand this concept.

How do we do this runtime enhancement in G for different kind of JPA 
providers? Isn't this enhancement will be vary according to the JPA 
provider?

Thanks,
Lasantha

David Jencks wrote:
> if you pre-enhance the classes during the build then you can start 
> geronimo with java -jar bin/server.jar --long
>
> If you don't pre-enhance the classes so you need runtime enhancement 
> you have to start geronimo with the javaagent stuff
> java -javaagent:bin/jpa.jar -jar bin/server.jar --long
>
> AFAICT we support build time enhancement and runtime enhancement. 
> deploy time enhancement would be a good idea IMO but is not supported 
> at the moment.
>
> hope this helps...
> david jencks
>
>
> On Mar 30, 2007, at 6:14 PM, Lasantha Ranaweera wrote:
>
>> Hi,
>>
>> According to the OpenJPA user guide there are 3 types of JPA 
>> enhancement specified.
>> 1. Build time enhancement
>> 2. Deployment enhancement.
>> 3. Runtime enhancement
>>
>> So I have a question regarding JPA enhancement in Geronimo with 
>> latest transformation module.
>> 1. Do we need to enhance JPA testsuite classes in both build time 
>> (with m2 plugin) and runtime (with jpa.jar) ?
>>
>> If somebody can explain this enhancement work (with new transform 
>> module) in G perspective that would be big help.
>>
>>
>> Thanks,
>> Lasantha
>>
>
>


Mime
View raw message