db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r414544 - in /db/torque: site/trunk/xdocs/changes.xml templates/trunk/src/templates/om/Peer.vm
Date Thu, 15 Jun 2006 10:41:12 GMT
Author: tfischer
Date: Thu Jun 15 03:41:12 2006
New Revision: 414544

URL: http://svn.apache.org/viewvc?rev=414544&view=rev
Log:
Fixed wrong constant CLASS_DEFAULT_NAME in generated peer classes
for the case that torque.subpackage.object was set in the generator properties.
Fixes TORQUE-28.
Thanks to Mojmir Hanes for the patch.

Modified:
    db/torque/site/trunk/xdocs/changes.xml
    db/torque/templates/trunk/src/templates/om/Peer.vm

Modified: db/torque/site/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/db/torque/site/trunk/xdocs/changes.xml?rev=414544&r1=414543&r2=414544&view=diff
==============================================================================
--- db/torque/site/trunk/xdocs/changes.xml (original)
+++ db/torque/site/trunk/xdocs/changes.xml Thu Jun 15 03:41:12 2006
@@ -29,6 +29,11 @@
 
   <release version="3.2.1-dev" date="in SVN">
   
+    <action type="fix" dev="tfischer" issue="TORQUE-28" due-to="Mojmir Hanes">
+      Fixed wrong constant CLASS_DEFAULT_NAME in generated peer classes.
+      The error occurred only if the option torque.subpackage.object
+      was set in the generator properties.
+    </action>
     <action type="add" dev="tfischer" issue="TORQUE-22" due-to="Greg Monroe">
       A database map can now load all contained tableMaps
       using its method databaseMap.initialize().

Modified: db/torque/templates/trunk/src/templates/om/Peer.vm
URL: http://svn.apache.org/viewvc/db/torque/templates/trunk/src/templates/om/Peer.vm?rev=414544&r1=414543&r2=414544&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/om/Peer.vm (original)
+++ db/torque/templates/trunk/src/templates/om/Peer.vm Thu Jun 15 03:41:12 2006
@@ -128,7 +128,7 @@
 
     /** A class that can be returned by this peer. */
     protected static final String CLASSNAME_DEFAULT =
-        "${package}.$table.JavaName";
+        "${packageObject}.$table.JavaName";
 
     /** A class that can be returned by this peer. */
     protected static final Class CLASS_DEFAULT = initClass(CLASSNAME_DEFAULT);



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message