SSP-797 -  Saving transient object before executing hql to satisfy
hibernate