Skip to content

Double type not mapped to Number #23

Description

@otoniel-isidoro

A column was declared as DOUBLE on h2 database and the H2 map it to java.lang.Double but on the ValueType.getType method the java.lang.Double is not mapped to NUMBER.
Then the following assert is not possible because it always get an error:

assertThat(table).hasNumberOfRows(1).column("valor").value(0).isEqualTo(120d);
java.lang.AssertionError: [Value at index 0 of Column at index 2 (column name : VALOR) of contas table] 
Expecting:
  <120.0>
to be of type
  <NUMBER>
but was of type
  <NOT_IDENTIFIED>

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

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions