hi to all,
how can i specify to store a field of the object?
example:
Code:
public class nomeclasse {
private Long id;
private Tipo tipo;
...getters &setters...
}
Code:
public class Tipo{
private String description
...getters &setters...
}
Code:
<class name="nomeclasse" table="TABELLA" >
<id name="id" type="long" column="ID">
<generator class="native"/>
</id>
<property name="tipo" column="TIPO" ...... />
</class>
what do i have to put instead of the points to specify that i want the field description of the "Tipo" object in the table?
10x