所有的抓取模式类都实现了相同的接口。
Hibernate还提供了第二种可以在查询中使用的抓取模式设置。
Hibernate also provides a second fetch mode setting you can use in queries.
Repository类使用了上述的抓取模式来执行查询,如下代码所示。
The repository class USES the above fetching pattern to retrieve the query that needs to be executed as shown in the sample code below.
应用推荐