From 14e9eec2a50939b3131b39eca76a50a8fcf67caf Mon Sep 17 00:00:00 2001 From: bernd Date: Thu, 4 Aug 2011 02:11:37 +0200 Subject: [PATCH 07/16] Convert column names in MapDataObjectBinding to lower case to avoid driver-dependent upper / lower case. --- .../eodsql/spi/util/MapDataObjectBinding.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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.6