seade 2004/08/14 05:02:33
Modified: src/generator/src/templates/om Tag: TORQUE_3_1_BRANCH
Object.vm
xdocs Tag: TORQUE_3_1_BRANCH release-changes.xml
Log:
TRQS223: The get${pVarName} method in the Object.vm template does not return related
objects with a negative PK.
Thanks to Nick Curry for the patch.
Revision Changes Path
No revision
No revision
1.7.2.3 +1 -1 db-torque/src/generator/src/templates/om/Object.vm
Index: Object.vm
===================================================================
RCS file: /home/cvs/db-torque/src/generator/src/templates/om/Object.vm,v
retrieving revision 1.7.2.2
retrieving revision 1.7.2.3
diff -u -r1.7.2.2 -r1.7.2.3
--- Object.vm 22 Jan 2004 01:06:50 -0000 1.7.2.2
+++ Object.vm 14 Aug 2004 12:02:33 -0000 1.7.2.3
@@ -303,7 +303,7 @@
#set ( $cjtype = $column.JavaNative )
#set ( $clo=$column.UncapitalisedJavaName )
#if ($cjtype == "short" || $cjtype == "int" || $cjtype == "long" ||
$cjtype == "byte" || $cjtype == "float" || $cjtype == "double")
- #set ( $conditional = "$conditional${and}this.${clo} > 0" )
+ #set ( $conditional = "$conditional${and}this.${clo} != 0" )
#else
#set ( $conditional =
"$conditional${and}!ObjectUtils.equals(this.${clo}, null)" )
#end
No revision
No revision
1.3.2.8 +5 -0 db-torque/xdocs/release-changes.xml
Index: release-changes.xml
===================================================================
RCS file: /home/cvs/db-torque/xdocs/release-changes.xml,v
retrieving revision 1.3.2.7
retrieving revision 1.3.2.8
diff -u -r1.3.2.7 -r1.3.2.8
--- release-changes.xml 6 Aug 2004 12:13:13 -0000 1.3.2.7
+++ release-changes.xml 14 Aug 2004 12:02:33 -0000 1.3.2.8
@@ -34,6 +34,11 @@
<p>
<ul>
<li>
+ TRQS223: The get${pVarName} method in the Object.vm template does not
+ return related objects with a negative PK. Thanks to Nick Curry for
+ the patch.
+ </li>
+ <li>
Fix NOT_LIKE with no wildcard bug.
</li>
<li>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]