|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cayenne.access.util.BatchQueryUtils
public class BatchQueryUtils
Collection of utility methods to work with BatchQueries.
Method Summary | |
---|---|
static java.util.Map |
buildSnapshotForInsert(ObjEntity entity,
DataObject o,
DbRelationship masterDependentRel)
Deprecated. since 1.2 |
static java.util.Map |
buildSnapshotForInsert(ObjEntity entity,
DataObject o,
DbRelationship masterDependentRel,
boolean supportsGeneratedKeys)
Deprecated. Creates a snapshot of inserted columns for a given object. |
static java.util.Map |
buildSnapshotForUpdate(DataObject o)
Deprecated. since 1.2 - unused. |
static java.util.Map |
buildSnapshotForUpdate(ObjEntity entity,
DataObject o,
DbRelationship masterDependentRel)
Deprecated. since 1.2 - unused. |
static java.util.Map |
buildSnapshotForUpdate(ObjEntity entity,
DataObject o,
DbRelationship masterDependentRel,
boolean supportsGeneratedKeys)
Deprecated. Creates a snapshot of updated columns for a given object. |
static boolean |
updatesLOBColumns(BatchQuery query)
Deprecated. since 1.2 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean updatesLOBColumns(BatchQuery query)
true
if the query will update at least
one BLOB or CLOB DbAttribute.
public static java.util.Map buildSnapshotForUpdate(DataObject o)
public static java.util.Map buildSnapshotForInsert(ObjEntity entity, DataObject o, DbRelationship masterDependentRel)
public static java.util.Map buildSnapshotForInsert(ObjEntity entity, DataObject o, DbRelationship masterDependentRel, boolean supportsGeneratedKeys)
public static java.util.Map buildSnapshotForUpdate(ObjEntity entity, DataObject o, DbRelationship masterDependentRel)
public static java.util.Map buildSnapshotForUpdate(ObjEntity entity, DataObject o, DbRelationship masterDependentRel, boolean supportsGeneratedKeys)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |