From 46d67e76a3822d39391d457ea7a4f50201095224 Mon Sep 17 00:00:00 2001 From: mdb Date: Fri, 20 Oct 2006 18:52:49 +0000 Subject: [PATCH] Another @Computed related patch. git-svn-id: https://samskivert.googlecode.com/svn/trunk@1956 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- build.xml | 2 +- src/java/com/samskivert/jdbc/depot/DepotMarshaller.java | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build.xml b/build.xml index bff44600..2c7e3de4 100644 --- a/build.xml +++ b/build.xml @@ -38,7 +38,7 @@ - + diff --git a/src/java/com/samskivert/jdbc/depot/DepotMarshaller.java b/src/java/com/samskivert/jdbc/depot/DepotMarshaller.java index 218c8696..44cde835 100644 --- a/src/java/com/samskivert/jdbc/depot/DepotMarshaller.java +++ b/src/java/com/samskivert/jdbc/depot/DepotMarshaller.java @@ -360,6 +360,9 @@ public class DepotMarshaller try { T po = (T)_pclass.newInstance(); for (FieldMarshaller fm : _fields.values()) { + if (fm.getComputed() != null && !fm.getComputed().required()) { + continue; + } fm.getValue(rs, po); } return po;