public final class SharedDBUtil extends Object
Constructor and Description |
---|
SharedDBUtil() |
Modifier and Type | Method and Description |
---|---|
static Connection |
getConnection()
Utility method to get a new database connection
|
static void |
initialize()
Initializes the data source
|
public static void initialize() throws APIMigrationException
APIMigrationException
- if an error occurs while building realm configuration from filepublic static Connection getConnection() throws APIMigrationException
APIMigrationException
- if failed to get ConnectionCopyright © 2024 WSO2. All rights reserved.