This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
From Menu>Tools>DTDsAndXML there is a "Persistence Catalog" but only JPA-1.0 is available
In MenuBar>Tools>DTDandXML there is a Persistence catalog, but it only contains JPA-1.0. workaround is to add 2.0 from glassfish to user catalog.
Not sure the workaround actually works. I registered the orm schema from glassfish-v3-b62/glassfish/lib/schemas/orm_2_0.xsd, after doing that I tried the edit button and it came up with a lot of error indications. This may be a bug against some other part of NB if this is in fact a well formed schema.
schema is not available on http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd also, but may be can be added to this list anyway.
http://hg.netbeans.org/web-main/rev/56c668f6fc8a
Integrated into 'main-golden', will be available in build *200909151512* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/56c668f6fc8a User: sergeyp@netbeans.org Log: fix #172118 - added jpa2.0 schemas to persistence catalog