Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] QueryByExample collections not inluded

I don't think QBE supports collections.  Perhaps log an enhancement request
for this.

You can use an Expression query using anyOf to compare collections.  You can
also mix QBE and an Expression in the same query.



Vackar wrote:
> 
> Hi,
> 
> I was wondering if there was a way of enabling collections to be compared
> in eclipselink querybyexample.
> 
> i.e. for the following code
> ReadAllQuery query = new ReadAllQuery();
> query.setExampleObject(template);
> getSession().executeQuery(query)
> 
> It will compare all fields of 'template', but not any items in a
> collection.
> 
> Does anyone know if eclipselink supports comparison of collections as
> well?
> 
> Thanks,
> Vackar
> 


-----
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland 
http://www.eclipse.org/eclipselink/
 EclipseLink ,  http://www.oracle.com/technology/products/ias/toplink/
TopLink 
Wiki:  http://wiki.eclipse.org/EclipseLink EclipseLink , 
http://wiki.oracle.com/page/TopLink TopLink 
Forums:  http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink , 
http://www.nabble.com/EclipseLink-f26430.html EclipseLink 
Book:  http://en.wikibooks.org/wiki/Java_Persistence Java Persistence 
-- 
View this message in context: http://www.nabble.com/QueryByExample-collections-not-inluded-tp25239792p25277561.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top