After update to hibernate 4.3.6 save(entity) doesn't work. Before update save look's like:
public void save(Object entity) { getHibernateTemplate().save(entity); }
And it work's fine. Now it's:
public void save(Object entity) { getCurrentSession().save(entity); }
And it doesn't save entity. Hibernate entities and maps are the same. Nothing was changed. The problem is when i'm trying to save entity, then i'm calling stored procedure using ibatis which need to get entity saved before in DB (Oracle). There is no data in DB so my procedure crash.
My question: What is wrong with hibernate-core 4.3.6 that this save doesn't work like in hibernate-core 3.5.6 (my previous version). No changes in code except save call. Only libraries.
|