public interface ConnectionFactory
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addConfigurationProperties(java.util.Properties properties)
Adds properties for this instance from any properties configured in the
ConnectionFactory.
|
java.sql.Connection |
getConnection()
Should return a connection to the database in use for this context.
|
java.sql.Connection getConnection()
throws java.sql.SQLException
java.sql.SQLExceptionvoid addConfigurationProperties(java.util.Properties properties)
properties - All properties from the configurationCopyright © 2018. All Rights Reserved.