266912 : Metamodel API for JPA 2.0 - partial implementation snapshot
http://bugs.eclipse.org/266912
See details of what works and what is pending at
http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/metamodel_api#Snapshot_Checkin_for_Rev_4350

    The following interim snapshot of the JPA 2.0 Metamodel API implementation has been checked in under rev#, there will be several other snapshots over the next couple weeks as stubbed parts of the API are completed and the implementation is fine tuned.

    Test Model, Suite
    I will be checking in this patch tomorrow.
    http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/metamodel_api#Mapped_Superclass_Test_Model
        \jpa\eclipselink.jpa.test\resource\eclipselink-metamodel-model
        \jpa\eclipselink.jpa.test\src\org\eclipse\persistence\testing\tests\jpa\metamodel
        \jpa\eclipselink.jpa.test\src\org\eclipse\persistence\testing\models\jpa\metamodel

    JPA LRG results are unchanged from a clean 4350 build except for an intermittent failure on an existing testEMCloseAndOpen
   
    Code Reviewed
       Ongoing by Gordon, this transaction's review is pending.

diff --git a/src/javax/persistence/EntityManagerFactory.java b/src/javax/persistence/EntityManagerFactory.java
index d7a294c..c3f997d 100644
--- a/src/javax/persistence/EntityManagerFactory.java
+++ b/src/javax/persistence/EntityManagerFactory.java
@@ -72,7 +72,7 @@
      * 

      * @return Metamodel instance

      * @throws IllegalStateException

-     *             if the entity manager has been closed.

+     *             if the entity manager factory has been closed.

      */

     public Metamodel getMetamodel();