org.opensync.tools
Class ConnectionPool
java.lang.Object
org.opensync.tools.ConnectionPool
- public class ConnectionPool
- extends java.lang.Object
|
Constructor Summary |
ConnectionPool(java.lang.String url,
java.lang.String user,
java.lang.String password,
int maxConns,
int initConns,
int timeOut,
java.lang.String logFilename,
java.lang.String operator_concat,
java.lang.String conversion_function)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionPool
public ConnectionPool(java.lang.String url,
java.lang.String user,
java.lang.String password,
int maxConns,
int initConns,
int timeOut,
java.lang.String logFilename,
java.lang.String operator_concat,
java.lang.String conversion_function)
throws java.sql.SQLException
setAutocommit
public void setAutocommit(boolean autocommit)
setBatchmode
public void setBatchmode(boolean batchmode)
getBatchmode
public boolean getBatchmode()
getConnection
public java.sql.Connection getConnection()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
freeConnection
public void freeConnection(java.sql.Connection conn)
release
public void release()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
releaseWithException
public void releaseWithException()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getConversionFunction
public java.lang.String getConversionFunction()
getOperatorConcat
public java.lang.String getOperatorConcat()
getUrl
public java.lang.String getUrl()
Copyright © 2004 sourceforge. All Rights Reserved.