* This test does not take into account and DB specific reserved words and
* can be run with any DBDictionary.
* </P>
*/
public void testSQLKeywords() {
OpenJPAEntityManagerFactorySPI emf =
(OpenJPAEntityManagerFactorySPI) Persistence
.createEntityManagerFactory("test");
MappingRepository repos =
(MappingRepository) emf.getConfiguration()
.getMetaDataRepositoryInstance();
assertEquals("SELECT_ID", repos.getMapping(Inner1.class, null, true)
.getFieldMapping("select").getColumns()[0].getName());