title: How to change hibernate mapping properties at runtime
body: <p>I have an entity in which i have specified lazy="false" and batch-size="100". It is working fine but in some other scenario i want to remove batch -size and set lazy="true". If i change hbm files then it affect other applications. Is there any way i can change properties of entity for current session only before executing hql.</p>