|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mysql.jdbc.JDBC4ClientInfoProviderSP
public class JDBC4ClientInfoProviderSP
Field Summary | |
---|---|
(package private) java.sql.PreparedStatement |
getClientInfoBulkSp
|
(package private) java.sql.PreparedStatement |
getClientInfoSp
|
(package private) java.sql.PreparedStatement |
setClientInfoSp
|
Constructor Summary | |
---|---|
JDBC4ClientInfoProviderSP()
|
Method Summary | |
---|---|
void |
destroy()
Called once by the driver when the connection this provider instance belongs to is being closed. |
java.util.Properties |
getClientInfo(java.sql.Connection conn)
Returns the client info for the connection that this provider instance belongs to. |
java.lang.String |
getClientInfo(java.sql.Connection conn,
java.lang.String name)
Returns the client info for the connection that this provider instance belongs to. |
void |
initialize(java.sql.Connection conn,
java.util.Properties configurationProps)
Called once by the driver when it needs to configure the provider. |
void |
setClientInfo(java.sql.Connection conn,
java.util.Properties properties)
Sets the client info for the connection that this provider instance belongs to. |
void |
setClientInfo(java.sql.Connection conn,
java.lang.String name,
java.lang.String value)
Sets the client info for the connection that this provider instance belongs to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
java.sql.PreparedStatement setClientInfoSp
java.sql.PreparedStatement getClientInfoSp
java.sql.PreparedStatement getClientInfoBulkSp
Constructor Detail |
---|
public JDBC4ClientInfoProviderSP()
Method Detail |
---|
public void initialize(java.sql.Connection conn, java.util.Properties configurationProps) throws java.sql.SQLException
JDBC4ClientInfoProvider
initialize
in interface JDBC4ClientInfoProvider
conn
- the connection that the provider belongs too.configurationProps
- a java.util.Properties instance that contains
configuration information for the connection.
java.sql.SQLException
- if initialization fails.public void destroy() throws java.sql.SQLException
JDBC4ClientInfoProvider
destroy
in interface JDBC4ClientInfoProvider
java.sql.SQLException
- if an error occurs.public java.util.Properties getClientInfo(java.sql.Connection conn) throws java.sql.SQLException
JDBC4ClientInfoProvider
getClientInfo
in interface JDBC4ClientInfoProvider
java.sql.SQLException
Connection.getClientInfo()
public java.lang.String getClientInfo(java.sql.Connection conn, java.lang.String name) throws java.sql.SQLException
JDBC4ClientInfoProvider
getClientInfo
in interface JDBC4ClientInfoProvider
java.sql.SQLException
Connection.getClientInfo(java.lang.String)
public void setClientInfo(java.sql.Connection conn, java.util.Properties properties) throws java.sql.SQLClientInfoException
JDBC4ClientInfoProvider
setClientInfo
in interface JDBC4ClientInfoProvider
java.sql.SQLClientInfoException
Connection.setClientInfo(java.util.Properties)
public void setClientInfo(java.sql.Connection conn, java.lang.String name, java.lang.String value) throws java.sql.SQLClientInfoException
JDBC4ClientInfoProvider
setClientInfo
in interface JDBC4ClientInfoProvider
java.sql.SQLClientInfoException
Connection.setClientInfo(java.lang.String,java.lang.String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |