public class DataBaseService extends Object
Constructor and Description |
---|
DataBaseService() |
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection(String dbname) |
static DataBaseService |
getInstance(GlobalContext globalContext) |
static void |
main(String[] args) |
void |
releaseConnection(Connection conn) |
public static DataBaseService getInstance(GlobalContext globalContext)
public Connection getConnection(String dbname) throws Exception
Exception
public void releaseConnection(Connection conn) throws SQLException
SQLException
Copyright © 2012-2018. All Rights Reserved.