Package simpleorm.sessionjdbc
Class SGeneratorInsertIdentity
- java.lang.Object
- 
- simpleorm.sessionjdbc.SGenerator
- 
- simpleorm.sessionjdbc.SGeneratorInsertIdentity
 
 
- 
 public class SGeneratorInsertIdentity extends SGenerator Generator using Identity columns which have values added by the database when rows are inserted. Only supported by some dbs, notably MSSQL.
- 
- 
Constructor SummaryConstructors Constructor Description SGeneratorInsertIdentity(SFieldScalar field, java.lang.String name)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description longgenerateKey(SSessionJdbc session, SRecordMeta meta, SFieldScalar keyField)- 
Methods inherited from class simpleorm.sessionjdbc.SGeneratorcreateDDL, dropDDL, getName, theGenerator
 
- 
 
- 
- 
- 
Constructor Detail- 
SGeneratorInsertIdentitypublic SGeneratorInsertIdentity(SFieldScalar field, java.lang.String name) 
 
- 
 - 
Method Detail- 
generateKeypublic long generateKey(SSessionJdbc session, SRecordMeta meta, SFieldScalar keyField) - Specified by:
- generateKeyin class- SGenerator
 
 
- 
 
-