On Fri, Oct 16, 2009 at 3:49 PM, Rickard Öberg <[email protected]> wrote:

> For key-value stores I don't really know how to handle large
> ManyAssociations. For small collections it seems ok to do it the way we do
> it now, but for large ones they would definitely have to be paged, or
> handled differently in some way. How, I don't know, and am very interested
> in solutions (other than "use Neo4j").

I am not sure that we are any different than ORM solutions, i.e. the
collection contains (under the hood) the references to the entities
and not the entities themselves. At least JDO 1.0 used a hollow
internal implementation which contained the identities. Hibernate 2.x
had a standard ArrayList populated with hollow proxies to be populated
when accessed. Not sure if/how any of these allowed the
many-association to be paginated other than with Hibernate's "direct
SQL" approach, where the domain model is completely sidetracked.


Cheers
-- 
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java

I  live here; http://tinyurl.com/2qq9er
I  work here; http://tinyurl.com/2ymelc
I relax here; http://tinyurl.com/2cgsug

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to