mpoeschl 2002/10/24 13:27:09
Modified: src/templates/om BaseManager.vm Peer.vm
Log:
import java.util.Date;
Revision Changes Path
1.14 +10 -9 jakarta-turbine-torque/src/templates/om/BaseManager.vm
Index: BaseManager.vm
===================================================================
RCS file: /home/cvs/jakarta-turbine-torque/src/templates/om/BaseManager.vm,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- BaseManager.vm 24 Oct 2002 18:08:10 -0000 1.13
+++ BaseManager.vm 24 Oct 2002 20:27:09 -0000 1.14
@@ -15,6 +15,7 @@
#end
package ${package};
+import java.util.Date;
import java.util.List;
import org.apache.torque.Torque;
@@ -27,8 +28,8 @@
import org.apache.torque.om.Persistent;
import org.apache.torque.util.Criteria;
-/**
- * This class manages $interfaceName objects.
+/**
+ * This class manages $interfaceName objects.
* This class was autogenerated by Torque #if ($addTimeStamp)on:
*
* [$now]
@@ -36,14 +37,14 @@
#end
*
* You should not use this class directly. It should not even be
- * extended all references should be to ${interfaceName}Manager
+ * extended all references should be to ${interfaceName}Manager
*/
public abstract class $basePrefix${interfaceName}Manager
extends AbstractBaseManager
{
/** The name of the manager */
protected static String MANAGED_CLASS = "${package}.${interfaceName}";
-
+
/** The name of our class to pass to Torque as the default manager. */
protected static String DEFAULT_MANAGER_CLASS
= "${package}.${interfaceName}Manager";
@@ -151,7 +152,7 @@
*/
public static List getInstances(List ids, boolean fromCache)
throws TorqueException
- {
+ {
return getManager().getInstancesImpl(ids, fromCache);
}
@@ -244,7 +245,7 @@
* @return a <code>List</code> of ${interfaceName}s
* @exception TorqueException if an error occurs
*/
- protected List getInstancesImpl(List ids)
+ protected List getInstancesImpl(List ids)
throws TorqueException
{
return getOMs(ids);
@@ -259,7 +260,7 @@
* @return a <code>List</code> of ${interfaceName}s
* @exception TorqueException if an error occurs
*/
- protected List getInstancesImpl(List ids, boolean fromCache)
+ protected List getInstancesImpl(List ids, boolean fromCache)
throws TorqueException
{
return getOMs(ids, fromCache);
@@ -296,7 +297,7 @@
* @return a <code>List</code> value
* @exception TorqueException if an error occurs
*/
- protected List retrieveStoredOMs(List ids)
+ protected List retrieveStoredOMs(List ids)
throws TorqueException
{
return ${table.JavaName}Peer.${retrieveMethod}s(ids);
1.43 +2 -1 jakarta-turbine-torque/src/templates/om/Peer.vm
Index: Peer.vm
===================================================================
RCS file: /home/cvs/jakarta-turbine-torque/src/templates/om/Peer.vm,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- Peer.vm 24 Oct 2002 18:08:11 -0000 1.42
+++ Peer.vm 24 Oct 2002 20:27:09 -0000 1.43
@@ -10,6 +10,7 @@
import java.sql.Connection;
import java.sql.SQLException;
import java.util.ArrayList;
+import java.util.Date;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
@@ -1250,7 +1251,7 @@
#end
#end
- #if ($includeJoinAll)
+ #if ($includeJoinAll)
#foreach ($fk in $table.ForeignKeys)
#set ( $tblFK = $table.Database.getTable($fk.ForeignTableName) )
--
To unsubscribe, e-mail: <mailto:turbine-torque-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-torque-dev-help@;jakarta.apache.org>