You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.
If you select two columns from different tables with the same name, the result will contain only one of them.
My first attempt after detecting this was to define an alias for each column, but unfortunately commons-dbutils:commons-dbutils:1.5 doesn't use column labels for converting resultSets to maps but the original, potentially collisionable, name, as you can see in DBUTILS-100.
Dunno which could be the path from the module to solve this, one option is to move to commons-dbutils:commons-dbutils:1.6-SNAPSHOT, or maybe just extend org.apache.commons.dbutils.RowProcessor, override the toMap method and pass it in the contructor of org.apache.commons.dbutils.handlers.LimitedMapListHandler on com.bloidonia.vertx.mods.JdbcProcessor@270
Just let me know what do you think about this, and if you don't have time to apply this changes I can make you a PR.
The text was updated successfully, but these errors were encountered:
If you select two columns from different tables with the same name, the result will contain only one of them.
My first attempt after detecting this was to define an alias for each column, but unfortunately
commons-dbutils:commons-dbutils:1.5
doesn't use column labels for converting resultSets to maps but the original, potentially collisionable, name, as you can see in DBUTILS-100.Dunno which could be the path from the module to solve this, one option is to move to
commons-dbutils:commons-dbutils:1.6-SNAPSHOT
, or maybe just extendorg.apache.commons.dbutils.RowProcessor
, override thetoMap
method and pass it in the contructor oforg.apache.commons.dbutils.handlers.LimitedMapListHandler
on com.bloidonia.vertx.mods.JdbcProcessor@270Just let me know what do you think about this, and if you don't have time to apply this changes I can make you a PR.
The text was updated successfully, but these errors were encountered: