Liking cljdoc? Tell your friends :D

jdk.sql.SQLWarning

An exception that provides information on database access warnings. Warnings are silently chained to the object whose method caused it to be reported.

Warnings may be retrieved from Connection, Statement, and ResultSet objects. Trying to retrieve a warning on a connection after it has been closed will cause an exception to be thrown. Similarly, trying to retrieve a warning on a statement after it has been closed or on a result set after it has been closed will cause an exception to be thrown. Note that closing a statement also closes a result set that it might have produced.

An exception that provides information on  database access
warnings. Warnings are silently chained to the object whose method
caused it to be reported.

Warnings may be retrieved from Connection, Statement,
and ResultSet objects.  Trying to retrieve a warning on a
connection after it has been closed will cause an exception to be thrown.
Similarly, trying to retrieve a warning on a statement after it has been
closed or on a result set after it has been closed will cause
an exception to be thrown. Note that closing a statement also
closes a result set that it might have produced.
raw docstring

->sql-warningclj

(->sql-warning)
(->sql-warning reason)
(->sql-warning reason sql-state)
(->sql-warning reason sql-state vendor-code)
(->sql-warning reason sql-state vendor-code cause)

Constructor.

Constructs aSQLWarning object with a given reason, SQLState, vendorCode and cause.

reason - a description of the warning - java.lang.String sql-state - an XOPEN or SQL:2003 code identifying the warning - java.lang.String vendor-code - a database vendor-specific warning code - int cause - the underlying reason for this SQLWarning (which is saved for later retrieval by the getCause() method); may be null indicating the cause is non-existent or unknown. - java.lang.Throwable

Constructor.

Constructs aSQLWarning object
 with a given
 reason, SQLState, vendorCode
 and  cause.

reason - a description of the warning - `java.lang.String`
sql-state - an XOPEN or SQL:2003 code identifying the warning - `java.lang.String`
vendor-code - a database vendor-specific warning code - `int`
cause - the underlying reason for this SQLWarning (which is saved for later retrieval by the getCause() method); may be null indicating the cause is non-existent or unknown. - `java.lang.Throwable`
raw docstring

get-next-warningclj

(get-next-warning this)

Retrieves the warning chained to this SQLWarning object by setNextWarning.

returns: the next SQLException in the chain; null if none - java.sql.SQLWarning

Retrieves the warning chained to this SQLWarning object by
 setNextWarning.

returns: the next SQLException in the chain; null if none - `java.sql.SQLWarning`
raw docstring

set-next-warningclj

(set-next-warning this w)

Adds a SQLWarning object to the end of the chain.

w - the new end of the SQLException chain - java.sql.SQLWarning

Adds a SQLWarning object to the end of the chain.

w - the new end of the SQLException chain - `java.sql.SQLWarning`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close