public class TransformerDao extends DaoForEntityWithSurrogateKey<Transformer>
Modifier and Type | Field and Description |
---|---|
static String |
TABLE_NAME |
KEY_COLUMN
logger, TABLE_NAME_PREFIX
Constructor and Description |
---|
TransformerDao() |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.jdbc.core.simple.ParameterizedRowMapper<Transformer> |
getRowMapper()
Returns the row mapper that creates an instance of the business object from a query result set.
|
String |
getTableName()
Returns the name of the table that contains business entities represented by
|
void |
save(Transformer item)
Saves a business object to the database.
|
void |
update(Transformer item) |
delete, delete, deleteRaw, getLastInsertId, load, saveAndGetKey
copyBetweenTablesBy, getSelectAndFromClause, loadAll, loadAllBy, loadAllBy, loadBy, postLoadAllBy, postLoadBy
boolToSmallint, createVirtuosoConnectionWrapper, executeInTransaction, getLookupFactory, jdbcQuery, jdbcQuery, jdbcQueryForInt, jdbcQueryForInt, jdbcQueryForInt, jdbcQueryForList, jdbcQueryForObject, jdbcQueryForObject, jdbcQueryForObject, jdbcQueryForObject, jdbcUpdate, jdbcUpdate, jdbcUpdate, setDaoLookupFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
loadAllBy
public static final String TABLE_NAME
public String getTableName()
DaoTemplate
getTableName
in class DaoTemplate<Transformer>
protected org.springframework.jdbc.core.simple.ParameterizedRowMapper<Transformer> getRowMapper()
DaoTemplate
getRowMapper
in class DaoTemplate<Transformer>
public void save(Transformer item) throws Exception
DaoForEntityWithSurrogateKey
UnsupportedOperationException
.save
in class DaoForEntityWithSurrogateKey<Transformer>
Exception
public void update(Transformer item) throws Exception
item
- Exception
Copyright © 2013. All Rights Reserved.