summaryrefslogtreecommitdiff
path: root/src/main/java/com/amazon/carbonado/raw
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2007-08-26 01:11:29 +0000
committerBrian S. O'Neill <bronee@gmail.com>2007-08-26 01:11:29 +0000
commit00adea5bc6916b717132c72768ab3fea1b2a1a22 (patch)
treeba923df8ea6fcd0ebb17557cea16c355274a43ce /src/main/java/com/amazon/carbonado/raw
parent3c0acb2e614373452107aa54066d3398a54f338e (diff)
Added support for load and query trigger.
Diffstat (limited to 'src/main/java/com/amazon/carbonado/raw')
-rw-r--r--src/main/java/com/amazon/carbonado/raw/RawStorableGenerator.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/com/amazon/carbonado/raw/RawStorableGenerator.java b/src/main/java/com/amazon/carbonado/raw/RawStorableGenerator.java
index f475cab..0b0cfc7 100644
--- a/src/main/java/com/amazon/carbonado/raw/RawStorableGenerator.java
+++ b/src/main/java/com/amazon/carbonado/raw/RawStorableGenerator.java
@@ -240,9 +240,10 @@ public class RawStorableGenerator {
b.loadLocal(b.getParameter(2));
b.invokeVirtual(DECODE_DATA_METHOD_NAME, null, params);
- // Indicate that object is clean by calling markAllPropertiesClean.
+ // Indicate load completed in order to mark properties as valid and
+ // invoke load triggers.
b.loadThis();
- b.invokeVirtual(MARK_ALL_PROPERTIES_CLEAN, null, null);
+ b.invokeVirtual(StorableGenerator.LOAD_COMPLETED_METHOD_NAME, null, null);
} else {
// Only the primary key is clean. Calling
// markPropertiesClean might have no effect since subclass