DB db = DBFactory.create(
getDatabaseProperty(name, "driver") );
map.addIdGenerator(TableMap.AUTOINCREMENT,
new AutoIncrementIdGenerator(db) );
map.addIdGenerator(TableMap.SEQUENCE,
new SequenceIdGenerator(db) );
}
catch (java.lang.InstantiationException e)
{
throw new TurbineException(e);
}