public void addGenerator ( IdGenerator generator ) { checkReadOnly ( ) ; DialectException . assureNotNull ( generator ) ; DialectException . assureNotNull ( generator . getGenerationType ( ) ) ; DialectException . assureNotEmpty ( generator . getIdGenName ( ) , "IdGenerator name can not be empty" ) ; getIdGenerators ( ) . add ( generator ) ; }
Add a create table ... DDL to generate ID similar like JPA s TableGen