public class RDBMSStoreHelper extends Object
Constructor and Description |
---|
RDBMSStoreHelper() |
Modifier and Type | Method and Description |
---|---|
static String |
getClassNameForIdUsingDiscriminator(RDBMSStoreManager storeMgr,
org.datanucleus.ExecutionContext ec,
Object id,
org.datanucleus.metadata.AbstractClassMetaData cmd)
Utility that does a discriminator candidate query for the specified candidate and subclasses
and returns the class name of the instance that has the specified identity (if any).
|
static String |
getClassNameForIdUsingUnion(RDBMSStoreManager storeMgr,
org.datanucleus.ExecutionContext ec,
Object id,
List<org.datanucleus.metadata.AbstractClassMetaData> rootCmds)
Utility that does a union candidate query for the specified candidate(s) and subclasses
and returns the class name of the instance that has the specified identity (if any).
|
public static String getClassNameForIdUsingDiscriminator(RDBMSStoreManager storeMgr, org.datanucleus.ExecutionContext ec, Object id, org.datanucleus.metadata.AbstractClassMetaData cmd)
storeMgr
- RDBMS StoreManagerec
- execution contextid
- The idcmd
- Metadata for the root candidate classpublic static String getClassNameForIdUsingUnion(RDBMSStoreManager storeMgr, org.datanucleus.ExecutionContext ec, Object id, List<org.datanucleus.metadata.AbstractClassMetaData> rootCmds)
storeMgr
- RDBMS StoreManagerec
- execution contextid
- The idrootCmds
- Metadata for the classes at the rootCopyright © 2017. All rights reserved.