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.

Bug 172118 - JPA 2.0 schema's not available
Summary: JPA 2.0 schema's not available
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-14 01:37 UTC by err
Modified: 2009-09-16 01:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description err 2009-09-14 01:37:47 UTC
From Menu>Tools>DTDsAndXML there is a "Persistence Catalog" but only JPA-1.0 is available
Comment 1 err 2009-09-14 01:49:22 UTC
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.
Comment 2 err 2009-09-14 02:00:20 UTC
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.
Comment 3 Sergey Petrov 2009-09-14 09:00:58 UTC
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.
Comment 4 Sergey Petrov 2009-09-14 10:14:16 UTC
http://hg.netbeans.org/web-main/rev/56c668f6fc8a
Comment 5 Quality Engineering 2009-09-16 01:09:50 UTC
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