1. Query interface: Query is a query interface specially used by hibernate to execute hql statements
hql ( hibernate query language ) :
Support conditional query, projection query, paging query, join query, group query, sub query, built-in some aggregate functions,
Dynamic binding parameters are supported.
1. There are two ways to bind parameters of hql:
Using (? ), the position of the parameter to use when binding
Use (: parameter name ), use the parameter name when binding
2、