You can view the issue detail at the following URL:
<http://nagoya.apache.org/scarab/servlet/scarab/id/TRQS17>
Type : Defect
Issue Id : TRQS17
Reported by: Rogelio Robles
rrobles - ([EMAIL PROTECTED])
Details:
Summary: Missing java.sql.Date import in templates/om/Peer.vm (torque-3.0-b5-dev)
Description: When using a TIMESTAMP column as part of a primary key the automatically
generated Peer object source file is missing to import the java.util.Date class.
My quick & dirty assumption is that this due to the switch recently done to express
PK's getXxx columns with Java primitive types instead of ObjectKey descendents like
DateKey (Issue #TRQ41).
I have files automatically generated before and after this change and the place where
this issue becomes clear it's in the retrieveByPK() primary key column-by-colum flavor.
To reproduce mark a TIMESTAMP column as a primary key and generate the OM model. The
code generated doesn't compile, even tough the fix it's easy.
Status: New
Database: DB2
Operating system: Windows
Priority: High
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>