diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java index 0b1492c..245afd6 100644 --- a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java +++ b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java @@ -646,21 +646,13 @@ public class JDBCStorableIntrospector extends StorableIntrospector { }
break;
+ case REAL:
case FLOAT:
+ case DOUBLE:
if (desiredClass == float.class) {
actualClass = float.class;
suffix = "Float";
- } else if (desiredClass == String.class) {
- actualClass = String.class;
- suffix = "String";
- } else {
- return null;
- }
- break;
-
- case DOUBLE:
- case REAL:
- if (desiredClass == double.class) {
+ } else if (desiredClass == double.class) {
actualClass = double.class;
suffix = "Double";
} else if (desiredClass == String.class) {
|