接口 JdbcPropertySet
-
- 所有超级接口:
PropertySet
- 所有已知实现类:
JdbcPropertySetImpl
public interface JdbcPropertySet extends PropertySet
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 DriverPropertyInfo[]exposeAsDriverPropertyInfo(Properties info, int slotsToReserve)Exposes all ConnectionPropertyInfo instances as DriverPropertyInfo-
从接口继承的方法 com.mysql.cj.conf.PropertySet
addProperty, exposeAsProperties, getBooleanProperty, getBooleanProperty, getEnumProperty, getEnumProperty, getIntegerProperty, getIntegerProperty, getLongProperty, getLongProperty, getMemorySizeProperty, getMemorySizeProperty, getProperty, getProperty, getStringProperty, getStringProperty, initializeProperties, postInitialization, removeProperty, removeProperty, reset
-
-
-
-
方法详细资料
-
exposeAsDriverPropertyInfo
DriverPropertyInfo[] exposeAsDriverPropertyInfo(Properties info, int slotsToReserve) throws SQLException
Exposes all ConnectionPropertyInfo instances as DriverPropertyInfo- 参数:
info- the properties to load into these ConnectionPropertyInfo instancesslotsToReserve- the number of DPI slots to reserve for 'standard' DPI properties (user, host, password, etc)- 返回:
- a list of all ConnectionPropertyInfo instances, as DriverPropertyInfo
- 抛出:
SQLException- if an error occurs
-
-