Skip to content

Revise simple query and update value conversion #1384

@mp911de

Description

@mp911de

Right now, we do not correctly convert simple values associated with properties. For example:

class Foo {
  long bar;
}

Query.query(Criteria.where("bar").is(1))

The bar value remains integer and Cassandra rejects such a value because it does not match the column type.

Out of #1383, we discovered that we do not apply conversion for values associated with a property although we have all metadata in place.

Also, repository queries apply conversion twice which might interfere with double value conversion. Beyond that, double-conversion is not necessary. We should fix the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions