There is one clause per finder method, and the clause is appended to an SQL statement in the query initiated by the container as it executes the finder method.
每个查找器方法有一个子句,该子句被附加到查询中的一个sql语句,该查询在执行查找器方法时由容器启动。
However, the container will append a WHERE clause anyway, so we need to supply a valid predicate.
但是,无论如何容器将来还是要附加一个where子句,所以我们需要提供一个有效的谓词。
应用推荐