Java Doc for DBServices.java in  » Database-ORM » ProjectJulp » org » julp » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database ORM » ProjectJulp » org.julp 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.julp.DBServices

DBServices
public class DBServices extends Object implements java.io.Serializable,Cloneable(Code)


Field Summary
final public static  charCOMMIT
    
protected  ObjectEJBContext
    
final public static  intIGNORE_RESULT
    
final public static  charNONE
    
final public static  intRESULT_AS_DATA_HOLDERS_LIST
    
final public static  intRESULT_AS_MAP
    
final public static  intRESULT_AS_ROWSET
    
final public static  intRESULT_AS_VECTOR
    
final public static  charROLLBACK
    
protected  booleancacheStatements
    
protected  StringcachedRowSetClassName
    
protected transient  CallableStatementcallStatement
    
protected  booleancloseResultSet
    
protected  booleancloseStatementAfterExecute
    
protected  intconcurrency
    
protected transient  Connectionconnection
    
protected  booleanconnectionClosed
    
protected  StringconnectionId
    
protected  PropertiesconnectionProperties
    
protected transient  Contextcontext
    
protected  StringcursorName
    
protected transient  DataSourcedataSource
    
protected  StringdataSourceName
    
protected  booleandebug
    
protected  booleanescapeProcessing
    
protected  intfetchDirection
    
protected  intfetchSize
    
protected  intmaxFieldSize
    
protected  intmaxNumberOfParams
    
protected  intmaxRows
    
protected  intmaxRowsToProccesInTransaction
    
protected  intmaxStatementCacheSize
    
protected  StringplaceHolder
    
protected transient  PreparedStatementpreparedStatement
    
protected  booleanproccessStoredProc
    
protected  charproccessTransactionOnCloseConnection
    
protected  booleanproccessWarnings
    
protected  intqueryTimeout
    
protected  booleanreadOnly
    
protected  booleanresetDataSource
    
protected transient  ResultSetresultSet
    
protected  intresultSetType
    
protected transient  ListresultSets
    
protected  introwsAffectedInTransaction
    
protected transient  Statementstatement
    
protected  ListstatementsCache
    
protected  ListstatementsCacheCounter
    
protected  ListstatementsId
    
protected  booleantranInProccess
    
protected  Listwarnings
    

Constructor Summary
public  DBServices()
    

Method Summary
protected synchronized  intaddCachedStatement(String statementId, PreparedStatement statementToCache)
    
protected synchronized  intaddCachedStatement(String statementId, Statement statementToCache)
    
public  voidbeginTran()
    
public  voidclearStatementCache()
    
protected  voidcloseResults()
    
public  voidcommitTran()
    
protected  voidcreateStatement()
    
public  intexecute(String sql)
    
public  intexecute(String sql, Collection params)
    
public  int[]executeBatch(String sql, Collection batch)
    
public  int[]executeBatch(Collection batch)
    
public  ListexecuteStoredProcedure(String sql, Parameters params, int proccessResult)
    
public  StringgetCachedRowSetClassName()
    
public  intgetConcurrency()
     Getter for property concurrency.
public  java.sql.ConnectiongetConnection()
     Getter for property connection.
public  java.lang.StringgetConnectionId()
     Getter for property connectionId.
public  java.util.PropertiesgetConnectionProperties()
     Getter for property connectionProperties.
public  javax.naming.ContextgetContext()
     Getter for property context.
public  StringgetCursorName()
    
public  javax.sql.DataSourcegetDataSource()
     Getter for property dataSource.
public  java.lang.StringgetDataSourceName()
     Getter for property dataSourceName.
public  ObjectgetEJBContext()
    
public  booleangetEscapeProcessing()
     Getter for property escapeProcessing.
public  intgetFetchDirection()
     Getter for property fetchDirection.
public  intgetFetchSize()
     Getter for property fetchSize.
public  intgetMaxFieldSize()
     Getter for property maxFieldSize.
public  intgetMaxNumberOfParams()
    
