|oof |20id_operator|operator_name21 |op2id_operator|count21 |2select count(*) from "transactionwhere id_operator in (
select id_operator from "operator" whe
在我们的应用程序中,我们有一个带有两个过滤器字段的搜索屏幕。当您单击search按钮时,将执行一个查询,该查询将获取几个结果并在网格中列出它们。但是,可以有大量的数据,因此我们希望将返回结果的数量限制在1000以下。我们使用OpenJPA将返回记录映射回我们的模型类和作为数据库引擎的SQL server。每个联系人有5个地址。执行以下查询时:
select c from Contact c left join fet