added GenericHibernateWriter