removed @Temporal and updated sessionFactory bean