Package com.nt.udc.db
Interface JDBCConnectionFactoryIfc
- All Known Implementing Classes:
DBConnectionFactory
,OracleConnectionFactory
public interface JDBCConnectionFactoryIfc
Generic interface used for generating
java.sql.Connection
objects to JDBC-compliant databases. Should be implemented to produce
database-specific Connection
objects.-
Method Summary
Modifier and TypeMethodDescriptionReturns ajava.sql.Connection
object to be used for reading/writing data from/to a JDBC-compliant database.
-
Method Details
-
getDBUser
String getDBUser() -
getConnection
Returns ajava.sql.Connection
object to be used for reading/writing data from/to a JDBC-compliant database.- Returns:
- A
java.sql.Connection
object - Throws:
SQLException
-