db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1371372 - in /db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/impl/base: basePeerForViewImpl.vm basePeerImpl.vm
Date Thu, 09 Aug 2012 18:44:40 GMT
Author: tv
Date: Thu Aug  9 18:44:39 2012
New Revision: 1371372

URL: http://svn.apache.org/viewvc?rev=1371372&view=rev
Log:
Avoid generation of methods that could be moved to BasePeerImpl

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

Modified: db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/impl/base/basePeerForViewImpl.vm
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/impl/base/basePeerForViewImpl.vm?rev=1371372&r1=1371371&r2=1371372&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/impl/base/basePeerForViewImpl.vm
(original)
+++ db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/impl/base/basePeerForViewImpl.vm
Thu Aug  9 18:44:39 2012
@@ -34,16 +34,16 @@ $torqueGen.mergepoint("imports")
 $torqueGen.mergepoint("classJavadoc")
 public abstract class $basePeerImplClassName
 #if (${basePeerImplBaseClass} && ${basePeerImplBaseClass} !="")
-    extends ${basePeerImplBaseClass}
+    extends ${basePeerImplBaseClass}<${dbObjectClassName}>
 #end
 {
 $torqueGen.mergepoint("log")
 
 $torqueGen.mergepoint("serialVersionUid")
 
-$torqueGen.mergepoint("resultSet2Objects")
-$torqueGen.mergepoint("addSelectColumns")
-$torqueGen.mergepoint("correctBooleans")
+##$torqueGen.mergepoint("resultSet2Objects")
+##$torqueGen.mergepoint("addSelectColumns")
+##$torqueGen.mergepoint("correctBooleans")
 $torqueGen.mergepoint("doSelect")
 $torqueGen.mergepoint("getDbObjectInstance")
 $torqueGen.mergepoint("doInsert")
@@ -68,7 +68,7 @@ $torqueGen.mergepoint("fillReferencingOb
 $torqueGen.mergepoint("fillerChunkSizeGetter")
   #end
 #end
-$torqueGen.mergepoint("getTableMap")
-$torqueGen.mergepoint("setDbName")
+##$torqueGen.mergepoint("getTableMap")
+##$torqueGen.mergepoint("setDbName")
 $torqueGen.mergepoint("extensions")
 }

Modified: db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/impl/base/basePeerImpl.vm
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/impl/base/basePeerImpl.vm?rev=1371372&r1=1371371&r2=1371372&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/impl/base/basePeerImpl.vm
(original)
+++ db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/impl/base/basePeerImpl.vm
Thu Aug  9 18:44:39 2012
@@ -34,16 +34,16 @@ $torqueGen.mergepoint("imports")
 $torqueGen.mergepoint("classJavadoc")
 public abstract class $basePeerImplClassName
 #if (${basePeerImplBaseClass} && ${basePeerImplBaseClass} !="")
-    extends ${basePeerImplBaseClass}
+    extends ${basePeerImplBaseClass}<${dbObjectClassName}>
 #end
 {
 $torqueGen.mergepoint("log")
 
 $torqueGen.mergepoint("serialVersionUid")
 
-$torqueGen.mergepoint("resultSet2Objects")
-$torqueGen.mergepoint("addSelectColumns")
-$torqueGen.mergepoint("correctBooleans")
+##$torqueGen.mergepoint("resultSet2Objects")
+##$torqueGen.mergepoint("addSelectColumns")
+##$torqueGen.mergepoint("correctBooleans")
 $torqueGen.mergepoint("doSelect")
 $torqueGen.mergepoint("getDbObjectInstance")
 $torqueGen.mergepoint("doInsert")
@@ -68,7 +68,7 @@ $torqueGen.mergepoint("fillReferencingOb
 $torqueGen.mergepoint("fillerChunkSizeGetter")
   #end
 #end
-$torqueGen.mergepoint("getTableMap")
-$torqueGen.mergepoint("setDbName")
+##$torqueGen.mergepoint("getTableMap")
+##$torqueGen.mergepoint("setDbName")
 $torqueGen.mergepoint("extensions")
 }



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