jodd.db.orm
Class DbOrmJoin
java.lang.Object
jodd.db.orm.DbOrmJoin
public class DbOrmJoin
- extends java.lang.Object
Helps working with joins between mapped entities of one row in result set.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
joins
protected java.util.List<DbOrmJoin.Join> joins
mappedEntities
protected java.util.List<java.lang.Class> mappedEntities
rootEntityNdxs
protected jodd.util.collection.IntArrayList rootEntityNdxs
DbOrmJoin
public DbOrmJoin()
map
public DbOrmJoin.MappedEntity map(java.lang.Class clazz)
- Defines root entity, first in the join chain.
packCollectionOne
protected <T> void packCollectionOne(DbOrmQuery query,
java.util.Collection<T> result)
packOne
protected java.lang.Object packOne(DbOrmQuery query)
packCollectionAll
protected void packCollectionAll(DbOrmQuery query,
java.util.Collection<java.lang.Object[]> result)
packAll
protected java.lang.Object[] packAll(DbOrmQuery query)
Copyright ©2008 Jodd Team