Reviewed CustomTableRepositopryHibernate and fixed code related issues