db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1148412 - /db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/base/peerImplGetter.vm
Date Tue, 19 Jul 2011 15:48:33 GMT
Author: tfischer
Date: Tue Jul 19 15:48:32 2011
New Revision: 1148412

URL: http://svn.apache.org/viewvc?rev=1148412&view=rev
Log:
allow overriding of peerImpl creator method in peer class

Modified:
    db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/base/peerImplGetter.vm

Modified: db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/base/peerImplGetter.vm
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/base/peerImplGetter.vm?rev=1148412&r1=1148411&r2=1148412&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/base/peerImplGetter.vm
(original)
+++ db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/base/peerImplGetter.vm
Tue Jul 19 15:48:32 2011
@@ -36,7 +36,7 @@
         ${peerImplClassName} peerImplInstance = ${peerImplFieldName};
         if (peerImplInstance == null)
         {
-            peerImplInstance = create${peerImplClassName}();
+            peerImplInstance = ${peerClassName}.create${peerImplClassName}();
             ${peerImplFieldName} = peerImplInstance;
         }
         return peerImplInstance;



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