summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2009-02-18 22:00:07 +0000
committerBrian S. O'Neill <bronee@gmail.com>2009-02-18 22:00:07 +0000
commita6e8ca74e51a8dad2c75f58dae73f98e459449ca (patch)
tree2cc2af084191440cd21a4fb36a1a1e0851540499
parentf9780b8b92778f5bd43cf1d21d83c1999060df56 (diff)
Allow object type to be used with JDBC.
-rw-r--r--src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java4
1 files changed, 4 insertions, 0 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 66e1ad5..0f8ab95 100644
--- a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java
+++ b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java
@@ -621,6 +621,10 @@ public class JDBCStorableIntrospector extends StorableIntrospector {
}
}
+ if (desiredClass == Object.class) {
+ return new AccessInfo("Object", Object.class);
+ }
+
Class actualClass;
String suffix;