public interface JDBCConnectionFactoryIfc
java.sql.Connection
objects to JDBC-compliant databases. Should be implemented to produce
database-specific Connection objects.| Modifier and Type | Method and Description |
|---|---|
java.sql.Connection |
getConnection()
Returns a
java.sql.Connection object to be used for
reading/writing data from/to a JDBC-compliant database. |
java.lang.String |
getDBUser() |
java.lang.String getDBUser()
java.sql.Connection getConnection()
throws java.sql.SQLException
java.sql.Connection object to be used for
reading/writing data from/to a JDBC-compliant database.java.sql.Connection objectSQLException - when Connection object cannot
be generated or returnedjava.sql.SQLException