public class JDBCConnectionFactory extends java.lang.Object implements ConnectionFactory
| 构造器和说明 |
|---|
JDBCConnectionFactory()
This constructor is called when this connection factory is specified
as the type in a ConnectionFactory configuration element.
|
JDBCConnectionFactory(JDBCConnectionConfiguration config)
This constructor is called when there is a JDBCConnectionConfiguration
specified in the configuration.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
public JDBCConnectionFactory(JDBCConnectionConfiguration config)
config - public JDBCConnectionFactory()
public java.sql.Connection getConnection()
throws java.sql.SQLException
ConnectionFactorygetConnection 在接口中 ConnectionFactoryjava.sql.SQLExceptionpublic void addConfigurationProperties(java.util.Properties properties)
ConnectionFactoryaddConfigurationProperties 在接口中 ConnectionFactoryproperties - All properties from the configurationCopyright © 2018. All Rights Reserved.