aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/iciql/SQLDialectMySQL.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2015-04-16 19:47:27 -0400
committerJames Moger <james.moger@gitblit.com>2015-04-16 20:06:15 -0400
commite670abca93ddc6455ab75a01cfdd07abc3b3e9ad (patch)
treec92616711ce399142c69286c685fd834eca2359f /src/main/java/com/iciql/SQLDialectMySQL.java
parent5f71b4c044a382b89bd05577ef6fed86ed593c31 (diff)
downloadiciql-e670abca93ddc6455ab75a01cfdd07abc3b3e9ad.tar.gz
iciql-e670abca93ddc6455ab75a01cfdd07abc3b3e9ad.zip
Use JavaType as the key for DataTypeAdapter registration
Diffstat (limited to 'src/main/java/com/iciql/SQLDialectMySQL.java')
-rw-r--r--src/main/java/com/iciql/SQLDialectMySQL.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/iciql/SQLDialectMySQL.java b/src/main/java/com/iciql/SQLDialectMySQL.java
index ec5923f..ea19384 100644
--- a/src/main/java/com/iciql/SQLDialectMySQL.java
+++ b/src/main/java/com/iciql/SQLDialectMySQL.java
@@ -77,7 +77,7 @@ public class SQLDialectMySQL extends SQLDialectDefault {
buff.appendExceptFirst(", ");
buff.append('?');
Object value = def.getValue(obj, field);
- Object parameter = serialize(value, field.typeAdapter);
+ Object parameter = serialize(value);
stat.addParameter(parameter);
}
buff.append(") ON DUPLICATE KEY UPDATE ");