I have this version:

<dependency>
    <groupId>io.dropwizard</groupId>
    <artifactId>dropwizard-jdbi</artifactId>
    <version>1.2.2</version>
</dependency>



but I used older versions too. 


When I create a mysql query that contains the mysql CONCAT() function, then the 
NullPointerException is thrown.


example:


this is working

"SELECT cd.display_name AS name
        FROM city_dct as cd 
        WHERE cd.display_name LIKE :partialName"



this is not working:


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


Any suggestion on this, or is it a bug?

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to