@SuppressWarnings("unchecked") @Override public List<T> readAll(){
  return find("FROM " + entityClass.getName());
}

@ SuppressWarnings ( "unchecked" ) @ Override public List < T > readAll ( ) { return find ( "FROM " + entityClass . getName ( ) ) ; }
returns all objects in a list .
