Hi,

there is a problem in the Peer.vm template which causes that some generated 
source files cannot be compiled. The problem happens when a date is primary 
key of a table, the peer classes won't compile because the class DateKey 
cannot be found. Adding the import to this class is enough to solve the 
problem...

Here is a patch to fix it:

cvs diff -u Peer.vm
Index: Peer.vm
===================================================================
RCS file: /home/cvspublic/jakarta-turbine-torque/src/templates/om/Peer.vm,v
retrieving revision 1.37
diff -u -r1.37 Peer.vm
--- Peer.vm     31 Jul 2002 01:52:19 -0000      1.37
+++ Peer.vm     13 Aug 2002 15:56:53 -0000
@@ -17,6 +17,7 @@
  import org.apache.torque.TorqueException;
  import org.apache.torque.map.MapBuilder;
  import org.apache.torque.map.TableMap;
+import org.apache.torque.om.DateKey;
  import org.apache.torque.om.NumberKey;
  import org.apache.torque.om.StringKey;
  import org.apache.torque.om.ObjectKey;


regards,
Maarten

--
Maarten Coene
Katholieke Universiteit Leuven
Dept. Computerwetenschappen             Tel: ++32 (0)16/32 78 25
Celestijnenlaan 200A
B-3001 Heverlee


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to