Looks like the Vert.x JDBC client is not even required for reproducing the issue try (Connection connection = DriverManager.getConnection("jdbc:hsqldb:mem:.")) { try (Statement statement = connection.createStatement()) { statement.execute("CREATE TABLE test2 (id INT, data BIGINT)"); try (PreparedStatement preparedStatement = connection.prepareStatement("INSERT INTO test2 (id, data) VALUES (?, ?)", Statement.RETURN_GENERATED_KEYS)) { preparedStatement.setInt(1, 1); preparedStatement.setLong(2, 42L);...
Regression in 2.7.4 with respect to auto-generated keys in prepared statements