|
|||||||||
| Home >> All >> org >> objectstyle >> cayenne >> access >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.objectstyle.cayenne.access.util
Class PrefetchHelper

java.lang.Objectorg.objectstyle.cayenne.access.util.PrefetchHelper
- public class PrefetchHelper
- extends java.lang.Object
| Constructor Summary | |
PrefetchHelper()
|
|
| Method Summary | |
static void |
resolveToManyRelations(org.objectstyle.cayenne.access.DataContext context,
java.util.List objects,
java.lang.String relName)
Resolves a toMany relation for a list of objects. |
static void |
resolveToOneRelations(org.objectstyle.cayenne.access.DataContext context,
java.util.List objects,
java.lang.String relName)
Resolves a toOne relationship for a list of objects. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
PrefetchHelper
public PrefetchHelper()
| Method Detail |
resolveToOneRelations
public static void resolveToOneRelations(org.objectstyle.cayenne.access.DataContext context, java.util.List objects, java.lang.String relName)
- Resolves a toOne relationship for a list of objects.
(performance tuning only)
resolveToManyRelations
public static void resolveToManyRelations(org.objectstyle.cayenne.access.DataContext context, java.util.List objects, java.lang.String relName)
- Resolves a toMany relation for a list of objects.
(performance tuning only)
WARNING: this is a bit of a hack - it works for my toMany's, but it possibly doesn't work in all cases.
*** It definitly does not work for compound keys ***
|
|||||||||
| Home >> All >> org >> objectstyle >> cayenne >> access >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.objectstyle.cayenne.access.util.PrefetchHelper