-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2133e4c
commit 8fc6dfc
Showing
3 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
src/docs/asciidoc/reference/connection/reportsqlwarnings.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[#ref-report-sql-warnings] | ||
=== Reporting of ``SQLWarning``s | ||
|
||
The JDBC Specification requires that a JDBC driver reports a `SQLWarning` when it deviates from certain JDBC-specified behaviour (for example, changing a requested result set type), or when the server reports a warning. | ||
|
||
These warnings are reported on the `Connection`, `Statement`, or ``ResultSet``footnote:[In the current implementation, Jaybird never has warnings on `ResultSet`], and can be retrieved with `getWarnings()`. | ||
|
||
[.since]_Jaybird 6_ The connection property `reportSQLWarnings` can be used to disable the reporting of ``SQLWarning``s. | ||
|
||
This connection property supports the following values (case-insensitive): | ||
|
||
[horizontal.compact] | ||
`ALL`:: | ||
(default) report all ``SQLWarning``s | ||
`NONE`:: | ||
Do not report any ``SQLWarning``s | ||
|
||
Invalid values on the connection property will be rejected. | ||
|
||
The default value can be overridden with the system property `org.firebirdsql.jdbc.defaultReportSQLWarnings`. | ||
It supports the same values as connection property `reportSQLWarnings`. | ||
Invalid values of the system property are ignored. |