Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.ibatis.db.sqlmap
Class SqlMap  view SqlMap download SqlMap.java

java.lang.Object
  extended bycom.ibatis.db.sqlmap.SqlMap

public class SqlMap
extends java.lang.Object


Field Summary
private  com.ibatis.sqlmap.client.SqlMapClient client
           
 
Constructor Summary
SqlMap(com.ibatis.sqlmap.client.SqlMapClient client)
           
 
Method Summary
 void commitTransaction()
           
 void endBatch()
           
 java.util.List executeQueryForList(java.lang.String statementName, java.lang.Object parameterObject)
           
 java.util.List executeQueryForList(java.lang.String statementName, java.lang.Object parameterObject, int skipResults, int maxResults)
           
 java.util.Map executeQueryForMap(java.lang.String statementName, java.lang.Object parameterObject, java.lang.String keyProperty)
           
 java.util.Map executeQueryForMap(java.lang.String statementName, java.lang.Object parameterObject, java.lang.String keyProperty, java.lang.String valueProperty)
           
 java.lang.Object executeQueryForObject(java.lang.String statementName, java.lang.Object parameterObject)
           
 java.lang.Object executeQueryForObject(java.lang.String statementName, java.lang.Object parameterObject, java.lang.Object resultObject)
           
 com.ibatis.common.util.PaginatedList executeQueryForPaginatedList(java.lang.String statementName, java.lang.Object parameterObject, int pageSize)
           
 void executeQueryWithRowHandler(java.lang.String statementName, java.lang.Object parameterObject, RowHandler rowHandler)
           
 int executeUpdate(java.lang.String statementName, java.lang.Object parameterObject)
           
 javax.sql.DataSource getDataSource()
           
 MappedStatement getMappedStatement(java.lang.String name)
           
 void rollbackTransaction()
           
 void startBatch()
           
 void startTransaction()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

client

private com.ibatis.sqlmap.client.SqlMapClient client
Constructor Detail

SqlMap

public SqlMap(com.ibatis.sqlmap.client.SqlMapClient client)
Method Detail

getMappedStatement

public MappedStatement getMappedStatement(java.lang.String name)

startTransaction

public void startTransaction()
                      throws java.sql.SQLException

commitTransaction

public void commitTransaction()
                       throws java.sql.SQLException

rollbackTransaction

public void rollbackTransaction()
                         throws java.sql.SQLException

executeUpdate

public int executeUpdate(java.lang.String statementName,
                         java.lang.Object parameterObject)
                  throws java.sql.SQLException

executeQueryForObject

public java.lang.Object executeQueryForObject(java.lang.String statementName,
                                              java.lang.Object parameterObject)
                                       throws java.sql.SQLException

executeQueryForObject

public java.lang.Object executeQueryForObject(java.lang.String statementName,
                                              java.lang.Object parameterObject,
                                              java.lang.Object resultObject)
                                       throws java.sql.SQLException

executeQueryForMap

public java.util.Map executeQueryForMap(java.lang.String statementName,
                                        java.lang.Object parameterObject,
                                        java.lang.String keyProperty)
                                 throws java.sql.SQLException

executeQueryForMap

public java.util.Map executeQueryForMap(java.lang.String statementName,
                                        java.lang.Object parameterObject,
                                        java.lang.String keyProperty,
                                        java.lang.String valueProperty)
                                 throws java.sql.SQLException

executeQueryForList

public java.util.List executeQueryForList(java.lang.String statementName,
                                          java.lang.Object parameterObject)
                                   throws java.sql.SQLException

executeQueryForList

public java.util.List executeQueryForList(java.lang.String statementName,
                                          java.lang.Object parameterObject,
                                          int skipResults,
                                          int maxResults)
                                   throws java.sql.SQLException

executeQueryForPaginatedList

public com.ibatis.common.util.PaginatedList executeQueryForPaginatedList(java.lang.String statementName,
                                                                         java.lang.Object parameterObject,
                                                                         int pageSize)
                                                                  throws java.sql.SQLException

executeQueryWithRowHandler

public void executeQueryWithRowHandler(java.lang.String statementName,
                                       java.lang.Object parameterObject,
                                       RowHandler rowHandler)
                                throws java.sql.SQLException

startBatch

public void startBatch()
                throws java.sql.SQLException

endBatch

public void endBatch()
              throws java.sql.SQLException

getDataSource

public javax.sql.DataSource getDataSource()