public interface IscDbHandle
isc_db_handle
represents a socket connection
to the database server.Modifier and Type | Method and Description |
---|---|
void |
addWarning(GDSException warning)
Add a warning from the server to this connection.
|
void |
clearWarnings()
Clear warning list associated with this connection.
|
int |
getDatabaseProductMajorVersion()
Get the major version number of the database product to which this
handle is attached.
|
int |
getDatabaseProductMinorVersion()
Get the minor version number of the database product to which this
handle is attached.
|
java.lang.String |
getDatabaseProductName()
Get the product name for the database to which this handle is attached.
|
java.lang.String |
getDatabaseProductVersion()
Get the product version for the database to which this handle
is attached.
|
int |
getDialect()
Get the Firebird dialect that is being used with this handle.
|
int |
getODSMajorVersion() |
int |
getODSMinorVersion() |
int |
getProtocol()
Get the Firebird protocol version that is used for this handle
|
java.lang.String |
getVersion() |
java.util.List |
getWarnings()
Get list of warnings that were returned by the server.
|
boolean |
isValid()
Retrieve whether this handle is valid.
|
void |
setDialect(int value) |
void |
setODSMajorVersion(int value) |
void |
setODSMinorVersion(int value) |
void |
setVersion(java.lang.String... version) |
void |
setVersion(java.lang.String version) |
java.util.List getWarnings()
List
containing instances of
GDSException
representing server warnings (method
GDSException.isWarning()
returns true
).void addWarning(GDSException warning)
warning
- GDSException
representing a server warningvoid clearWarnings()
int getDatabaseProductMajorVersion()
int getDatabaseProductMinorVersion()
java.lang.String getDatabaseProductName()
java.lang.String getDatabaseProductVersion()
int getDialect()
void setDialect(int value)
int getProtocol()
int getODSMajorVersion()
void setODSMajorVersion(int value)
int getODSMinorVersion()
void setODSMinorVersion(int value)
java.lang.String getVersion()
void setVersion(java.lang.String version) throws GDSException
version
- Version stringGDSException
- For failures to parse or process the version stringvoid setVersion(java.lang.String... version) throws GDSException
version
- Version stringsGDSException
- For failures to parse or process the version stringboolean isValid()
true
if this handle is valid,
false
otherwiseCopyright © 2001-2019 Jaybird (Firebird JDBC/JCA) team. All rights reserved.