( documentation for Telosys generator version 3.3.0 )
Object providing the JDBC SQL requests for a given entity
Since : 2.1.1
Attributes and methods |
.attributesForInsert : List
Returns the list of all the attributes required for the SQL INSERT |
.attributesForPrimaryKey : List
Returns the list of all the attributes required for the Primary Key |
.attributesForSelect : List
Returns the list of all the attributes required for the SQL SELECT |
.attributesForUpdate : List
Returns the list of all the attributes required for the SQL UPDATE |
.preparedStatementSetter(AttributeInContext attribute) : String
Returns PreparedStatement setter according to the attribute type |
.resultSetGetter(AttributeInContext attribute) : String
Returns ResultSet getter according to the attribute type |
.sqlDelete : String
Returns the JDBC SQL DELETE request |
.sqlInsert : String
Returns the JDBC SQL INSERT request |
.sqlSelect : String
Returns the JDBC SQL 'SELECT xxx FROM xxx' request |
.sqlSelectCount : String
Returns the JDBC SQL 'SELECT COUNT(*) FROM xxx' request |
.sqlSelectCountWherePK : String
Returns the JDBC SQL 'SELECT COUNT(*) FROM xxx WHERE pk = xxx' request |
.sqlSelectWherePK : String
Returns the JDBC SQL 'SELECT xxx FROM xxx WHERE pk = xxx' request |
.sqlUpdate : String
Returns the JDBC SQL UPDATE request |
.valueForPreparedStatement(AttributeInContext attribute, String name) : String
Returns the attribute's value to be set in the PreparedStatement |