public class SQLNameInsert.BogusController extends ProductController
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
ivSQLName
The configured SQL name for the connection info's pool.
|
private static long |
serialVersionUID
The class' serialization version id.
|
LT_INCLUDE
ivDBObjCls, ivFieldCount, ivFieldKeyAlt, ivFieldKeyPri, ivFieldResPfx, ivSyncLast, ivSyncType, ivTableName
ivHashCode, ivHashFlds, ivObjAttrs
Constructor and Description |
---|
BogusController(JDBCConnectionInfo cninf)
The constructor for the controller.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStatementForDelete()
Returns the SQL delete statement string for the table associated with
the controller.
|
java.lang.String |
getStatementForGet()
Returns the SQL get statement string for the table associated with
the controller.
|
java.lang.String |
getStatementForGetAll()
Returns the SQL get all statement string for the table associated with
the controller.
|
java.lang.String |
getStatementForInsert()
Returns the SQL insert statement string for the table associated with
the controller.
|
java.lang.String |
getStatementForUpdate()
Returns the SQL update statement string for the table associated with
the controller.
|
private java.lang.String |
stripSQLName(java.lang.String sql)
Strips the configured SQL name for the connection info's pool from the
given SQL statement.
|
delete, get, get, getAllAsRS, getAutoComplete, getAutoCompleteCodes, getAutoCompleteCodes, getAutoCompleteUoms, getAutoCompleteUoms, getCategory, getCategory, getForCode, getInStock, getInStock, getMatching, getMatching, getMatchingByStringCriteria, hasCategory, hasLeadtime, hasManufacturer, hasProduct, hasProduct, hasUom, includeLeadtimes, setRealtimeInfo, setRealtimeInfo, valuesToObject
add, add, add, arrayToMap, arrayToMap, countAll, delete, delete, deleteAll, dispose, equals, getAll, getConnection, getConnectionInfo, getController, getFieldNames, getFieldNamesForKey, getFieldNamesForUpdate, getFieldNulls, getFieldNullsForKey, getFieldNullsForUpdate, getFieldsForOrderBy, getFieldsForWhere, getFieldSize, getFieldTypes, getFieldTypesForKey, getFieldTypesForUpdate, getStatementKey, getStatementString, getTableName, hasFieldNamesForKey, hasFieldNamesForUpdate, isDuplicate, resultSetToArray, resultSetToMap, resultSetToMap, resultSetToObject, setConnectionInfo, setPSDeleteValues, setPSExistsValues, setPSInsertValues, setPSUpdateValues, setPSValue, update, update
cloneMapAttributes, formatValue, formatValue, getHashFields, getMapArrayList, getMapAttributes, getMapBigDecimal, getMapBoolean, getMapDate, getMapDouble, getMapInteger, getMapLong, getMapMapped, getMapObject, getMapShort, getMapString, getMapString, getMapStringBuffer, getMapStringBuilder, getMapTime, getMapTimestamp, getMapVector, hashCode, setHashFields, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMapAttributes, setMapObject, setMapTime, setMapTimestamp, toStringArray
private static final long serialVersionUID
private java.lang.String ivSQLName
public BogusController(JDBCConnectionInfo cninf)
cninf
- (JDBCConnectionInfo) The JDBC connection to use.public java.lang.String getStatementForDelete()
getStatementForDelete
in class JDBCObjectController<Product>
public java.lang.String getStatementForGet()
getStatementForGet
in class JDBCObjectController<Product>
public java.lang.String getStatementForGetAll()
getStatementForGetAll
in class JDBCObjectController<Product>
public java.lang.String getStatementForInsert()
getStatementForInsert
in class JDBCObjectController<Product>
public java.lang.String getStatementForUpdate()
getStatementForUpdate
in class JDBCObjectController<Product>
private java.lang.String stripSQLName(java.lang.String sql)