Code:
<hibernate-mapping>
<class name="suprimentos.dominio.Solicitacao" table="TB_SOLICITA_SUPRIMENTO">
<id name="numeroSolicitacao" type="java.lang.Long" column="NRSOLICITACAO">
<generator class="assigned" />
</id>
<property name="cpfProponente" type="string">
<column name="CPFPROPONENTE" length="20" />
</property>
<property name="finalidade" type="string">
<column name="FINALIDADE" length="20" />
</property>
<property name="dataSolicitacao" type="date">
<column name="DTSOLICITACAO" length="7" />
</property>
<property name="cpfSuprido" type="string">
<column name="CPF" length="20" />
</property>
<property name="dataInicial" type="date">
<column name="DTINICAPLICACAO" length="7" />
</property>
<property name="dataFinal" type="date">
<column name="DTFINAPLICACAO" length="7" />
</property>
<property name="excesso" type="java.lang.Character">
<column name="FGEXCESSO" length="1" />
</property>
</class>
</hibernate-mapping>
This is the WRONG file. It makes hibernate loop infinitely. I can't see what's wrong. :(