Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transaction mapping cannot be configured through JDBC URL [JDBC421] #462

Closed
firebird-issue-importer opened this issue Jan 23, 2016 · 4 comments

Comments

@firebird-issue-importer

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

@firebird-issue-importer
Copy link
Author

Commented by: @mrotteveel

master: b55089c
Jaybird_2_2: 63c814b

@firebird-issue-importer
Copy link
Author

Modified by: @mrotteveel

Fix Version: Jaybird 2.2.10 [ 10723 ]

Fix Version: Jaybird 3.0 [ 10440 ]

@firebird-issue-importer
Copy link
Author

Modified by: @mrotteveel

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

@firebird-issue-importer
Copy link
Author

Modified by: @mrotteveel

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment