Why we need to write a query as shown below. final String queryString = // "SELECT {p:" + StadiumModel.PK + "} "// + "FROM {" + StadiumModel._TYPECODE + " AS p} ";
we can also write in DAO as show below right.
final String queryString = " select * from {Stadium}"
If we write as hybris suggested will there any performance improvement?