public class FBDriverPropertyManager
extends java.lang.Object
Constructor and Description |
---|
FBDriverPropertyManager() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getCanonicalName(java.lang.String propertyName) |
static java.sql.DriverPropertyInfo[] |
getDriverPropertyInfo(java.util.Properties props)
Get property information for the specified properties.
|
static void |
handleEncodings(java.util.HashMap info)
Handle character encoding parameters.
|
static java.util.HashMap |
normalize(java.util.Properties props)
Normalize the properties.
|
static java.util.Map<java.lang.String,java.lang.String> |
normalize(java.lang.String url,
java.util.Properties props)
Deprecated.
Use
normalize(Properties) instead. Method will be removed in Jaybird 3.0 |
@Deprecated public static java.util.Map<java.lang.String,java.lang.String> normalize(java.lang.String url, java.util.Properties props) throws java.sql.SQLException
normalize(Properties)
instead. Method will be removed in Jaybird 3.0url
- ignoredprops
- instance of Properties
containing original properties.Map
containing the normalized ones.java.sql.SQLException
- if original properties reference the same DPB
parameter using both alias and original name.public static java.util.HashMap normalize(java.util.Properties props) throws java.sql.SQLException
props
- instance of Properties
containing original properties.Map
containing the normalized ones.java.sql.SQLException
- if original properties reference the same DPB
parameter using both alias and original name.public static java.lang.String getCanonicalName(java.lang.String propertyName)
public static void handleEncodings(java.util.HashMap info) throws java.sql.SQLException
info
- connection propertiesjava.sql.SQLException
- if both isc_dpb_local_encoding and charSet are
specified.public static java.sql.DriverPropertyInfo[] getDriverPropertyInfo(java.util.Properties props)
props
- instance of Properties
.DriverPropertyInfo
instances.Copyright © 2001-2019 Jaybird (Firebird JDBC/JCA) team. All rights reserved.