Removed the default constructor and added support in table repository for entities with non default constructors