I want to add a (where) condition in hibernate mapping file when fetching,
how could i do that for example fetch="select" where id != 1 ,am not using annotations also, so please specify within the mapping (hbm) files.
I want to add a (where) condition in hibernate mapping file when fetching, how
Share
According to the Hibernate documentation, you can specify a
whereclause when mapping a collection:This is also supported at the
<class>level.