public  intgetMaxRows()
     Getter for property maxRows.
public  intgetMaxRowsToProccesInTransaction()
     Getter for property maxRowsToProccesInTransaction.
public  intgetMaxStatementCacheSize()
    
public  java.lang.StringgetPlaceHolder()
    
public  PreparedStatementgetPreparedStatement(String sql, Collection params)
     Getter for property preparedStatement.
public  chargetProccessTransactionOnCloseConnection()
    
public  intgetQueryTimeout()
     Getter for property queryTimeout.
public  DataHolder[]getResultAsDataHoldersArray(String sql, Collection params, boolean populateColumnNames)
    
public  DataHolder[]getResultAsDataHoldersArray(String sql, boolean populateColumnNames)
    
public  DataHolder[]getResultAsDataHoldersArray(String sql)
    
public  DataHolder[]getResultAsDataHoldersArray(String sql, Collection params)
    
public  ListgetResultAsDataHoldersList(String sql, Collection params, boolean populateColumnNames)
    
public  ListgetResultAsDataHoldersList(String sql, boolean populateColumnNames)
    
public  ListgetResultAsDataHoldersList(String sql)
    
public  ListgetResultAsDataHoldersList(String sql, Collection params)
    
public  MapgetResultAsMap(String sql, Collection params)
     Map of Lists.
public  MapgetResultAsMap(String sql)
     Map of Lists.
public  ListgetResultAsValueObjectList(String sql)
    
public  ListgetResultAsValueObjectList(String sql, Collection params)
    
public  VectorgetResultAsVector(String sql)
    
public  VectorgetResultAsVector(String sql, Collection params)
    
public  java.sql.ResultSetgetResultSet(String sql)
     Getter for property resultSet.
public  java.sql.ResultSetgetResultSet(String sql, Collection params)
    
public  intgetResultSetType()
     Getter for property resultSetType.
public  java.sql.ResultSet[]getResultSets(String sql, Collection params, int maxNumberOfParams, String placeHolder)
    
public  java.sql.ResultSet[]getResultSets(String sql, Collection params)
    
public  DataHolder[]getResultsAsDataHoldersArray(String sql, Collection params)
    
public  DataHolder[]getResultsAsDataHoldersArray(String sql, Collection params, boolean populateColumnNames)
    
public  DataHolder[]getResultsAsDataHoldersArray(String sql, Collection params, int maxNumberOfParams, String placeHolder)
    
public  DataHolder[]getResultsAsDataHoldersArray(String sql, Collection params, int maxNumberOfParams, String placeHolder, boolean populateColumnNames)
    
public  ListgetResultsAsDataHoldersList(String sql, Collection params)
    
public  ListgetResultsAsDataHoldersList(String sql, Collection params, int maxNumberOfParams, String placeHolder)
    
public  ListgetResultsAsDataHoldersList(String sql, Collection params, int maxNumberOfParams, String placeHolder, boolean populateColumnNames)
    
public  ListgetResultsAsDataHoldersList(String sql, Collection params, boolean populateColumnNames)
    
public  MapgetResultsAsMap(String sql, Collection params)
     Map of Lists.
public  MapgetResultsAsMap(String sql, Collection params, int maxNumberOfParams, String placeHolder)
     Map of Lists.
public  ListgetResultsAsValueObjectList(String sql, Collection params, int maxNumberOfParams, String placeHolder)
    
public  ListgetResultsAsValueObjectList(String sql, List params)
    
public  VectorgetResultsAsVector(String sql, Collection params, int maxNumberOfParams, String placeHolder)
    
public  VectorgetResultsAsVector(String sql, Collection params)
    
public  intgetRowsAffectedInTransaction()
     Getter for property rowsAffectedInTransaction.
public  ListgetSingleColumnResultAsList(String sql)
    
public  ListgetSingleColumnResultAsList(String sql, Collection params)
    
public  ListgetSingleColumnResultsAsList(String sql, Collection params, int maxNumberOfParams, String placeHolder)
    
