org.gcube.data.analysis.statisticalmanager.db
Class DataSourceManager
java.lang.Object
org.gcube.data.analysis.statisticalmanager.db.DataSourceManager
public class DataSourceManager
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataSourceManager
public DataSourceManager()
getDataSource
public static DataSource getDataSource()
throws Exception
- Throws:
Exception
getUrlDB
public static String getUrlDB()
getDriver
public static String getDriver()
getUsername
public static String getUsername()
getPassword
public static String getPassword()
closeConn
public static void closeConn(Connection conn)
rollback
public static void rollback(Connection conn)
closeStatement
public static void closeStatement(Statement stm)
Copyright © 2012. All Rights Reserved.