Herv� Guidetti wrote:
> I use NewTorque for my application. I needed some more features as we
> already discuss.
Have you implemented all that already? Great!
> Theses features are :
> - autoIncrement (I added a boolean in the Column class)
Does it work for all DBs?
> - table readOnly (I add a boolean in the Table class)
Cool! I assume only thing it does is that it removes set... methods, right?
Do you think it would make sense to add this attribute to columns as well?
> - print all the key with Java Type (this is useful to generate retrieve methods)
Could you explain. I am not sure I understand...
> - 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>
This looks nice but do we need to incorporate it into turbine by default? Is it
general enough?
> I also change a bit the templates to generate automatically the retrieve
> methods for data objects.
What do you mean?
> 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.
Great! Hope to see that soon...
fedor.
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]