随笔 - 40, 文章 - 0, 评论 - 15, 引用 - 0
数据加载中……

2006年2月27日

EJB QL

从一个表users中查询记录,如果是写成
select  i from  users as  i  where i.name=?1则编译EJB的时候会报错,但是如果把users 首字母大写就OK了。
select  i from  Users as  i  where i.name=?1

posted @ 2006-02-27 23:34 月亮 阅读(56) | 评论 (0)编辑 收藏