You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/docs/asciidoc/release_notes.adoc
+56Lines changed: 56 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -516,6 +516,7 @@ Firebird 6.0 introduces schemas, and Jaybird 7 provides support for schemas as d
516
516
Changes include:
517
517
518
518
* Connection property `searchPath` sets the initial search path of the connection.
519
+
+
519
520
The search path is the list of schemas that will be searched for schema-bound objects if they are not explicitly qualified with a schema name.
520
521
The first _valid_ schema is the current schema of the connection.
521
522
+
@@ -591,6 +592,61 @@ Jaybird 7 introduces some changes in compatibility and announces future breaking
591
592
*The list might not be complete, if you notice a difference in behavior that is not listed, please {issues}[report it as bug^].*
592
593
It might have been a change we forgot to document, but it could just as well be an implementation bug.
593
594
595
+
[#compatibility-changes-schema]
596
+
=== Potential compatibility issues due to schema support
597
+
598
+
The implementation of schema support may cause compatibility issues.
599
+
In general, these changes will only impact Jaybird when connecting to Firebird 6.0 or higher.
600
+
601
+
We recommend looking over this section even if you currently do not use Firebird 6.0 or higher, so you can prepare your code to be ready for a future migration to Firebird 6.0.
602
+
603
+
[#compatibility-changes-schema-dbmd-params]
604
+
==== Parameters `schema` and `schemaPattern` in methods of `DatabaseMetaData`
605
+
606
+
In previous versions, Jaybird ignored the `schema` and `schemaPattern` parameters of the `DatabaseMetaData` methods (usually the second parameter of `DatabaseMetaData.getXXX(...)` methods).
607
+
In Jaybird 7, it no longer ignores these parameters when querying a Firebird 6.0 or higher database.
608
+
609
+
If you currently pass the "`wrong`" value for these methods, especially `""` (empty string, i.e. only return schemaless objects), you may get no or fewer results than expected.
610
+
611
+
[float]
612
+
===== `schema`
613
+
614
+
The `schema` parameter performs an exact, case-sensitive match on the schema name, unless it's `null` (i.e. don't filter by schema).
615
+
616
+
If your code currently passes `""` (empty string), you need to either replace it with `null` (don't filter by schema), or the desired schema name.
617
+
618
+
.`DatabaseMetaData` methods with `schema` parameter
619
+
* `getBestRowIdentifier`
620
+
* `getColumnPrivileges`
621
+
* `getCrossReference` (parameters `parentSchema` and `foreignSchema`)
622
+
* `getExportedKeys`
623
+
* `getImportedKeys`
624
+
* `getIndexInfo`
625
+
* `getPrimaryKeys`
626
+
* `getVersionColumns`
627
+
628
+
(Unsupported metadata methods are not listed.)
629
+
630
+
[float]
631
+
===== `schemaPattern`
632
+
633
+
The `schemaPattern` parameter performs a case-sensitive `LIKE` match on the schema name, unless it's `null` (i.e. don't filter by schema).
634
+
635
+
If your code currently passes `""` (empty string), you need to either replace it with `null` (don't filter by schema), use `"%"` (match all schemas, effectively the same as passing `null`), or an appropriate `LIKE` pattern for the desired schemas.
636
+
637
+
.`DatabaseMetaData` methods with `schemaPattern` parameter
0 commit comments