I'm looking to adjust the way the Mysql schema is
created using torque.  I am loooking at adding some
keywords and modifiying the resultant .sql file.  I
looked at adding a keyword to
tdk/share/conf/torque/templates/sql/base/mysql/db.props.
 The line I added was:
   MEDIUMINT=MEDIUMINT
When I try to use it in type="MEDIUMINT", I get the
following error(in velocity log):

"Method get threw exception for reference $dbprops in
/sql/base/mysql/columns.vm at [2,20]"

That line is "#set ( $type = $dbprops.get($col.Type)
)"

Shouldn't this pick up the column type from the
db.props file?

--josef




__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

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

Reply via email to