summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Winkler2009-07-13 08:34:09 (EDT)
committerStefan Winkler2009-07-13 08:34:09 (EDT)
commit05b876a3a3212a6de4d1dcfa56edcd29cbd25e85 (patch)
treecd49264270a50dce69468d86f4072a2ec1852817
parent88296b4e188dd9b5c311090f47690873c76b4a0a (diff)
downloadcdo-05b876a3a3212a6de4d1dcfa56edcd29cbd25e85.zip
cdo-05b876a3a3212a6de4d1dcfa56edcd29cbd25e85.tar.gz
cdo-05b876a3a3212a6de4d1dcfa56edcd29cbd25e85.tar.bz2
[283305] [DB] TypeMapping for Character does not work correctly
https://bugs.eclipse.org/bugs/show_bug.cgi?id=283305
-rw-r--r--plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/mapping/TypeMapping.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/mapping/TypeMapping.java b/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/mapping/TypeMapping.java
index 619fd0e..a1c7c0d 100644
--- a/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/mapping/TypeMapping.java
+++ b/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/mapping/TypeMapping.java
@@ -358,6 +358,12 @@ public abstract class TypeMapping implements ITypeMapping
return str.charAt(0);
}
+
+ @Override
+ protected void doSetValue(PreparedStatement stmt, int index, Object value) throws SQLException
+ {
+ stmt.setString(index, ((Character)value).toString());
+ }
}
/**