Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Ive been using another JDO implementation and would like to use JPOX. What do i do ?

Implementation JDO JPOX
0
10 Posted

Ive been using another JDO implementation and would like to use JPOX. What do i do ?

0

The only real changes you need to make are to any Meta-Data files. The MetaData file contains two types. The first type is generic (standard) JDO MetaData defined by the JDO specification. This is common across all JDO implementations and this will not need changing. The second type is vendor-specific and by definition will be specific to the JDO implementation being used. The vendor-specific MetaData is contained within the XML tag extension, specifying the vendor-name attribute that it applies to. If you want your code to run in several JDO implementations you can include several extension tags some for JPOX and some for your other JDO implementations. This results in your application being more portable – though clearly the most portable will be MetaData that contains no vendor extension tags.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.