Now I study to work with a database, with Hibernate. On the Internet I found examples for reading data from a database, for example:
String hql = "select * from table_name"; SQLQuery query = session.createSQLQuery(hql); List results = query.list(); So here is the question. I cannot find the value of the list() method anywhere, what is it doing in this case? and how does it work?