com.scooterframework.orm.sqldataexpress.object
Interface OmniDTOJdbcStatement

All Superinterfaces:
OmniDTOBasic, java.io.Serializable
All Known Implementing Classes:
OmniDTO

public interface OmniDTOJdbcStatement
extends OmniDTOBasic

OmniDTOJdbcStatement interface defines methods for results from jdbc statement processing.


Method Summary
 long getGeneratedKey()
          returns generated key value as long.
 int getUpdatedRowCount()
          returns updatedRowCount
 void setGeneratedKey(long generatedKey)
          sets getGeneratedKey
 void setUpdatedRowCount(int updatedRowCount)
          sets updatedRowCount
 
Methods inherited from interface com.scooterframework.orm.sqldataexpress.object.OmniDTOBasic
addChildrenOmniDTOToList, addChildrenOmniDTOToMap, addTableData, getChildrenOmniDTOFromList, getChildrenOmniDTOFromMap, getChildrenOmniDTOList, getChildrenOmniDTOMap, getProcessorName, getProcessorType, getTableData, getTableDataMap, setProcessorName, setProcessorType, toString, toXML
 

Method Detail

getUpdatedRowCount

int getUpdatedRowCount()
returns updatedRowCount


setUpdatedRowCount

void setUpdatedRowCount(int updatedRowCount)
sets updatedRowCount


getGeneratedKey

long getGeneratedKey()
returns generated key value as long. Note: Only one primary key column is allowed to be auto generated. return -1 if the underlying database does not support generatedKeys feature or if the sql statement is not a ddl statement.


setGeneratedKey

void setGeneratedKey(long generatedKey)
sets getGeneratedKey