public class PersistentEntityIdGenerator extends java.lang.Object implements EntityIdGenerator
Modifier | Constructor and Description |
---|---|
protected |
PersistentEntityIdGenerator(SqlEntityData parent) |
Modifier and Type | Method and Description |
---|---|
static PersistentEntityIdGenerator |
create(SqlEntityData parent) |
protected void |
loadId(SqlSession session) |
long |
nextEntityId() |
protected PersistentEntityIdGenerator(SqlEntityData parent) throws java.sql.SQLException
java.sql.SQLException
public static PersistentEntityIdGenerator create(SqlEntityData parent) throws java.sql.SQLException
java.sql.SQLException
protected void loadId(SqlSession session) throws java.sql.SQLException
java.sql.SQLException
public long nextEntityId()
nextEntityId
in interface EntityIdGenerator