Netbeans6.9中如何使用Eclipselink 2.0生成 JPA2.0的 Static MetaModel classes
运行环境:netbeans7.1 +MSSqlJDBC4 +Eclipselink2.0
在编译时提示以下错误:
“org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor ”
的受支持Source版本"RELEASE_6"低于 -Source'1.7'
注: Creation non-static metadata factory....
注:Found option: eclipselink canonicalmodel. use_static_factory, with value : false
Note: Option File was not found: META-INF/orm.xml continuing with generation
Note: Option File was not found: META-INF/eclipselink-orm.xml continuing with generation
Note: Found Option : eclipselink.canonicalmodel.use_static_factory, with value:false
Note: File was not found: META-INF/orm.xml continuing with generation
Note: File was not found: META-INF/eclipselink-orm.xml continuing with generation
说明:mysql数据库和javaDB数据库测试没有此问题