From a6e8ca74e51a8dad2c75f58dae73f98e459449ca Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Wed, 18 Feb 2009 22:00:07 +0000 Subject: Allow object type to be used with JDBC. --- .../java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main/java') 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; -- cgit v1.2.3