From 5c821cedffe9edfeb3c6490025ed8a3ed9777784 Mon Sep 17 00:00:00 2001 From: bernd Date: Wed, 14 Nov 2012 21:24:31 +0100 Subject: [PATCH 10/25] Convert column names in MapDataObjectBinding to lower case to avoid driver-dependent upper / lower case. --- eodsql/src/net/lemnik/eodsql/spi/util/MapDataObjectBinding.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eodsql/src/net/lemnik/eodsql/spi/util/MapDataObjectBinding.java b/eodsql/src/net/lemnik/eodsql/spi/util/MapDataObjectBinding.java index 1da2cd0..723ebf0 100644 --- a/eodsql/src/net/lemnik/eodsql/spi/util/MapDataObjectBinding.java +++ b/eodsql/src/net/lemnik/eodsql/spi/util/MapDataObjectBinding.java @@ -114,7 +114,7 @@ public class MapDataObjectBinding extends DataObjectBinding> final ResultSetMetaData metaData = row.getMetaData(); for (int i = 1; i <= metaData.getColumnCount(); ++i) { final int type = metaData.getColumnType(i); - final String name = metaData.getColumnName(i); + final String name = metaData.getColumnName(i).toLowerCase(); switch (type) { case Types.BIT: case Types.BOOLEAN: -- 1.8.0