diff options
author | Brian S. O'Neill <bronee@gmail.com> | 2009-02-18 22:00:07 +0000 |
---|---|---|
committer | Brian S. O'Neill <bronee@gmail.com> | 2009-02-18 22:00:07 +0000 |
commit | a6e8ca74e51a8dad2c75f58dae73f98e459449ca (patch) | |
tree | 2cc2af084191440cd21a4fb36a1a1e0851540499 /src/main/java/com/amazon/carbonado/repo/jdbc | |
parent | f9780b8b92778f5bd43cf1d21d83c1999060df56 (diff) |
Allow object type to be used with JDBC.
Diffstat (limited to 'src/main/java/com/amazon/carbonado/repo/jdbc')
-rw-r--r-- | src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java | 4 |
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;
|