Alguem conhece um editor de hql pra eu testar antes de colocar no codigo?
aproveitando a duvida…
meu mapeamento…
tabela TbInstituicao
<class name="TbInstituicao" table="TB_INSTITUICAO">
<id name="insId" type="int">
<column name="INS_ID" precision="10" scale="0" />
<generator class="assigned" />
</id>
tabela tbEventos
<many-to-one name="tbInstituicao" class="TbInstituicao" fetch="select">
<column name="INS_ID" precision="10" scale="0" />
</many-to-one>
from TbEventos a,TbInstituicao b where AQUI PRECISO COMPARAR O CODIGO DE UM COM OUTRA"