Package com.ibatis.sqlmap.engine.impl
Interface ExtendedSqlMapClient
- All Superinterfaces:
SqlMapClient,SqlMapExecutor,SqlMapTransactionManager
- All Known Implementing Classes:
SqlMapClientImpl
Deprecated.
- this class is uneccessary and should be removed as soon as possible. Currently spring integration
depends on it.
The Interface ExtendedSqlMapClient.
-
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Commit transaction.intDeprecated.Delete.intDeprecated.Delete.voidDeprecated.End transaction.intDeprecated.Execute batch.Deprecated.Execute batch detailed.voidDeprecated.Flush data cache.voidflushDataCache(String cacheId) Deprecated.Flush data cache.Deprecated.Gets the current connection.Deprecated.Gets the data source.Deprecated.Gets the delegate.Deprecated.Gets the mapped statement.Deprecated.Gets the result object factory.Deprecated.Gets the session.Deprecated.Gets the sql executor.Deprecated.Gets the user connection.Deprecated.Insert.Deprecated.Insert.booleanDeprecated.Checks if is enhancement enabled.booleanDeprecated.Checks if is lazy loading enabled.Deprecated.Open session.openSession(Connection conn) Deprecated.Open session.queryForList(String id) Deprecated.Query for list.queryForList(String id, int skip, int max) Deprecated.Query for list.queryForList(String id, Object paramObject) Deprecated.Query for list.queryForList(String id, Object paramObject, int skip, int max) Deprecated.Query for list.queryForMap(String id, Object paramObject, String keyProp) Deprecated.Query for map.queryForMap(String id, Object paramObject, String keyProp, String valueProp) Deprecated.Query for map.queryForObject(String id) Deprecated.Query for object.queryForObject(String id, Object paramObject) Deprecated.Query for object.queryForObject(String id, Object paramObject, Object resultObject) Deprecated.Query for object.queryForPaginatedList(String id, int pageSize) Deprecated.Query for paginated list.queryForPaginatedList(String id, Object paramObject, int pageSize) Deprecated.Query for paginated list.voidqueryWithRowHandler(String id, RowHandler rowHandler) Deprecated.Query with row handler.voidqueryWithRowHandler(String id, Object paramObject, RowHandler rowHandler) Deprecated.Query with row handler.voidsetUserConnection(Connection connection) Deprecated.Sets the user connection.voidDeprecated.Start batch.voidDeprecated.Start transaction.voidstartTransaction(int transactionIsolation) Deprecated.Start transaction.intDeprecated.Update.intDeprecated.Update.
-
Method Details
-
insert
Deprecated.Insert.- Specified by:
insertin interfaceSqlMapExecutor- Parameters:
id- the idparam- the param- Returns:
- the object
- Throws:
SQLException- the SQL exception
-
insert
Deprecated.Insert.- Specified by:
insertin interfaceSqlMapExecutor- Parameters:
id- the id- Returns:
- the object
- Throws:
SQLException- the SQL exception
-
update
Deprecated.Update.- Specified by:
updatein interfaceSqlMapExecutor- Parameters:
id- the idparam- the param- Returns:
- the int
- Throws:
SQLException- the SQL exception
-
update
Deprecated.Update.- Specified by:
updatein interfaceSqlMapExecutor- Parameters:
id- the id- Returns:
- the int
- Throws:
SQLException- the SQL exception
-
delete
Deprecated.Delete.- Specified by:
deletein interfaceSqlMapExecutor- Parameters:
id- the idparam- the param- Returns:
- the int
- Throws:
SQLException- the SQL exception
-
delete
Deprecated.Delete.- Specified by:
deletein interfaceSqlMapExecutor- Parameters:
id- the id- Returns:
- the int
- Throws:
SQLException- the SQL exception
-
queryForObject
Deprecated.Query for object.- Specified by:
queryForObjectin interfaceSqlMapExecutor- Parameters:
id- the idparamObject- the param object- Returns:
- the object
- Throws:
SQLException- the SQL exception
-
queryForObject
Deprecated.Query for object.- Specified by:
queryForObjectin interfaceSqlMapExecutor- Parameters:
id- the id- Returns:
- the object
- Throws:
SQLException- the SQL exception
-
queryForObject
Deprecated.Query for object.- Specified by:
queryForObjectin interfaceSqlMapExecutor- Parameters:
id- the idparamObject- the param objectresultObject- the result object- Returns:
- the object
- Throws:
SQLException- the SQL exception
-
queryForList
Deprecated.Query for list.- Specified by:
queryForListin interfaceSqlMapExecutor- Parameters:
id- the idparamObject- the param object- Returns:
- the list
- Throws:
SQLException- the SQL exception
-
queryForList
Deprecated.Query for list.- Specified by:
queryForListin interfaceSqlMapExecutor- Parameters:
id- the id- Returns:
- the list
- Throws:
SQLException- the SQL exception
-
queryForList
Deprecated.Query for list.- Specified by:
queryForListin interfaceSqlMapExecutor- Parameters:
id- the idparamObject- the param objectskip- the skipmax- the max- Returns:
- the list
- Throws:
SQLException- the SQL exception
-
queryForList
Deprecated.Query for list.- Specified by:
queryForListin interfaceSqlMapExecutor- Parameters:
id- the idskip- the skipmax- the max- Returns:
- the list
- Throws:
SQLException- the SQL exception
-
queryForPaginatedList
PaginatedList queryForPaginatedList(String id, Object paramObject, int pageSize) throws SQLException Deprecated.Query for paginated list.- Specified by:
queryForPaginatedListin interfaceSqlMapExecutor- Parameters:
id- the idparamObject- the param objectpageSize- the page size- Returns:
- the paginated list
- Throws:
SQLException- the SQL exception
-
queryForPaginatedList
Deprecated.Query for paginated list.- Specified by:
queryForPaginatedListin interfaceSqlMapExecutor- Parameters:
id- the idpageSize- the page size- Returns:
- the paginated list
- Throws:
SQLException- the SQL exception
-
queryForMap
Deprecated.Query for map.- Specified by:
queryForMapin interfaceSqlMapExecutor- Parameters:
id- the idparamObject- the param objectkeyProp- the key prop- Returns:
- the map
- Throws:
SQLException- the SQL exception
-
queryForMap
Map queryForMap(String id, Object paramObject, String keyProp, String valueProp) throws SQLException Deprecated.Query for map.- Specified by:
queryForMapin interfaceSqlMapExecutor- Parameters:
id- the idparamObject- the param objectkeyProp- the key propvalueProp- the value prop- Returns:
- the map
- Throws:
SQLException- the SQL exception
-
queryWithRowHandler
Deprecated.Query with row handler.- Specified by:
queryWithRowHandlerin interfaceSqlMapExecutor- Parameters:
id- the idparamObject- the param objectrowHandler- the row handler- Throws:
SQLException- the SQL exception
-
queryWithRowHandler
Deprecated.Query with row handler.- Specified by:
queryWithRowHandlerin interfaceSqlMapExecutor- Parameters:
id- the idrowHandler- the row handler- Throws:
SQLException- the SQL exception
-
startTransaction
Deprecated.Start transaction.- Specified by:
startTransactionin interfaceSqlMapTransactionManager- Throws:
SQLException- the SQL exception
-
startTransaction
Deprecated.Start transaction.- Specified by:
startTransactionin interfaceSqlMapTransactionManager- Parameters:
transactionIsolation- the transaction isolation- Throws:
SQLException- the SQL exception
-
commitTransaction
Deprecated.Commit transaction.- Specified by:
commitTransactionin interfaceSqlMapTransactionManager- Throws:
SQLException- the SQL exception
-
endTransaction
Deprecated.End transaction.- Specified by:
endTransactionin interfaceSqlMapTransactionManager- Throws:
SQLException- the SQL exception
-
startBatch
Deprecated.Start batch.- Specified by:
startBatchin interfaceSqlMapExecutor- Throws:
SQLException- the SQL exception
-
executeBatch
Deprecated.Execute batch.- Specified by:
executeBatchin interfaceSqlMapExecutor- Returns:
- the int
- Throws:
SQLException- the SQL exception
-
executeBatchDetailed
Deprecated.Execute batch detailed.- Specified by:
executeBatchDetailedin interfaceSqlMapExecutor- Returns:
- the list
- Throws:
SQLException- the SQL exceptionBatchException- the batch exception- See Also:
-
setUserConnection
Deprecated.Sets the user connection.- Specified by:
setUserConnectionin interfaceSqlMapTransactionManager- Parameters:
connection- the new user connection- Throws:
SQLException- the SQL exception
-
getUserConnection
Deprecated.Gets the user connection.- Specified by:
getUserConnectionin interfaceSqlMapTransactionManager- Returns:
- the user connection
- Throws:
SQLException- the SQL exception
-
getCurrentConnection
Deprecated.Gets the current connection.- Specified by:
getCurrentConnectionin interfaceSqlMapTransactionManager- Returns:
- the current connection
- Throws:
SQLException- the SQL exception
-
getDataSource
DataSource getDataSource()Deprecated.Gets the data source.- Specified by:
getDataSourcein interfaceSqlMapTransactionManager- Returns:
- the data source
-
getMappedStatement
Deprecated.Gets the mapped statement.- Parameters:
id- the id- Returns:
- the mapped statement
-
isLazyLoadingEnabled
boolean isLazyLoadingEnabled()Deprecated.Checks if is lazy loading enabled.- Returns:
- true, if is lazy loading enabled
-
isEnhancementEnabled
boolean isEnhancementEnabled()Deprecated.Checks if is enhancement enabled.- Returns:
- true, if is enhancement enabled
-
getSqlExecutor
SqlExecutor getSqlExecutor()Deprecated.Gets the sql executor.- Returns:
- the sql executor
-
getDelegate
SqlMapExecutorDelegate getDelegate()Deprecated.Gets the delegate.- Returns:
- the delegate
-
openSession
SqlMapSession openSession()Deprecated.Open session.- Specified by:
openSessionin interfaceSqlMapClient- Returns:
- the sql map session
-
openSession
Deprecated.Open session.- Specified by:
openSessionin interfaceSqlMapClient- Parameters:
conn- the conn- Returns:
- the sql map session
-
getSession
SqlMapSession getSession()Deprecated.Gets the session.- Specified by:
getSessionin interfaceSqlMapClient- Returns:
- the session
-
flushDataCache
void flushDataCache()Deprecated.Flush data cache.- Specified by:
flushDataCachein interfaceSqlMapClient
-
flushDataCache
Deprecated.Flush data cache.- Specified by:
flushDataCachein interfaceSqlMapClient- Parameters:
cacheId- the cache id
-
getResultObjectFactory
ResultObjectFactory getResultObjectFactory()Deprecated.Gets the result object factory.- Returns:
- the result object factory
-