From ba452b3659150da84b041749a305e2b1f1c73fab Mon Sep 17 00:00:00 2001 From: bernd Date: Wed, 25 Jul 2012 23:43:39 +0200 Subject: [PATCH 10/22] Convert column names in MapDataObjectBinding to lower case to avoid driver-dependent upper / lower case. --- .../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.7.9.5