cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: restricting qualifiers turned off?
Date Tue, 11 Nov 2008 12:31:06 GMT

On Nov 11, 2008, at 2:15 PM, Andrey Razumovsky wrote:

> ObjEntity clone = (ObjEntity) SerializationUtils.clone(objEntity);
> clone.setDeclaredQualifier(null);
> SelectQuery query = new SelectQuery(clone);

In addition you'll need to rename the entity and register it with the  
DataMap. So you might as well map an alt. entity via the Modeler.

Or use a separate stack all together to work with a parallel set of  
entities without qualifiers.

Andrus





Mime
View raw message