Thanks JL!

Yes, I'm actively working on it. You can get a sneak preview over here. Will 
push it once PCEnhancer is fully ASM.

https://github.com/struberg/openjpa/tree/fb_asmEnhance

Happy to get some feedback!

txs and LieGrue,
strub

> Am 26.06.2023 um 16:20 schrieb Jean-Louis Monteiro <jlmonte...@tomitribe.com>:
> 
> Hi,
> 
> The reason is that OpenJPA has not fully been converted to Jakarta.
> Using the link you provided, it's possible to use the classifier Jakarta to
> run your jakarta based applications. We have successfully been using this
> in various projects including TomEE.
> 
> Mark is actively working on converting the source code to jakarta, getting
> rid of Serp and catching up with some new features. He's moving really fast
> and is doing a fantastic job. So hopefully, we can get something ready
> fairly quick. But I don't want to speak on his behalf.
> 
> If you have some more logs or if you can reproduce the issue on a small
> sample in Github, we can maybe have a look.
> 
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
> 
> 
> On Mon, Jun 26, 2023 at 9:58 AM Tiwari, Abha (Baker Hughes Contractor)
> <abha.tiw...@bakerhughes.com.invalid> wrote:
> 
>> Hi Team,
>> 
>> I have been trying to upgrade my project to spring 3.1.0 . It currently
>> uses OpenJpa with java persistence schema 1.x.
>> 
>> If I upgrade the javax.persistence packages to jakarta.persistence
>> packages, with http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd
>> schema or any of the schema using "http://java.sun.com"; path, it compiles
>> but at runtime it throws the error that:
>> Caused by: org.apache.openjpa.util.MetaDataException: The type "class
>> com.x.x.x.xEntity" has not been enhanced.
>> 
>> I tried looking for Jakarta schema 2.2, which I am not sure is currently
>> supported by OpenJpa, but at some places it suggests it does.
>> 
>> I did found the below link :
>> https://rmannibucau.metawerx.net/openjpa-jakarta-tips.html
>> But I was facing the same error mentioned above even after following the
>> steps mentioned in the link.
>> Am I missing something.
>> 
>> Also, can you please confirm, if OpenJpa supports Jakarta persistence. If
>> yes, would you be able to provide some code samples.
>> 
>> Thanks and regards,
>> Abha Tiwari
>> 

Reply via email to