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 Summary
Constructors Constructor Description SGeneratorInsertIdentity(SFieldScalar field, java.lang.String name) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgenerateKey(SSessionJdbc session, SRecordMeta meta, SFieldScalar keyField)- 
Methods inherited from class simpleorm.sessionjdbc.SGenerator
createDDL, dropDDL, getName, theGenerator 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
SGeneratorInsertIdentity
public SGeneratorInsertIdentity(SFieldScalar field, java.lang.String name)
 
 - 
 
- 
Method Detail
- 
generateKey
public long generateKey(SSessionJdbc session, SRecordMeta meta, SFieldScalar keyField)
- Specified by:
 generateKeyin classSGenerator
 
 - 
 
 -