public class DBManagerSMS extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
JUMP_RANGE |
static String |
XML_FILE_NAME |
| Modifier and Type | Method and Description |
|---|---|
void |
closeAllConnections() |
protected void |
finalized() |
void |
freeConnection(Connection connection) |
Connection |
getConnection()
This method returns the Connection of the database
|
String |
getDatabaseURL() |
static DBManagerSMS |
getInstance()
This is the only access point for getting DBManagerSMS
|
long |
getNextSequenceId(String tableName) |
void |
reLoad()
This method loads the default database connection from xml.
|
public static final int JUMP_RANGE
public static String XML_FILE_NAME
public String getDatabaseURL()
public static DBManagerSMS getInstance()
public void reLoad()
throws Exception
Exceptionpublic Connection getConnection() throws SQLException
SQLExceptionpublic void freeConnection(Connection connection)
public void closeAllConnections()
protected void finalized()
Copyright © 2022. All rights reserved.