Hi Thomas,
Thanks a lot, just tried this, worked like a charm.
BTW, Criteria object returned by criteria.clone() gets affected if the
original criteria object is modified. Is this a bug?
For examples, if I have an existing criteria, then I do:
Criteria criteriaClone = criteria.clone();
Hi Thomas,
Thanks for your reply. But what I need to deal with is that:
I have a criteria object, with joins, and where clauses and a list of
columns to select, and I need to remove all the selected columns in the
criteria, both selected column, and as columns, so I can use OMPeer class to
select
Hi Dave,
wzhao6...@gmail.com schrieb:
Thanks for your reply. But what I need to deal with is that:
I have a criteria object, with joins, and where clauses and a list of
columns to select, and I need to remove all the selected columns in the
criteria, both selected column, and as columns, so I
U can use following command..
Whatever column's value u want to get u have to mention that's column name
.
crit.addGroupByColumn(TurbineUserPeer.USER_LANG);
2010/5/6 wzhao6...@gmail.com wzhao6...@gmail.com
Hi there,
I need to strip off all the selected columns
On 05.05.10 23:28, wzhao6...@gmail.com wrote:
Hi there,
I need to strip off all the selected columns (getSelectedColumns(), and
getAsColumns()) from a criteria object, is there a way for me to do that?
For examples:
Criteria criteria = new Criteria();