I'm trying to use <generator class> tag set to 'hilo' to create a progressive id value of some tables.
In particular I have two table which id fields are managed by hilo.
The table to manage the keys is not the defalut table, but a custom table named 'Tabella'.
When the table 'Tabella' contains only one column, (and so I manage a progressive id of a single Table), I have not any problems: all run right.
When I put into table 'Tabella' more of one field to manage the id field of more Tables I have a problem.
In particular the problem is that the value generated is not a progressive number into a field of the Tabella table but it is a very big number.
Someone can help me??
The pice of xml code that I insert in my xml file is following:
<id name="Id" type="Int32" column="Id" access="field.pascalcase-m-underscore">
<generator class="hilo">
<param name="table">Tabella</param>
<param name="column">campo</param>
</generator>
</id>
Hi, Gianp.
|