public  ListgetSingleColumnResultsAsList(String sql, List params)
    
public  ObjectgetSingleValue(String sql)
    
public  ObjectgetSingleValue(String sql, Collection params)
    
public  java.sql.StatementgetStatement(String sql)
     Getter for property statement.
public  MapgetTwoColumnsResultAsMap(String sql)
    
public  MapgetTwoColumnsResultAsMap(String sql, Collection params)
    
public  MapgetTwoColumnsResultsAsMap(String sql, Collection params, int maxNumberOfParams, String placeHolder)
    
public  MapgetTwoColumnsResultsAsMap(String sql, List params)
    
public  ListgetWarnings()
    
public  booleanisCacheStatements()
    
public  booleanisCloseResultSet()
    
public  booleanisCloseStatementAfterExecute()
     Getter for property closeStatementAfterExecute.
public  booleanisConnectionClosed()
     Getter for property connectionClosed.
public  booleanisDebug()
     Getter for property debug.
public  booleanisProccessWarnings()
    
public  booleanisResetDataSource()
     Getter for property resetDataSource.
public  booleanisTranInProccess()
     Getter for property tranInProccess.
public  voidpopulateWarnings(SQLWarning warn)
    
protected  voidprepareStatement(String sql)
    
public  voidrelease(boolean closeConnection)
    
public  voidrollbackTran()
    
public  voidsetCacheStatements(boolean cacheStatements)
    
public  voidsetCachedRowSetClassName(String cachedRowSetClassName)
    
public  voidsetCloseResultSet(boolean closeResultSet)
    
public  voidsetCloseStatementAfterExecute(boolean closeStatementAfterExecute)
     Setter for property closeStatementAfterExecute.
public  voidsetConcurrency(int concurrency)
     Setter for property concurrency.
public  voidsetConnection(java.sql.Connection connection)
     Setter for property connection.
protected  voidsetConnectionClosed(boolean connectionClosed)
     Setter for property connectionClosed.
public  voidsetConnectionId(java.lang.String connectionId)
     Setter for property connectionId.
public  voidsetConnectionProperties(java.util.Properties connectionProperties)
     Setter for property connectionProperties.
public  voidsetContext(javax.naming.Context context)
     Setter for property context.
public  voidsetCursorName(String cursorName)
    
public  voidsetDataSource(javax.sql.DataSource dataSource)
     Setter for property dataSource.
public  voidsetDataSourceName(java.lang.String dataSourceName)
     Setter for property dataSourceName.
public  voidsetDebug(boolean debug)
     Setter for property debug.
public  voidsetEJBContext(Object EJBContext)
    
public  voidsetEscapeProcessing(boolean escapeProcessing)
     Setter for property escapeProcessing.
public  voidsetFetchDirection(int fetchDirection)
     Setter for property fetchDirection.
public  voidsetFetchSize(int fetchSize)
     Setter for property fetchSize.
public  voidsetMaxFieldSize(int maxFieldSize)
     Setter for property maxFieldSize.
public  voidsetMaxNumberOfParams(int maxNumberOfParams)
    
public  voidsetMaxRows(int maxRows)
     Setter for property maxRows.
public  voidsetMaxRowsToProccesInTransaction(int maxRowsToProccesInTransaction)
     Setter for property maxRowsToProccesInTransaction.
public  voidsetMaxStatementCacheSize(int maxStatementCacheSize)
    
public  voidsetPlaceHolder(java.lang.String placeHolder)
    
public  voidsetPreparedStatement(java.sql.PreparedStatement preparedStatement)
     Setter for property preparedStatement.
public  voidsetProccessTransactionOnCloseConnection(char proccessTransactionOnCloseConnection)
    
public  voidsetProccessWarnings(boolean proccessWarnings)
    
public  voidsetQueryTimeout(int queryTimeout)
     Setter for property queryTimeout.
public  voidsetResetDataSource(boolean resetDataSource)
     Setter for property resetDataSource.
public  voidsetResultSet(java.sql.ResultSet resultSet)
     Setter for property resultSet.
