|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.commons.utilities.DataSourceUtilities
public class DataSourceUtilities
Constructor Summary | |
---|---|
DataSourceUtilities()
|
Method Summary | |
---|---|
java.sql.Connection |
getConnection(java.lang.String dsLabel)
This method, based on the data sources table, gets a database connection and return it. |
it.eng.spago.dbaccess.sql.DataConnection |
getDataConnection(java.sql.Connection con)
Creates a ago DataConnection object starting from a sql connection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataSourceUtilities()
Method Detail |
---|
public java.sql.Connection getConnection(java.lang.String dsLabel)
dsLabel
- the ds label
public it.eng.spago.dbaccess.sql.DataConnection getDataConnection(java.sql.Connection con) throws it.eng.spago.error.EMFInternalError
con
- Connection to the export database
it.eng.spago.error.EMFInternalError
- the EMF internal error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |