public void setUp()
throws Exception {
JDBCConfiguration conf = new JDBCConfigurationImpl();
conf.setSchemaFactory(DynamicSchemaFactory.class.getName());
MappingRepository repos = conf.newMappingRepositoryInstance();
_mapping = repos.getMapping(MappingTest1.class, null, true);
}
public void testClassMapping() {
Table table = _mapping.getTable();