Skip to content

Invalid column index in H2DataReader.GetOrdinal #8

Description

@GoogleCodeExporter
What steps will reproduce the problem?

1. Make a call to GetOrdinal with any column name.

What is the expected output? What do you see instead?

Expected zero-based column index of the column with the specified name, or -1 
if column does not exist.  Instead, an exception is thrown:

org.h2.jdbc.JdbcSQLException : Invalid value "0" for parameter "columnIndex"

Please provide any additional information below.

JDBC column indexes are 1-based instead of zero-based.

Original issue reported on code.google.com by acton...@gmail.com on 8 Jul 2013 at 8:49

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions