【发布时间】:2015-01-11 10:38:02
【问题描述】:
SELECT reportcategory.categoryName,
reportcategory.categoryId
FROM reportcategory AS reportcategory
WHERE reportcategory.categoryId = 1
我想使用 Criteria 编写上述查询。 ReportCategory是我的pojo类和数据库中同名的表。
请帮帮我。
【问题讨论】: