seade 2004/08/14 05:01:42
Modified: src/generator/src/templates/om Object.vm
xdocs 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
1.14 +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.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- Object.vm 17 Apr 2004 21:08:09 -0000 1.13
+++ Object.vm 14 Aug 2004 12:01:42 -0000 1.14
@@ -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
1.126 +5 -0 db-torque/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/db-torque/xdocs/changes.xml,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -r1.125 -r1.126
--- changes.xml 6 Aug 2004 12:14:15 -0000 1.125
+++ changes.xml 14 Aug 2004 12:01:42 -0000 1.126
@@ -8,6 +8,11 @@
<body>
<release version="3.2-alpha" date="in CVS">
+ <action dev='mpoeschl' type='fix'>
+ 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.
+ </action>
<action dev='seade' type='add'>
DB2 limit and offset support. Thanks to Augustin Vidovic for the patch.
</action>
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org
|