Skip to content

dropwizard-jdbi creating query with concat generate NullPointerException #50

@grugna

Description

@grugna

this query works fine:
"SELECT cd.display_name AS name
FROM city_dct as cd
WHERE cd.display_name LIKE :partialName"

this query does not:
"SELECT cd.display_name AS name, concat('-',cd.city_cd) AS dbIDMultiKey
FROM city_dct as cd
WHERE cd.display_name LIKE :partialName"

The metadata generated has null values for tableName and the other attributes when the select concat is created
screen shot 2017-12-28 at 7 58 49 pm
.

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