public class ThriftAuthenticationDatabaseUtil extends Object
| Constructor and Description |
|---|
ThriftAuthenticationDatabaseUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
closeAllConnections(Connection dbConnection,
ResultSet rs,
PreparedStatement prepStmt) |
static void |
closeConnection(Connection dbConnection) |
static void |
closeResultSet(ResultSet rs) |
static void |
closeStatement(PreparedStatement preparedStatement) |
static Connection |
getDBConnection()
Get a database connection instance from the Thrift Identity Persistence Manager
|
static void |
rollBack(Connection dbConnection) |
public static Connection getDBConnection() throws AuthenticationException
AuthenticationException - Error when getting an instance of the identity Persistence Managerpublic static void closeAllConnections(Connection dbConnection, ResultSet rs, PreparedStatement prepStmt)
public static void closeConnection(Connection dbConnection)
public static void closeResultSet(ResultSet rs)
public static void closeStatement(PreparedStatement preparedStatement)
public static void rollBack(Connection dbConnection)
Copyright © 2015 WSO2. All rights reserved.