Hi,
Can I create a bean and yours mapping file without primary key
or "id" tag???
Code:
<hibernate-mapping>
<class name="embarcador.database.web.manager.UserLog" table="log_usuario">
<many-to-one name="user" column="cpf"
class="embarcador.database.web.manager.User"/>
<property name="dtLog" column="dt_log"/>
<many-to-one name="action" column="id_acao"
class="embarcador.database.web.manager.Action"/>
<property name="idSession" column="id_sessao"/>
<property name="complement" column="complemento"/>
</class>
</hibernate-mapping>
thanks