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
+18-2Lines changed: 18 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -532,8 +532,24 @@ Within the limitations and specification of the JDBC API, this method cannot be
532
532
**`getColumnPrivileges` and `getTablePrivileges` received an additional column, `JB_GRANTEE_SCHEMA`, which is non-``null`` for grantees that are schema-bound (e.g. procedures).
533
533
+
534
534
As this is a non-standard column, we recommend to always retrieve it by name.
535
-
**`getProcedureSourceCode`/`getTriggerSourceCode`/`getViewSourceCode` now also have an overload accepting the schema;
536
-
the overloads without a `schema` parameter, or `schema` is `null` will return the source code of the first match found.
535
+
**`getProcedures` received two additional columns.
536
+
+
537
+
As these are non-standard columns, we recommend to always retrieve them by name.
538
+
+
539
+
*** `JB_PROCEDURE_TYPE` -- value of column `RDB$PROCEDURE_TYPE`
540
+
+
541
+
For the possible values, the following constants were added to `FirebirdDatabaseMetaData`:
542
+
+
543
+
**** `jbProcedureTypeUnknown` (`0`)
544
+
****`jbProcedureTypeSelectable` (`1`)
545
+
****`jbProcedureTypeExecutable` (`2`).
546
+
*** `JB_PROCEDURE_SOURCE` -- value of column `RDB$PROCEDURE_SOURCE`: the body of the stored procedure;
547
+
this column is `null` for procedures in a package.
548
+
** `getProcedureSourceCode` is deprecated, the recommended replacement is `DatabaseMetaData.getProcedures(String, String, String)`, column `JB_PROCEDURE_SOURCE`.
549
+
** `getTriggerSourceCode`/`getViewSourceCode` now also have an overload accepting the schema;
550
+
the overloads without a `schema` parameter, or `schema` is `null` will return the source code of the first match found (schema order is undefined).
551
+
This behaviour also applies for -- now deprecated -- `getProcedureSourceCode(String)`.
552
+
+
537
553
The `schema` parameter is ignored on Firebird 5.0 and older.
538
554
** `getSchemas()` returns all defined schemas
539
555
** `getSchemas(String catalog, String schemaPattern)` returns all schemas matching the `LIKE` pattern `schemaPattern`, with the following caveats
0 commit comments