Skip to content

[Restrictions] Functions should have a type #1290

@dstepanov

Description

@dstepanov

In this example:

abs(train.specs.maxLoad) > 0

It's impossible to translate this example to JPA Criteria API considering the function has to define its type:

   <T> Expression<T> function(String name, Class<T> type,
Expression<?>... args);

I think the solution would be to add type to FunctionExpression.

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