public  voidsetResultSetType(int resultSetType)
     Setter for property resultSetType.
public  voidsetRowsAffectedInTransaction(int rowsAffectedInTransaction)
     Setter for property rowsAffectedInTransaction.
public  voidsetStatement(java.sql.Statement statement)
     Setter for property statement.
public  voidsetTranInProccess(boolean tranInProccess)
     Setter for property tranInProccess.

Field Detail
COMMIT
final public static char COMMIT(Code)



EJBContext
protected Object EJBContext(Code)



IGNORE_RESULT
final public static int IGNORE_RESULT(Code)



NONE
final public static char NONE(Code)



RESULT_AS_DATA_HOLDERS_LIST
final public static int RESULT_AS_DATA_HOLDERS_LIST(Code)



RESULT_AS_MAP
final public static int RESULT_AS_MAP(Code)



RESULT_AS_ROWSET
final public static int RESULT_AS_ROWSET(Code)



RESULT_AS_VECTOR
final public static int RESULT_AS_VECTOR(Code)



ROLLBACK
final public static char ROLLBACK(Code)



cacheStatements
protected boolean cacheStatements(Code)



cachedRowSetClassName
protected String cachedRowSetClassName(Code)



callStatement
protected transient CallableStatement callStatement(Code)



closeResultSet
protected boolean closeResultSet(Code)



closeStatementAfterExecute
protected boolean closeStatementAfterExecute(Code)



concurrency
protected int concurrency(Code)



connection
protected transient Connection connection(Code)



connectionClosed
protected boolean connectionClosed(Code)



connectionId
protected String connectionId(Code)



connectionProperties
protected Properties connectionProperties(Code)



context
protected transient Context context(Code)



cursorName
protected String cursorName(Code)



dataSource
protected transient DataSource dataSource(Code)



dataSourceName
protected String dataSourceName(Code)



debug
protected boolean debug(Code)



escapeProcessing
protected boolean escapeProcessing(Code)



fetchDirection
protected int fetchDirection(Code)



fetchSize
protected int fetchSize(Code)



maxFieldSize
protected int maxFieldSize(Code)



maxNumberOfParams
protected int maxNumberOfParams(Code)



maxRows
protected int maxRows(Code)



maxRowsToProccesInTransaction
protected int maxRowsToProccesInTransaction(Code)



maxStatementCacheSize
protected int maxStatementCacheSize(Code)



placeHolder
protected String placeHolder(Code)



preparedStatement
protected transient PreparedStatement preparedStatement(Code)



proccessStoredProc
protected boolean proccessStoredProc(Code)



proccessTransactionOnCloseConnection
protected char proccessTransactionOnCloseConnection(Code)



proccessWarnings
protected boolean proccessWarnings(Code)



queryTimeout
protected int queryTimeout(Code)



readOnly
protected boolean readOnly(Code)



resetDataSource
protected boolean resetDataSource(Code)



resultSet
protected transient ResultSet resultSet(Code)



resultSetType
protected int resultSetType(Code)



resultSets
protected transient List resultSets(Code)



rowsAffectedInTransaction
protected int rowsAffectedInTransaction(Code)



statement
protected transient Statement statement(Code)



statementsCache
protected List statementsCache(Code)



statementsCacheCounter
protected List statementsCacheCounter(Code)



statementsId
protected List statementsId(Code)



tranInProccess
protected boolean tranInProccess(Code)



warnings
protected List warnings(Code)




Constructor Detail
DBServices
public DBServices()(Code)




Method Detail
addCachedStatement
protected synchronized int addCachedStatement(String statementId, PreparedStatement statementToCache) throws SQLException(Code)



addCachedStatement
protected synchronized int addCachedStatement(String statementId, Statement statementToCache) throws SQLException(Code)



beginTran
public void beginTran() throws SQLException(Code)



clearStatementCache
public void clearStatementCache()(Code)



closeResults
protected void closeResults() throws SQLException(Code)



commitTran
public void commitTran() throws SQLException(Code)



createStatement
protected void createStatement() throws SQLException(Code)



execute
public int execute(String sql) throws SQLException(Code)



execute
public int execute(String sql, Collection params) throws SQLException(Code)



executeBatch
public int[] executeBatch(String sql, Collection batch) throws SQLException(Code)



executeBatch
public int[] executeBatch(Collection batch) throws SQLException(Code)



executeStoredProcedure
public List executeStoredProcedure(String sql, Parameters params, int proccessResult) throws SQLException(Code)



getCachedRowSetClassName
public String getCachedRowSetClassName()(Code)



getConcurrency
public int getConcurrency()(Code)
Getter for property concurrency. Value of property concurrency.



getConnection
public java.sql.Connection getConnection() throws SQLException(Code)
Getter for property connection. Value of property connection.



getConnectionId
public java.lang.String getConnectionId()(Code)
Getter for property connectionId. Value of property connectionId.



getConnectionProperties
public java.util.Properties getConnectionProperties()(Code)
Getter for property connectionProperties. Value of property connectionProperties.



getContext
public javax.naming.Context getContext()(Code)
Getter for property context. Value of property context.



getCursorName
public String getCursorName()(Code)



getDataSource
public javax.sql.DataSource getDataSource() throws SQLException(Code)
Getter for property dataSource. Value of property dataSource.



getDataSourceName
public java.lang.String getDataSourceName()(Code)
Getter for property dataSourceName. Value of property dataSourceName.



getEJBContext
public Object getEJBContext()(Code)



getEscapeProcessing
public boolean getEscapeProcessing()(Code)
Getter for property escapeProcessing. Value of property escapeProcessing.



getFetchDirection
public int getFetchDirection()(Code)
Getter for property fetchDirection. Value of property fetchDirection.



getFetchSize
public int getFetchSize()(Code)
Getter for property fetchSize. Value of property fetchSize.



getMaxFieldSize
public int getMaxFieldSize()(Code)
Getter for property maxFieldSize. Value of property maxFieldSize.



getMaxNumberOfParams
public int getMaxNumberOfParams()(Code)



getMaxRows
public int getMaxRows()(Code)
Getter for property maxRows. Value of property maxRows.



getMaxRowsToProccesInTransaction
public int getMaxRowsToProccesInTransaction()(Code)
Getter for property maxRowsToProccesInTransaction. Value of property maxRowsToProccesInTransaction.



getMaxStatementCacheSize
public int getMaxStatementCacheSize()(Code)



getPlaceHolder
public java.lang.String getPlaceHolder()(Code)



getPreparedStatement
public PreparedStatement getPreparedStatement(String sql, Collection params) throws SQLException(Code)
Getter for property preparedStatement. Value of property preparedStatement.



getProccessTransactionOnCloseConnection
public char getProccessTransactionOnCloseConnection()(Code)



getQueryTimeout
public int getQueryTimeout()(Code)
Getter for property queryTimeout. Value of property queryTimeout.



getResultAsDataHoldersArray
public DataHolder[] getResultAsDataHoldersArray(String sql, Collection params, boolean populateColumnNames) throws SQLException(Code)



getResultAsDataHoldersArray
public DataHolder[] getResultAsDataHoldersArray(String sql, boolean populateColumnNames) throws SQLException(Code)



getResultAsDataHoldersArray
public DataHolder[] getResultAsDataHoldersArray(String sql) throws SQLException(Code)



getResultAsDataHoldersArray
public DataHolder[] getResultAsDataHoldersArray(String sql, Collection params) throws SQLException(Code)



getResultAsDataHoldersList
public List getResultAsDataHoldersList(String sql, Collection params, boolean populateColumnNames) throws SQLException(Code)



getResultAsDataHoldersList
public List getResultAsDataHoldersList(String sql, boolean populateColumnNames) throws SQLException(Code)



getResultAsDataHoldersList
public List getResultAsDataHoldersList(String sql) throws SQLException(Code)



getResultAsDataHoldersList
public List getResultAsDataHoldersList(String sql, Collection params) throws SQLException(Code)



getResultAsMap
public Map getResultAsMap(String sql, Collection params) throws SQLException(Code)
Map of Lists. Each key is column name and each value is List of column values



getResultAsMap
public Map getResultAsMap(String sql) throws SQLException(Code)
Map of Lists. Each key is column name and each value is List of column values



getResultAsValueObjectList
public List getResultAsValueObjectList(String sql) throws SQLException(Code)



getResultAsValueObjectList
public List getResultAsValueObjectList(String sql, Collection params) throws SQLException(Code)



getResultAsVector
public Vector getResultAsVector(String sql) throws SQLException(Code)



getResultAsVector
public Vector getResultAsVector(String sql, Collection params) throws SQLException(Code)
Vector of Vectors



getResultSet
public java.sql.ResultSet getResultSet(String sql) throws SQLException(Code)
Getter for property resultSet. Value of property resultSet.



getResultSet
public java.sql.ResultSet getResultSet(String sql, Collection params) throws SQLException(Code)



getResultSetType
public int getResultSetType()(Code)
Getter for property resultSetType. Value of property resultSetType.



getResultSets
public java.sql.ResultSet[] getResultSets(String sql, Collection params, int maxNumberOfParams, String placeHolder) throws SQLException(Code)



getResultSets
public java.sql.ResultSet[] getResultSets(String sql, Collection params) throws SQLException(Code)



getResultsAsDataHoldersArray
public DataHolder[] getResultsAsDataHoldersArray(String sql, Collection params) throws SQLException(Code)



getResultsAsDataHoldersArray
public DataHolder[] getResultsAsDataHoldersArray(String sql, Collection params, boolean populateColumnNames) throws SQLException(Code)



getResultsAsDataHoldersArray
public DataHolder[] getResultsAsDataHoldersArray(String sql, Collection params, int maxNumberOfParams, String placeHolder) throws SQLException(Code)



getResultsAsDataHoldersArray
public DataHolder[] getResultsAsDataHoldersArray(String sql, Collection params, int maxNumberOfParams, String placeHolder, boolean populateColumnNames) throws SQLException(Code)



getResultsAsDataHoldersList
public List getResultsAsDataHoldersList(String sql, Collection params) throws SQLException(Code)



getResultsAsDataHoldersList
public List getResultsAsDataHoldersList(String sql, Collection params, int maxNumberOfParams, String placeHolder) throws SQLException(Code)



getResultsAsDataHoldersList
public List getResultsAsDataHoldersList(String sql, Collection params, int maxNumberOfParams, String placeHolder, boolean populateColumnNames) throws SQLException(Code)



getResultsAsDataHoldersList
public List getResultsAsDataHoldersList(String sql, Collection params, boolean populateColumnNames) throws SQLException(Code)



getResultsAsMap
public Map getResultsAsMap(String sql, Collection params) throws SQLException(Code)
Map of Lists. Each key is column name and each value is List of column values



getResultsAsMap
public Map getResultsAsMap(String sql, Collection params, int maxNumberOfParams, String placeHolder) throws SQLException(Code)
Map of Lists. Each key is column name and each value is List of column values



getResultsAsValueObjectList
public List getResultsAsValueObjectList(String sql, Collection params, int maxNumberOfParams, String placeHolder) throws SQLException(Code)



getResultsAsValueObjectList
public List getResultsAsValueObjectList(String sql, List params) throws SQLException(Code)



getResultsAsVector
public Vector getResultsAsVector(String sql, Collection params, int maxNumberOfParams, String placeHolder) throws SQLException(Code)
Vector of Vectors



getResultsAsVector
public Vector getResultsAsVector(String sql, Collection params) throws SQLException(Code)
Vector of Vectors



getRowsAffectedInTransaction
public int getRowsAffectedInTransaction()(Code)
Getter for property rowsAffectedInTransaction. Value of property rowsAffectedInTransaction.



getSingleColumnResultAsList
public List getSingleColumnResultAsList(String sql) throws SQLException(Code)



getSingleColumnResultAsList
public List getSingleColumnResultAsList(String sql, Collection params) throws SQLException(Code)



getSingleColumnResultsAsList
public List getSingleColumnResultsAsList(String sql, Collection params, int maxNumberOfParams, String placeHolder) throws SQLException(Code)



getSingleColumnResultsAsList
public List getSingleColumnResultsAsList(String sql, List params) throws SQLException(Code)



getSingleValue
public Object getSingleValue(String sql) throws SQLException(Code)



getSingleValue
public Object getSingleValue(String sql, Collection params) throws SQLException(Code)



getStatement
public java.sql.Statement getStatement(String sql) throws SQLException(Code)
Getter for property statement. Value of property statement.



getTwoColumnsResultAsMap
public Map getTwoColumnsResultAsMap(String sql) throws SQLException(Code)



getTwoColumnsResultAsMap
public Map getTwoColumnsResultAsMap(String sql, Collection params) throws SQLException(Code)



getTwoColumnsResultsAsMap
public Map getTwoColumnsResultsAsMap(String sql, Collection params, int maxNumberOfParams, String placeHolder) throws SQLException(Code)



getTwoColumnsResultsAsMap
public Map getTwoColumnsResultsAsMap(String sql, List params) throws SQLException(Code)



getWarnings
public List getWarnings()(Code)



isCacheStatements
public boolean isCacheStatements()(Code)



isCloseResultSet
public boolean isCloseResultSet()(Code)



isCloseStatementAfterExecute
public boolean isCloseStatementAfterExecute()(Code)
Getter for property closeStatementAfterExecute. Value of property closeStatementAfterExecute.



isConnectionClosed
public boolean isConnectionClosed()(Code)
Getter for property connectionClosed. Value of property connectionClosed.



isDebug
public boolean isDebug()(Code)
Getter for property debug. Value of property debug.



isProccessWarnings
public boolean isProccessWarnings()(Code)



isResetDataSource
public boolean isResetDataSource()(Code)
Getter for property resetDataSource. Value of property resetDataSource.



isTranInProccess
public boolean isTranInProccess()(Code)
Getter for property tranInProccess. Value of property tranInProccess.



populateWarnings
public void populateWarnings(SQLWarning warn)(Code)
Make sure to read warnings before release()



prepareStatement
protected void prepareStatement(String sql) throws SQLException(Code)



release
public void release(boolean closeConnection) throws SQLException(Code)



rollbackTran
public void rollbackTran() throws SQLException(Code)



setCacheStatements
public void setCacheStatements(boolean cacheStatements)(Code)



setCachedRowSetClassName
public void setCachedRowSetClassName(String cachedRowSetClassName)(Code)



setCloseResultSet
public void setCloseResultSet(boolean closeResultSet)(Code)



setCloseStatementAfterExecute
public void setCloseStatementAfterExecute(boolean closeStatementAfterExecute)(Code)
Setter for property closeStatementAfterExecute.
Parameters:
  closeStatementAfterExecute - New value of property closeStatementAfterExecute.



setConcurrency
public void setConcurrency(int concurrency)(Code)
Setter for property concurrency.
Parameters:
  concurrency - New value of property concurrency.



setConnection
public void setConnection(java.sql.Connection connection)(Code)
Setter for property connection.
Parameters:
  connection - New value of property connection.



setConnectionClosed
protected void setConnectionClosed(boolean connectionClosed)(Code)
Setter for property connectionClosed.
Parameters:
  connectionClosed - New value of property connectionClosed.



setConnectionId
public void setConnectionId(java.lang.String connectionId)(Code)
Setter for property connectionId.
Parameters:
  connectionId - New value of property connectionId.



setConnectionProperties
public void setConnectionProperties(java.util.Properties connectionProperties)(Code)
Setter for property connectionProperties.
Parameters:
  connectionProperties - New value of property connectionProperties.



