Issue Details (XML | Word | Printable)

Key: JDBC-412
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Mark Rotteveel
Reporter: Mark Rotteveel
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Jaybird JCA/JDBC Driver

DatabaseMetaData supportsGetGeneratedKeys reports true when antlr-runtime not available.

Created: 03/Nov/15 07:37 PM   Updated: 13/Mar/16 04:03 PM
Component/s: JDBC driver
Affects Version/s: Jaybird 2.2, Jaybird 2.2.1, Jaybird 2.2.2, Jaybird 2.2.3, Jaybird 2.2.4, Jaybird 2.2.5, Jaybird 2.2.6, Jaybird 2.2.7, Jaybird 2.2.8, Jaybird 2.2.9
Fix Version/s: Jaybird 2.2.10, Jaybird 3.0.0


 Description  « Hide
DatabaseMetaData supportsGetGeneratedKeys reports true when antlr-runtime not available.

It should report false when not available to allow tools to correctly detect support.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Mark Rotteveel added a comment - 23/Jan/16 03:30 PM
DatabaseMetaData.supportsGetGeneratedKeys now reports true when the statement parser was loaded successfully (the antlr-runtime is on the classpath) and the Firebird version supports insert ... returning (that is: 2.0 or higher).

master: https://github.com/FirebirdSQL/jaybird/commit/c353c98c39f5882f0fe88a07373c8e1754f07b2b
Jaybird_2_2: https://github.com/FirebirdSQL/jaybird/commit/7ee2e05a8715db36828bd58607217f5183cecc92