summaryrefslogtreecommitdiff
path: root/src/main/java/com/amazon/carbonado/repo
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2008-04-07 00:57:48 +0000
committerBrian S. O'Neill <bronee@gmail.com>2008-04-07 00:57:48 +0000
commit1f8ac314930f8b2cb13b9623a1e79706b1bc8d79 (patch)
treee990da3481011212776434186f60c529fe5f4a40 /src/main/java/com/amazon/carbonado/repo
parent755d0fa1dfa42d8987dd9dc2439f8a1f9c058fe9 (diff)
Add prepare method to Storable.
Diffstat (limited to 'src/main/java/com/amazon/carbonado/repo')
-rw-r--r--src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableGenerator.java2
1 files changed, 2 insertions, 0 deletions
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<S extends Storable> {
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.