db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1377373 - in /db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates: om/templates/mapInit/baseMapInit.vm transformer/om/mapInit/DatabaseMapInitTransformer.properties
Date Sun, 26 Aug 2012 04:07:50 GMT
Author: tfischer
Date: Sun Aug 26 04:07:50 2012
New Revision: 1377373

URL: http://svn.apache.org/viewvc?rev=1377373&view=rev
Log:
import peer package in databaseMapInit if it is not the same package

Modified:
    db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/mapInit/baseMapInit.vm
    db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/transformer/om/mapInit/DatabaseMapInitTransformer.properties

Modified: db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/mapInit/baseMapInit.vm
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/mapInit/baseMapInit.vm?rev=1377373&r1=1377372&r2=1377373&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/mapInit/baseMapInit.vm
(original)
+++ db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/mapInit/baseMapInit.vm
Sun Aug 26 04:07:50 2012
@@ -26,6 +26,9 @@
 ##
 package ${mapInitPackage};
 
+#if ($peerPackage != $mapInitPackage)
+import ${peerPackage}.*;
+#end
 /**
  * This is a Torque Generated class that is used to load all database map 
  * information at once.  This is useful because Torque's default behaviour

Modified: db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/transformer/om/mapInit/DatabaseMapInitTransformer.properties
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/transformer/om/mapInit/DatabaseMapInitTransformer.properties?rev=1377373&r1=1377372&r2=1377373&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/transformer/om/mapInit/DatabaseMapInitTransformer.properties
(original)
+++ db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/transformer/om/mapInit/DatabaseMapInitTransformer.properties
Sun Aug 26 04:07:50 2012
@@ -16,3 +16,4 @@
 # under the License.
 
 ${attribute(noOverride):mapInitPackage}=${option:torque.om.package.package}${option:torque.om.package.mapInitPackageSuffix}
+${attribute(noOverride):peerPackage}=${option:torque.om.package.package}${option:torque.om.package.peerPackageSuffix}



---------------------------------------------------------------------
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