I am using Hibernate 4 and would like to simply list all rows of a table. All solutions I found suggest using something like \"from tablename\", but I would like to avoid hardco
You can use
session.createCriteria(MyEntity.class).list();
for example.