Hi,

On Dec 23, 2009, at 10:15 AM, Pinaki Poddar wrote:

I wish again that OpenJPA or JPA in general had an extension mechanism
for the orm.xml.  This is something that might be better in XML
configuration than annotations.

I agree, and I believe this is a major deficiency in the JPA specification, and it's been raised numerous times.

The JPA spec does not provide for extension points, neither in annotations nor in xml. And the fact that all JCP specifications require that vendors must not extend the specified xml means that vendors must have their own separate annotations in their own name spaces, and they must have a completely different "orm.xml" in their own name spaces in order to complement (not extend) the orm.

Craig

Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:[email protected]
P.S. A good JDO? O, Gasp!

Reply via email to