Skip to content

NamedQuery ignores <query-param type="AnsiString"> and any other #3311

Closed
@deryaza

Description

@deryaza

If you write a named query with a parameter like:

<sql-query name="x">
<query-param name="queryString" type="AnsiString" />
select * from something s where s.some_string_field = :queryString
</sql-query>

It will guess a type at this location and ignore parameter description written in .hbm.xml file.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions