I have this mapping association set
<set name="historyc" cascade="all" inverse="true" lazy="true">
<key column="C536870921"/>
<many-to-many class="helpdesk.IncidenceHistoryc"/>
</set>
and the hibernate query is
select historyc0_.C536870921 as C536870921__, historyc0_.C536870921 as C5368709210_, historyc0_.C536870916 as C5368709160_, historyc0_.C3 as C30_, historyc0_.C2 as C20_, historyc0_.C536870915 as C5368709150_, historyc0_.C536870913 as C5368709130_ from REGISTRO_HISTORICO_INCIDENCIA historyc0_ where historyc0_.C536870921=?
If I execute the query in the database works perfectly but hibernate is unable to do it well
What is the problem??
|