Apache JDO Project - Re: [jira] Commented: (JDO-246) JPOX eliminates duplicates in the query result althoug

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > February 2006 > Re: [jira] Commented: (JDO-246) JPOX eliminates duplicates in the query result althoug





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: [jira] Commented: (JDO-246) JPOX eliminates duplicates in the query result althoug
Bin Sun

2006-02-11, 8:45 pm

Hi!

I have more concern about Collection and Map
projection: is this query easy to implement?

select distinct employees from Department where ...

At least I don't know how a SQL datastore could
compare the collections one another.

So, maybe we should discribe more on Collection
and Map projection, or simply specify that their
distinction is the same as their owner objects,
dispite whether they equal one another.

--- erik@jpox.org wrote:

> Thanks for the comments, I agree with you all.
>
> Regards,
>
> Quoting Michael Bouschen <mbo.tech@spree.de>:
>
> projections of
> query would return the
> result would be a list
> for projections of
> but AFAIK the current
> whether projecting a
> result that iterates the
> employees.contains(e)
> employees, so for each
> collection. Query (2)
> employee is included in
> department.
> return Map.Entry
> map or it iterates the
> is no contains for maps.
> would
> map
> field.
> but in
> in
> result
> of
> map
> the
> automatic
> cells
> (key,
> the
> ________________________________________
__________
> protection around
>
>
>
>



________________________________________
__________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com