public class DbConnection extends Object
Modifier and Type | Method and Description |
---|---|
DataSource |
getDataSource()
Returns the DataSource Connection, requesting a new one (thread local) if needed.
|
static DbConnection |
getInstance()
Returns the DbConnection instance.
|
public static DbConnection getInstance()
public DataSource getDataSource() throws OlogException
OlogException
- wrapping an SQLExceptionCopyright © 2010-2014 Michigan State University. All Rights Reserved.