setContext
public void setContext(javax.naming.Context context)(Code)
Setter for property context.
Parameters:
  context - New value of property context.



setCursorName
public void setCursorName(String cursorName)(Code)



setDataSource
public void setDataSource(javax.sql.DataSource dataSource)(Code)
Setter for property dataSource.
Parameters:
  dataSource - New value of property dataSource.



setDataSourceName
public void setDataSourceName(java.lang.String dataSourceName)(Code)
Setter for property dataSourceName.
Parameters:
  dataSourceName - New value of property dataSourceName.



setDebug
public void setDebug(boolean debug)(Code)
Setter for property debug.
Parameters:
  debug - New value of property debug.



setEJBContext
public void setEJBContext(Object EJBContext)(Code)



setEscapeProcessing
public void setEscapeProcessing(boolean escapeProcessing)(Code)
Setter for property escapeProcessing.
Parameters:
  escapeProcessing - New value of property escapeProcessing.



setFetchDirection
public void setFetchDirection(int fetchDirection)(Code)
Setter for property fetchDirection.
Parameters:
  fetchDirection - New value of property fetchDirection.



setFetchSize
public void setFetchSize(int fetchSize)(Code)
Setter for property fetchSize.
Parameters:
  fetchSize - New value of property fetchSize.



setMaxFieldSize
public void setMaxFieldSize(int maxFieldSize)(Code)
Setter for property maxFieldSize.
Parameters:
  maxFieldSize - New value of property maxFieldSize.



setMaxNumberOfParams
public void setMaxNumberOfParams(int maxNumberOfParams)(Code)



setMaxRows
public void setMaxRows(int maxRows)(Code)
Setter for property maxRows.
Parameters:
  maxRows - New value of property maxRows.



setMaxRowsToProccesInTransaction
public void setMaxRowsToProccesInTransaction(int maxRowsToProccesInTransaction) throws SQLException(Code)
Setter for property maxRowsToProccesInTransaction.
Parameters:
  maxRowsToProccesInTransaction - New value of property maxRowsToProccesInTransaction.



setMaxStatementCacheSize
public void setMaxStatementCacheSize(int maxStatementCacheSize)(Code)



setPlaceHolder
public void setPlaceHolder(java.lang.String placeHolder)(Code)



setPreparedStatement
public void setPreparedStatement(java.sql.PreparedStatement preparedStatement)(Code)
Setter for property preparedStatement.
Parameters:
  preparedStatement - New value of property preparedStatement.



setProccessTransactionOnCloseConnection
public void setProccessTransactionOnCloseConnection(char proccessTransactionOnCloseConnection)(Code)



setProccessWarnings
public void setProccessWarnings(boolean proccessWarnings)(Code)



setQueryTimeout
public void setQueryTimeout(int queryTimeout)(Code)
Setter for property queryTimeout.
Parameters:
  queryTimeout - New value of property queryTimeout.



setResetDataSource
public void setResetDataSource(boolean resetDataSource)(Code)
Setter for property resetDataSource.
Parameters:
  resetDataSource - New value of property resetDataSource.



setResultSet
public void setResultSet(java.sql.ResultSet resultSet)(Code)
Setter for property resultSet.
Parameters:
  resultSet - New value of property resultSet.



setResultSetType
public void setResultSetType(int resultSetType)(Code)
Setter for property resultSetType.
Parameters:
  resultSetType - New value of property resultSetType.



setRowsAffectedInTransaction
public void setRowsAffectedInTransaction(int rowsAffectedInTransaction) throws SQLException(Code)
Setter for property rowsAffectedInTransaction.
Parameters:
  rowsAffectedInTransaction - New value of property rowsAffectedInTransaction.



setStatement
public void setStatement(java.sql.Statement statement)(Code)
Setter for property statement.
Parameters:
  statement - New value of property statement.



setTranInProccess
public void setTranInProccess(boolean tranInProccess)(Code)
Setter for property tranInProccess.
Parameters:
  tranInProccess - New value of property tranInProccess.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.