summaryrefslogtreecommitdiff
path: root/src/main/java/com/amazon/carbonado/repo
diff options
context:
space:
mode:
authorTobias Holgers <tholgers@users.sourceforge.net>2009-04-29 00:48:35 +0000
committerTobias Holgers <tholgers@users.sourceforge.net>2009-04-29 00:48:35 +0000
commit4a0115c24f7eb72405ecdc2c2d4cc25af429e5e1 (patch)
tree0b6c163a2cc82ded85c08eed802245e357d80974 /src/main/java/com/amazon/carbonado/repo
parent8b9ab0b1892477912073c0df7712d9e7520e8983 (diff)
Added @Derived(shouldCopy=true) to copy derived properties used as repository hints
Diffstat (limited to 'src/main/java/com/amazon/carbonado/repo')
-rw-r--r--src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java5
1 files changed, 5 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 0f8ab95..cecd7a9 100644
--- a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java
+++ b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java
@@ -73,6 +73,7 @@ import com.amazon.carbonado.info.StorablePropertyConstraint;
*
* @author Brian S O'Neill
* @author Adam D Bradley
+ * @author Tobias Holgers
*/
public class JDBCStorableIntrospector extends StorableIntrospector {
// Maps compound keys to softly referenced JDBCStorableInfo objects.
@@ -1377,6 +1378,10 @@ public class JDBCStorableIntrospector extends StorableIntrospector {
return mMainProperty.getDerivedToProperties();
}
+ public boolean shouldCopyDerived() {
+ return mMainProperty.shouldCopyDerived();
+ }
+
public boolean isSupported() {
if (isJoin()) {
// TODO: Check if joined type is supported