From 1f8ac314930f8b2cb13b9623a1e79706b1bc8d79 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Mon, 7 Apr 2008 00:57:48 +0000 Subject: Add prepare method to Storable. --- src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableGenerator.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/java/com/amazon/carbonado/repo/jdbc') diff --git a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableGenerator.java b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableGenerator.java index d136206..1abe8d8 100644 --- a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableGenerator.java +++ b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableGenerator.java @@ -248,6 +248,8 @@ class JDBCStorableGenerator { b.returnVoid(); } + CodeBuilderUtil.definePrepareMethod(mClassFile, mStorableType, jdbcSupportType); + // Add private method to extract all properties from a ResultSet row. defineExtractAllMethod(lobLoaderMap); // Add private method to extract non-pk properties from a ResultSet row. -- cgit v1.2.3