Hibernate 6:什么是 SQM?
Hibernate 6: What is SQM?
在 Hibernate 6.0 路线图 (https://github.com/hibernate/hibernate-orm/wiki/Roadmap6.0) 中提到 SQM 即将推出。
什么是 SQM?
在此路线图中,以下简短词语对其进行了描述:
SQM integration: Improved performance for SQL generation and execution (smaller SQL, position-based extraction of results rather than name(alias)-based); Unified approach for HQL, JPQL and Criteria queries.
这就是我对 SQM 的全部了解。有人可以更详细地解释一下吗?它到底是什么,在编码方面会是什么样子,它有哪些好处?
在 Hibernate 6.0 路线图 (https://github.com/hibernate/hibernate-orm/wiki/Roadmap6.0) 中提到 SQM 即将推出。
什么是 SQM?
在此路线图中,以下简短词语对其进行了描述:
SQM integration: Improved performance for SQL generation and execution (smaller SQL, position-based extraction of results rather than name(alias)-based); Unified approach for HQL, JPQL and Criteria queries.
这就是我对 SQM 的全部了解。有人可以更详细地解释一下吗?它到底是什么,在编码方面会是什么样子,它有哪些好处?