阅读背景:

如何使用hibernate标准只返回一个对象的一个元素而不是整个对象?

来源:互联网 

I'm trying to get only the list of id of object bob for example instead of the list of bob. It's ok with a HQL request, but I would know if it's possible using criteria ?I'm trying to get only the list of id of object




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: