Transaction mapping cannot be configured through JDBC URL [JDBC421] #462
Labels
affect-version: Jaybird 2.2
affect-version: Jaybird 2.2.1
affect-version: Jaybird 2.2.2
affect-version: Jaybird 2.2.3
affect-version: Jaybird 2.2.4
affect-version: Jaybird 2.2.5
affect-version: Jaybird 2.2.6
affect-version: Jaybird 2.2.7
affect-version: Jaybird 2.2.8
affect-version: Jaybird 2.2.9
component: jdbc driver
fix-version: Jaybird 2.2.10
fix-version: Jaybird 3.0.0
priority: major
resolution: fixed
type: bug
Submitted by: @mrotteveel
Illustration 6.5 on page 64 of the Jaybird manual (http://www.firebirdsql.org/file/documentation/drivers_documentation/Jaybird_2_1_JDBC_driver_manual.pdf) suggests it is possible to configure the transaction mapping through the JDBC URL, as it should be possible to translate that example to the connection URL:
DriverManager.getConnection("jdbc:firebirdsql://localhost/dbalias?TRANSACTION_READ_COMMITTED=isc_tpb_read_committed,isc_no_rec_version,isc_tpb_write,isc_tpb_nowait",
username, password)
However the code in FBDriver and FBDriverPropertyManager shows it only works if the mapping is defined through a Properties object. Configuration through the JDBC url and Properties should be equivalent. It seems to have been broken back in 2004 with the introduction property info, specifically d242527
Commits: b55089c 63c814b
The text was updated successfully, but these errors were encountered: