On Tue, 21 Nov 2000, Chris Crossen wrote:
> > I am using type="BIT" and type="DATE" in some of the column tags in my
> > schema xml file. These both become String types in the generated output
> > files.
> > In the getJavaType method in the TorqueStringUtil class, everything but
> > VARCHAR, INTEGER, and TIMESTAMP are defaulted to String. Are these the
only
> < types available?
> Actually I should remove that method, it's not used. That types are
> mapped in the db.props file for the target database. And the db.props
> file for the target db is located in the templates/sql/$DB/db.props
> in the torque structure. Sorry it's not very clear. But that's where
> you map the types. And if you do map types send me a diff so I
> can integrate them :-)
> --
> jvz.
Thanks for the reply, Jason. I am not generating SQL DDL. The problem I am
having is in the generated map builder and peer files. The columns I define
as BIT and DATE are being generated as String fields in the .java files.
Will modifying the appropriate db.props file fix this?
Thanks again,
Chris
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]