ORM.jar and annotations.jar


I’ve generated persistable classes easily with VP-UML. However, two libraries are given with the generation. I thought I could use any version of Hibernate but its configuration seems to be linked in the jar (that why the mapping file is in a specific directory src/ormmapping).

So my question is: How to use the generated classes without using your libraries?
If I have to use them, could I know what libraries and which version are included in your orm’s and annotations’ jar files?

Thank you for your time.

Hi Ame,

Thanks for your post. In Database Code Generation dialog, you can press Select Optional Jar button and uncheck ORM Persistable Engine in the list (see attached image), then it will generate ORM code with your libraries.

Hope this helps. If there is any further inquiry, please do not hesitate to ask.

Best regards,
Lilian Wong


Thank you very much for your quick answer.