public class JDBCUtil
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
JDBCUtil.ConnectorType |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ORACLE_CLOB_HANDLER |
Constructor and Description |
---|
JDBCUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
closeConnection(java.sql.Connection con) |
static void |
closeResult(java.sql.ResultSet res) |
static void |
closeStatement(java.sql.Statement stmt) |
static java.lang.String |
escapeSpecialCharacter(java.lang.String name,
JDBCUtil.ConnectorType type) |
static java.lang.String |
escapeSpecialCharactor(java.lang.String name,
JDBCUtil.ConnectorType type) |
static java.sql.Connection |
getConnection(java.util.Map args) |
static java.sql.Connection |
getConnection(java.lang.String driverClass,
java.lang.String driverPrefix,
java.lang.String url,
java.lang.String user,
java.lang.String password) |
static java.sql.Connection |
getConnection(java.lang.String driverClass,
java.lang.String driverPrefix,
java.lang.String url,
java.lang.String user,
java.lang.String password,
java.util.Properties props) |
static java.lang.String |
getOracleDBTimeZoneDetails(java.sql.Connection connection,
java.lang.String applicationName,
java.lang.String applicationType) |
static java.lang.String |
getOracleDBVersionDetails(java.sql.Connection connection,
java.lang.String applicationName,
java.lang.String applicationType) |
static void |
initializeSession(java.sql.Connection connection,
int userId,
int responsibilityID,
int applicationID) |
static java.lang.String |
useQuoteForScripts(java.lang.String val,
java.lang.String quoteForCaseInsensitveDatabase,
java.lang.String quoteForCaseSensitiveDatabase,
boolean caseSensitive) |
public static java.lang.String escapeSpecialCharacter(java.lang.String name, JDBCUtil.ConnectorType type)
public static java.sql.Connection getConnection(java.util.Map args) throws sailpoint.tools.GeneralException
sailpoint.tools.GeneralException
public static java.sql.Connection getConnection(java.lang.String driverClass, java.lang.String driverPrefix, java.lang.String url, java.lang.String user, java.lang.String password, java.util.Properties props) throws sailpoint.tools.GeneralException
sailpoint.tools.GeneralException
public static java.sql.Connection getConnection(java.lang.String driverClass, java.lang.String driverPrefix, java.lang.String url, java.lang.String user, java.lang.String password) throws sailpoint.tools.GeneralException
sailpoint.tools.GeneralException
public static void closeConnection(java.sql.Connection con)
public static void closeStatement(java.sql.Statement stmt)
public static void closeResult(java.sql.ResultSet res)
public static java.lang.String useQuoteForScripts(java.lang.String val, java.lang.String quoteForCaseInsensitveDatabase, java.lang.String quoteForCaseSensitiveDatabase, boolean caseSensitive)
public static java.lang.String escapeSpecialCharactor(java.lang.String name, JDBCUtil.ConnectorType type)
public static void initializeSession(java.sql.Connection connection, int userId, int responsibilityID, int applicationID) throws java.lang.Exception
java.lang.Exception
public static java.lang.String getOracleDBVersionDetails(java.sql.Connection connection, java.lang.String applicationName, java.lang.String applicationType) throws java.lang.Throwable
java.lang.Throwable
public static java.lang.String getOracleDBTimeZoneDetails(java.sql.Connection connection, java.lang.String applicationName, java.lang.String applicationType) throws java.lang.Throwable
java.lang.Throwable