Hi,
to do this, you need to change the generator templates. In your case, this
will be sql/base/mysql/table.vm
Make sure you are changing the template you are actually adrressing, i.e
check the torque.useClasspath variable in your generator settings to see
whether Torque uses the classpath or the file system. In case you use the
classpath, it would be best to change that, extract the templates to the
file system and do your changes there.
Thomas
On Tue, 2 Aug 2005, [ISO-8859-1] André Moreira wrote:
Does anyone know if it is possible to add custom options in the xml
scheme for table or column?
For instance, I would link to add in the table the collation
assignment (Mysql), something that will generated like:
create table (.... ) collate latin1_general_cs;
But I don't know how to tell torque-gen to generate it automatically.
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]