public class GAEJPADataSource extends JPADataSource
LIKE clause only with single wildcard at the end
thus TextMatchStyle.SUBSTRING works exactly as
TextMatchStyle.STARTS_WITHupper()/lower(). Search queries are always case sensitive.FetchType.EAGER. Every method should initialize
lazily loaded properties of every entity loaded from data source.| Modifier and Type | Field and Description |
|---|---|
static boolean |
BIGTABLE_ACTIVE
Holds
true if running under Google Application Engine BigTable;
false if running under relational database. |
static java.lang.String |
GAE_RUNTIME_PROPERTY
Holds name of the system property to identity
Google Application Engine runtime environment.
|
static java.lang.String |
GAE_VERSION_PROPERTY
Holds name of the system property to identity
Google Application Engine runtime version.
|
additionalFields, AUTO_DERIVE_PROPERTY, BEAN_CLASS_PROPERTY, beanClass, beanName, configName, connectionHolder, em, ESCAPE_CHARACTER, generateRelatedUpdates, ID_CLASS_PROPERTY, idClass, JPA_CONFIG_PROPERTY, relatedUpdates, SCHEMA_BEAN_PROPERTY, shouldRollBackTransaction, strictSQLFiltering, tx, USE_QUALIFIED_CLASS_NAME_PROPERTY, useQualifiedClassNameinInitState, OP_ADD, OP_CLIENT_EXPORT, OP_CUSTOM, OP_FETCH, OP_REMOVE, OP_UPDATE, OP_VALIDATE| Modifier and Type | Method and Description |
|---|---|
java.util.Map |
deriveDS(java.lang.String schemaBean,
java.lang.String id,
boolean extended)
Creates data source configuration from specified fully qualified class name.
|
DSResponse |
executeAdd(DSRequest req)
This method is called by DataSource.execute() for "add" operations.
|
DSResponse |
executeFetch(DSRequest req)
This method is called by DataSource.execute() for "fetch" operations.
|
DSResponse |
executeUpdate(DSRequest req)
This method is called by DataSource.execute() for "update" operations.
|
escapeValueForFilter, execute, executeRemove, freeResources, getField, getFieldNames, getTransactionObjectKey, increaseOpCount, init, markTransactionForRollBack, onFailure, onFailure, onSuccess, onSuccessgetAuditDataSource, getProperty, shouldAutoJoinTransaction, shouldAutoStartTransaction, transformMultipleFields, transformMultipleFieldsadd, addDynamicDSGenerator, addDynamicDSGenerator, addDynamicDSGenerator, clearDynamicDSGenerators, executeClientExport, executeCustom, fetch, fetch, fetchById, fetchSingle, fetchSingle, filter, filter, fromXML, fromXML, fromXML, fromXML, fromXML, fromXML, fromXML, fromXML, getAuditRevisionFieldName, getAuditTimestampFieldName, getAuditTypeFieldName, getAuditUserFieldName, getEnumConstantProperty, getEnumOrdinalProperty, getEnumTranslateStrategy, getFieldNames, getListProperties, getListProperties, getPrimaryKey, getProperties, getProperties, getProperties, getPropertyJavaClass, getRecordXPath, getTransactionObject, getTransactionObject, hasRecord, hasRecord, initialized, isModificationOperation, remove, removeDynamicDSGenerator, removeDynamicDSGenerator, removeDynamicDSGenerator, setEnumConstantProperty, setEnumOrdinalProperty, setEnumTranslateStrategy, setProperties, update, validate, validatepublic static final java.lang.String GAE_VERSION_PROPERTY
public static final java.lang.String GAE_RUNTIME_PROPERTY
public static final boolean BIGTABLE_ACTIVE
true if running under Google Application Engine BigTable;
false if running under relational database.public java.util.Map deriveDS(java.lang.String schemaBean,
java.lang.String id,
boolean extended)
JPADataSourcederiveDS in class JPADataSourceschemaBean - String Fully qualified class name.id - String Id for newly created data source.extended - boolean Extended properties will be captured if set to true.Map<String, Object> created data source configuration or
null if it can not be created.public DSResponse executeFetch(DSRequest req) throws java.lang.Exception
DataSourceexecuteFetch in class JPADataSourcereq - The DSRequest object representing this operationjava.lang.Exceptionpublic DSResponse executeAdd(DSRequest req) throws java.lang.Exception
DataSourceexecuteAdd in class JPADataSourcereq - The DSRequest object representing this operationjava.lang.Exceptionpublic DSResponse executeUpdate(DSRequest req) throws java.lang.Exception
DataSourceexecuteUpdate in class JPADataSourcereq - The DSRequest object representing this operationjava.lang.Exception