Hi all,
I use NewTorque for my application. I needed some more features as we
already discuss. Theses features are :
- autoIncrement (I added a boolean in the Column class)
- table readOnly (I add a boolean in the Table class)
- print all the key with Java Type (this is useful to generate retrieve
methods)
- history attribute in column tag. I had a History table in my application.
By specifying that the column must be "historifiable" this generate
automatically the code to save changes in the history table. This table is :
<table name="history">
<column name="history_sid" null="false" primaryKey="true"
type="INTEGER" autoIncrement="true" />
<column name="change_dt" type="TIMESTAMP"/>
<column name="name_table" type="VARCHAR" size="255"/>
<column name="field" type="VARCHAR" size="50"/>
<column name="old_value" type="VARCHAR" size="255"/>
<column name="row_id" type="INTEGER"/>
</table>
I also change a bit the templates to generate automatically the retrieve
methods for data objects. This works fine and generate compilable code.
I think this would be great to add theses features to Turbine.
I will soon be able to give patchs for classes and templates.
regards,
Herv�
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]