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 TypeMethodDescriptionvoid
Deprecated.Commit transaction.int
Deprecated.Delete.int
Deprecated.Delete.void
Deprecated.End transaction.int
Deprecated.Execute batch.Deprecated.Execute batch detailed.void
Deprecated.Flush data cache.void
flushDataCache
(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.boolean
Deprecated.Checks if is enhancement enabled.boolean
Deprecated.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.void
queryWithRowHandler
(String id, RowHandler rowHandler) Deprecated.Query with row handler.void
queryWithRowHandler
(String id, Object paramObject, RowHandler rowHandler) Deprecated.Query with row handler.void
setUserConnection
(Connection connection) Deprecated.Sets the user connection.void
Deprecated.Start batch.void
Deprecated.Start transaction.void
startTransaction
(int transactionIsolation) Deprecated.Start transaction.int
Deprecated.Update.int
Deprecated.Update.
-
Method Details
-
insert
Deprecated.Insert.- Specified by:
insert
in interfaceSqlMapExecutor
- Parameters:
id
- the idparam
- the param- Returns:
- the object
- Throws:
SQLException
- the SQL exception
-
insert
Deprecated.Insert.- Specified by:
insert
in interfaceSqlMapExecutor
- Parameters:
id
- the id- Returns:
- the object
- Throws:
SQLException
- the SQL exception
-
update
Deprecated.Update.- Specified by:
update
in interfaceSqlMapExecutor
- Parameters:
id
- the idparam
- the param- Returns:
- the int
- Throws:
SQLException
- the SQL exception
-
update
Deprecated.Update.- Specified by:
update
in interfaceSqlMapExecutor
- Parameters:
id
- the id- Returns:
- the int
- Throws:
SQLException
- the SQL exception
-
delete
Deprecated.Delete.- Specified by:
delete
in interfaceSqlMapExecutor
- Parameters:
id
- the idparam
- the param- Returns:
- the int
- Throws:
SQLException
- the SQL exception
-
delete
Deprecated.Delete.- Specified by:
delete
in interfaceSqlMapExecutor
- Parameters:
id
- the id- Returns:
- the int
- Throws:
SQLException
- the SQL exception
-
queryForObject
Deprecated.Query for object.- Specified by:
queryForObject
in interfaceSqlMapExecutor
- Parameters:
id
- the idparamObject
- the param object- Returns:
- the object
- Throws:
SQLException
- the SQL exception
-
queryForObject
Deprecated.Query for object.- Specified by:
queryForObject
in interfaceSqlMapExecutor
- Parameters:
id
- the id- Returns:
- the object
- Throws:
SQLException
- the SQL exception
-
queryForObject
Deprecated.Query for object.- Specified by:
queryForObject
in 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:
queryForList
in interfaceSqlMapExecutor
- Parameters:
id
- the idparamObject
- the param object- Returns:
- the list
- Throws:
SQLException
- the SQL exception
-
queryForList
Deprecated.Query for list.- Specified by:
queryForList
in interfaceSqlMapExecutor
- Parameters:
id
- the id- Returns:
- the list
- Throws:
SQLException
- the SQL exception
-
queryForList
Deprecated.Query for list.- Specified by:
queryForList
in 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:
queryForList
in 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:
queryForPaginatedList
in 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:
queryForPaginatedList
in interfaceSqlMapExecutor
- Parameters:
id
- the idpageSize
- the page size- Returns:
- the paginated list
- Throws:
SQLException
- the SQL exception
-
queryForMap
Deprecated.Query for map.- Specified by:
queryForMap
in 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:
queryForMap
in 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:
queryWithRowHandler
in interfaceSqlMapExecutor
- Parameters:
id
- the idparamObject
- the param objectrowHandler
- the row handler- Throws:
SQLException
- the SQL exception
-
queryWithRowHandler
Deprecated.Query with row handler.- Specified by:
queryWithRowHandler
in interfaceSqlMapExecutor
- Parameters:
id
- the idrowHandler
- the row handler- Throws:
SQLException
- the SQL exception
-
startTransaction
Deprecated.Start transaction.- Specified by:
startTransaction
in interfaceSqlMapTransactionManager
- Throws:
SQLException
- the SQL exception
-
startTransaction
Deprecated.Start transaction.- Specified by:
startTransaction
in interfaceSqlMapTransactionManager
- Parameters:
transactionIsolation
- the transaction isolation- Throws:
SQLException
- the SQL exception
-
commitTransaction
Deprecated.Commit transaction.- Specified by:
commitTransaction
in interfaceSqlMapTransactionManager
- Throws:
SQLException
- the SQL exception
-
endTransaction
Deprecated.End transaction.- Specified by:
endTransaction
in interfaceSqlMapTransactionManager
- Throws:
SQLException
- the SQL exception
-
startBatch
Deprecated.Start batch.- Specified by:
startBatch
in interfaceSqlMapExecutor
- Throws:
SQLException
- the SQL exception
-
executeBatch
Deprecated.Execute batch.- Specified by:
executeBatch
in interfaceSqlMapExecutor
- Returns:
- the int
- Throws:
SQLException
- the SQL exception
-
executeBatchDetailed
Deprecated.Execute batch detailed.- Specified by:
executeBatchDetailed
in interfaceSqlMapExecutor
- Returns:
- the list
- Throws:
SQLException
- the SQL exceptionBatchException
- the batch exception- See Also:
-
setUserConnection
Deprecated.Sets the user connection.- Specified by:
setUserConnection
in interfaceSqlMapTransactionManager
- Parameters:
connection
- the new user connection- Throws:
SQLException
- the SQL exception
-
getUserConnection
Deprecated.Gets the user connection.- Specified by:
getUserConnection
in interfaceSqlMapTransactionManager
- Returns:
- the user connection
- Throws:
SQLException
- the SQL exception
-
getCurrentConnection
Deprecated.Gets the current connection.- Specified by:
getCurrentConnection
in interfaceSqlMapTransactionManager
- Returns:
- the current connection
- Throws:
SQLException
- the SQL exception
-
getDataSource
DataSource getDataSource()Deprecated.Gets the data source.- Specified by:
getDataSource
in 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:
openSession
in interfaceSqlMapClient
- Returns:
- the sql map session
-
openSession
Deprecated.Open session.- Specified by:
openSession
in interfaceSqlMapClient
- Parameters:
conn
- the conn- Returns:
- the sql map session
-
getSession
SqlMapSession getSession()Deprecated.Gets the session.- Specified by:
getSession
in interfaceSqlMapClient
- Returns:
- the session
-
flushDataCache
void flushDataCache()Deprecated.Flush data cache.- Specified by:
flushDataCache
in interfaceSqlMapClient
-
flushDataCache
Deprecated.Flush data cache.- Specified by:
flushDataCache
in interfaceSqlMapClient
- Parameters:
cacheId
- the cache id
-
getResultObjectFactory
ResultObjectFactory getResultObjectFactory()Deprecated.Gets the result object factory.- Returns:
- the result object factory
-