Skip to content

Commit 1ecd068

Browse files
committed
Document change of FirebirdSQL/jaybird#795
1 parent eec395a commit 1ecd068

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

Diff for: src/docs/asciidoc/appendices/connectionproperties/connectionproperties.adoc

+7
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,13 @@ Enables support for executing `COMMIT [WORK]`, `ROLLBACK [WORK]` and `SET TRANSA
291291
Default is `false`.
292292
See <<ref-allowtxstmts>> for more information.
293293

294+
a|`extendedMetadata`
295+
a|Jaybird specific property ([.since]_Jaybird 6_).
296+
Boolean property.
297+
Enables support for retrieving extended metadata.
298+
Default is `true`.
299+
See <<ref-extendedmetadata>> for more information.
300+
294301
|===
295302

296303
In addition, Jaybird allows using arbitrary Database Parameters Block entries as connection properties (provided they are defined in Jaybird's `DpbItems` and `SpbItems` ([.since]_Jaybird 5_), or `ISCConstants` ([.until]_Jaybird 5_)).
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[#ref-extendedmetadata]
2+
=== Connection property extendedMetadata
3+
4+
[.since]_Jaybird 6_
5+
6+
By default, Jaybird queries extended metadata information.
7+
This can be disabled by setting the connection property `extendedMetadata` to `false`.
8+
9+
This setting only affects the following methods:
10+
11+
`ResultSetMetaData.getPrecision(int)`::
12+
When enabled, the actual precision of `NUMERIC` and `DECIMAL` columns is queried.
13+
When disabled, the precision will be estimated.
14+
`ResultSetMetaData.isAutoIncrement(true)`::
15+
When enabled ([.since]_Jaybird 6_), the identity state of `INTEGER`, `BIGINT` and `SMALLINT` columns is queried on Firebird 3.0 and higher.
16+
When disabled, the result is always `false`.
17+
18+
Invocation of either of these methods will query the extended metadata needed for _both_ methods.
19+
20+
Setting `extendedMetadata` to `false` may improve performance of these methods in exchange for an estimated precision, and not being able to determine the auto-increment state of a column.

0 commit comments

Comments
 (0)