Another @Computed related patch.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1956 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -38,7 +38,7 @@
|
|||||||
<fileset dir="${src.dir}" includes="**/*.properties"/>
|
<fileset dir="${src.dir}" includes="**/*.properties"/>
|
||||||
</copy>
|
</copy>
|
||||||
<copy todir="${deploy.dir}/lib" flatten="true">
|
<copy todir="${deploy.dir}/lib" flatten="true">
|
||||||
<fileset refid="samskivert.libs"/>
|
<fileset refid="${app.name}.libs"/>
|
||||||
</copy>
|
</copy>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|||||||
@@ -360,6 +360,9 @@ public class DepotMarshaller<T>
|
|||||||
try {
|
try {
|
||||||
T po = (T)_pclass.newInstance();
|
T po = (T)_pclass.newInstance();
|
||||||
for (FieldMarshaller fm : _fields.values()) {
|
for (FieldMarshaller fm : _fields.values()) {
|
||||||
|
if (fm.getComputed() != null && !fm.getComputed().required()) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
fm.getValue(rs, po);
|
fm.getValue(rs, po);
|
||||||
}
|
}
|
||||||
return po;
|
return po;
|
||||||
|
|||||||
Reference in New Issue
Block a user