|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjdbcadmin.core.tools.ConnectionFactory
JDBC connections factory
| Method Summary | |
static java.sql.Connection |
getCnx(ConnectionInfo aConInfo)
Init a JDBC connection using the specified connection informations If the dataSourceJndiName property is specified, it will try to retrieve the
connection from the datasource. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static java.sql.Connection getCnx(ConnectionInfo aConInfo)
throws TechnicalException
dataSourceJndiName property is specified, it will try to retrieve the
connection from the datasource.
aConInfo - connection parameters
TechnicalException - Connection error
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||