Serialized Form
Package org.eclipse.persistence.dbws |
ns
NamespaceResolver ns
Package org.eclipse.persistence.descriptors |
javaClass
Class<T> javaClass
javaClassName
String javaClassName
tables
Vector<E> tables
primaryKeyFields
List<E> primaryKeyFields
mappings
Vector<E> mappings
lockableMappings
List<E> lockableMappings
queryKeys
Map<K,V> queryKeys
identityMapClass
Class<T> identityMapClass
remoteIdentityMapClass
Class<T> remoteIdentityMapClass
identityMapSize
int identityMapSize
remoteIdentityMapSize
int remoteIdentityMapSize
sequenceNumberName
String sequenceNumberName
sequenceNumberField
org.eclipse.persistence.internal.helper.DatabaseField sequenceNumberField
shouldAlwaysRefreshCache
boolean shouldAlwaysRefreshCache
shouldOnlyRefreshCacheIfNewerVersion
boolean shouldOnlyRefreshCacheIfNewerVersion
shouldDisableCacheHits
boolean shouldDisableCacheHits
shouldAlwaysRefreshCacheOnRemote
boolean shouldAlwaysRefreshCacheOnRemote
shouldDisableCacheHitsOnRemote
boolean shouldDisableCacheHitsOnRemote
alias
String alias
shouldBeReadOnly
boolean shouldBeReadOnly
shouldAlwaysConformResultsInUnitOfWork
boolean shouldAlwaysConformResultsInUnitOfWork
isIsolated
Boolean isIsolated
shouldRegisterResultsInUnitOfWork
boolean shouldRegisterResultsInUnitOfWork
eventManager
DescriptorEventManager eventManager
queryManager
DescriptorQueryManager queryManager
objectBuilder
org.eclipse.persistence.internal.descriptors.ObjectBuilder objectBuilder
copyPolicy
CopyPolicy copyPolicy
copyPolicyClassName
String copyPolicyClassName
instantiationPolicy
org.eclipse.persistence.internal.descriptors.InstantiationPolicy instantiationPolicy
inheritancePolicy
InheritancePolicy inheritancePolicy
interfacePolicy
InterfacePolicy interfacePolicy
optimisticLockingPolicy
org.eclipse.persistence.internal.descriptors.OptimisticLockingPolicy optimisticLockingPolicy
cascadeLockingPolicies
Vector<E> cascadeLockingPolicies
wrapperPolicy
WrapperPolicy wrapperPolicy
changePolicy
ObjectChangePolicy changePolicy
returningPolicy
ReturningPolicy returningPolicy
historyPolicy
HistoryPolicy historyPolicy
cmpPolicy
CMPPolicy cmpPolicy
fetchGroupManager
FetchGroupManager fetchGroupManager
properties
Map<K,V> properties
- Additional properties may be added.
descriptorType
int descriptorType
shouldOrderMappings
boolean shouldOrderMappings
cacheInvalidationPolicy
CacheInvalidationPolicy cacheInvalidationPolicy
shouldAcquireCascadedLocks
boolean shouldAcquireCascadedLocks
- PERF: Used to optimize cache locking to only acquire deferred locks when required (no-indirection).
hasSimplePrimaryKey
boolean hasSimplePrimaryKey
- PERF: Compute and store if the primary key is simple (direct-mapped) to allow fast extraction.
hasMultipleTableConstraintDependecy
boolean hasMultipleTableConstraintDependecy
- Defines if any mapping reference a field in a secondary table.
This is used to disable deferring multiple table writes.
cacheSynchronizationType
int cacheSynchronizationType
- Configures how objects will be sent via cache synchronization, if synchronization is enabled.
unitOfWorkCacheIsolationLevel
int unitOfWorkCacheIsolationLevel
- Configures how the unit of work uses the session cache.
isNativeConnectionRequired
boolean isNativeConnectionRequired
- Allow connection unwrapping to be configured.
idValidation
IdValidation idValidation
- Allow zero primary key validation to be configured.
cacheKeyType
CacheKeyType cacheKeyType
- Allow cache key type to be configured.
derivesIdMappings
Map<K,V> derivesIdMappings
cacheInterceptorClass
Class<T> cacheInterceptorClass
cacheInterceptorClassName
String cacheInterceptorClassName
defaultQueryRedirector
QueryRedirector defaultQueryRedirector
defaultReadAllQueryRedirector
QueryRedirector defaultReadAllQueryRedirector
defaultReadObjectQueryRedirector
QueryRedirector defaultReadObjectQueryRedirector
defaultReportQueryRedirector
QueryRedirector defaultReportQueryRedirector
defaultUpdateObjectQueryRedirector
QueryRedirector defaultUpdateObjectQueryRedirector
defaultInsertObjectQueryRedirector
QueryRedirector defaultInsertObjectQueryRedirector
defaultDeleteObjectQueryRedirector
QueryRedirector defaultDeleteObjectQueryRedirector
defaultQueryRedirectorClassName
String defaultQueryRedirectorClassName
defaultReadAllQueryRedirectorClassName
String defaultReadAllQueryRedirectorClassName
defaultReadObjectQueryRedirectorClassName
String defaultReadObjectQueryRedirectorClassName
defaultReportQueryRedirectorClassName
String defaultReportQueryRedirectorClassName
defaultUpdateObjectQueryRedirectorClassName
String defaultUpdateObjectQueryRedirectorClassName
defaultInsertObjectQueryRedirectorClassName
String defaultInsertObjectQueryRedirectorClassName
defaultDeleteObjectQueryRedirectorClassName
String defaultDeleteObjectQueryRedirectorClassName
sequence
Sequence sequence
- Store the Sequence used for the descriptor.
mappingsPostCalculateChanges
List<E> mappingsPostCalculateChanges
- Mappings that require postCalculateChanges method to be called
mappingsPostCalculateChangesOnDeleted
List<E> mappingsPostCalculateChangesOnDeleted
- Mappings that require postCalculateChangesOnDeleted method to be called
preDeleteMappings
List<E> preDeleteMappings
- stores a list of mappings that require preDelete as a group prior to the delete individually
forceUpdate
Boolean forceUpdate
updateAllFields
Boolean updateAllFields
pessimisticLockingPolicy
PessimisticLockingPolicy pessimisticLockingPolicy
- Allow the bean to always be locked as it enters a new transaction.
mappedClass
Class<T> mappedClass
- Class originally mapped, before anything was generated.
descriptor
ClassDescriptor descriptor
modificationDeferralLevel
int modificationDeferralLevel
- The object deferral level. This controls when objects changes will be sent to the Database.
nonDeferredCreateTime
int nonDeferredCreateTime
- This setting will allow customers to control when Toplink will issue the insert SQL for CMP beans.
Class org.eclipse.persistence.descriptors.CMPPolicy.KeyIsElementAccessor extends Object implements Serializable |
attributeName
String attributeName
databaseField
org.eclipse.persistence.internal.helper.DatabaseField databaseField
mapping
DatabaseMapping mapping
eventCode
int eventCode
- The code of the descriptor event being raised.
This is an integer constant value from DescriptorEventManager.
query
DatabaseQuery query
- The query causing the event.
record
Record record
- Optionally a database row may be provided on some events, (such as aboutToUpdate).
descriptor
ClassDescriptor descriptor
originalObject
Object originalObject
- The source object represents the object the event is being raised on,
some events also require a second object, for example the original object in a postClone.
changeSet
org.eclipse.persistence.internal.sessions.ObjectChangeSet changeSet
- For the post merge event it is possible that there has been a change set generated.
This attribute will store the changeSet for the object just merged
session
org.eclipse.persistence.internal.sessions.AbstractSession session
- The session in which the event is raised.
descriptor
ClassDescriptor descriptor
eventSelectors
Vector<E> eventSelectors
excludeDefaultListeners
boolean excludeDefaultListeners
excludeSuperclassListeners
boolean excludeSuperclassListeners
hasAnyEventListeners
boolean hasAnyEventListeners
- PERF: Cache if any events listener exist.
doesExistQuery
DoesExistQuery doesExistQuery
descriptor
ClassDescriptor descriptor
hasCustomMultipleTableJoinExpression
boolean hasCustomMultipleTableJoinExpression
queryTimeout
int queryTimeout
descriptor
ClassDescriptor descriptor
allNonPrimaryKeyFields
List<E> allNonPrimaryKeyFields
parentClass
Class<T> parentClass
parentClassName
String parentClassName
parentDescriptor
ClassDescriptor parentDescriptor
childDescriptors
List<E> childDescriptors
classExtractorName
String classExtractorName
- Allow for class extraction method to be specified.
descriptor
ClassDescriptor descriptor
shouldAlwaysUseOuterJoin
boolean shouldAlwaysUseOuterJoin
useDescriptorsToValidateInheritedObjects
boolean useDescriptorsToValidateInheritedObjects
shouldOuterJoinSubclasses
boolean shouldOuterJoinSubclasses
- Define if an outer join should be used to read subclasses.
isJoinedStrategy
boolean isJoinedStrategy
rootParentDescriptor
ClassDescriptor rootParentDescriptor
- PERF: Cache root descriptor.
describesNonPersistentSubclasses
boolean describesNonPersistentSubclasses
parentInterfaces
Vector<E> parentInterfaces
parentInterfaceNames
Vector<E> parentInterfaceNames
parentDescriptors
Vector<E> parentDescriptors
childDescriptors
Vector<E> childDescriptors
descriptor
ClassDescriptor descriptor
implementorDescriptor
Class<T> implementorDescriptor
implementorDescriptorClassName
String implementorDescriptorClassName
lockingMode
short lockingMode
weavingUsesPropertyAccess
boolean weavingUsesPropertyAccess
- This flag stores whether this descriptor is using Property access based on JPA semantics. It is used to modify
the behavior of our weaving functionality as it pertains to adding annotations to fields
descriptor
ClassDescriptor descriptor
infos
Vector<E> infos
main
Collection<E>[][] main
tableToVectorOfFieldsForGenerationMap
HashMap<K,V>[] tableToVectorOfFieldsForGenerationMap
isUsedToSetPrimaryKey
boolean isUsedToSetPrimaryKey
fieldsNotFromDescriptor_DefaultTable
Map<K,V> fieldsNotFromDescriptor_DefaultTable
fieldsNotFromDescriptor_OtherTables
Map<K,V> fieldsNotFromDescriptor_OtherTables
lockFieldsByTable
Map<K,V> lockFieldsByTable
lockFields
Vector<E> lockFields
selectionQueriesForAllObjects
HashMap<K,V> selectionQueriesForAllObjects
- Selection queries from read all mappings will be cached and re-used.
E.G Entity A has a 1-M to Entity D (who has a subclass Entity E). We will
build a selection query to Entity E based on the selection query from the
1-M mapping from Entity A to Entity D.
retrieveTimeFrom
int retrieveTimeFrom
writeLockField
org.eclipse.persistence.internal.helper.DatabaseField writeLockField
isCascaded
boolean isCascaded
lockValueStored
int lockValueStored
descriptor
ClassDescriptor descriptor
lockMapping
AbstractDirectMapping lockMapping
- PERF: Cache the lock mapping if mapped with a direct mapping.
lockOnChangeMode
org.eclipse.persistence.internal.descriptors.OptimisticLockingPolicy.LockOnChange lockOnChangeMode
Package org.eclipse.persistence.descriptors.changetracking |
changeType
int changeType
- INTERNAL:
Change type is either add or remove
index
Integer index
- INTERNAL:
index is the location of the change in the collection
isSet
boolean isSet
- INTERNAL:
Set operation in IndirectList results in raising two events: removal of the old value and addition of the new one at the same index:
oldValue = list.set(i, newValue);
raiseRemoveEvent(i, oldValue, true);
raiseAddEvent(i, newValue, true);
This flag indicates whether the event was raised by set operation on the list.
key
Object key
- INTERNAL:
The value of the key that was updated.
Package org.eclipse.persistence.descriptors.copying |
descriptor
ClassDescriptor descriptor
methodName
String methodName
- Allow for clone method to be specified.
workingCopyMethodName
String workingCopyMethodName
Package org.eclipse.persistence.descriptors.invalidation |
shouldUpdateReadTimeOnUpdate
boolean shouldUpdateReadTimeOnUpdate
- This will represent objects that do not expire.
shouldRefreshInvalidObjectsInUnitOfWork
boolean shouldRefreshInvalidObjectsInUnitOfWork
- Determines if expired object registered in the unit of work should be refreshed, default true.
isInvalidationRandomized
boolean isInvalidationRandomized
- Allows the timeToLive to be randomized to avoid bottlenecks.
random
Random random
- Random used for randomized invalidation.
expiryTime
Calendar expiryTime
previousExpiry
Calendar previousExpiry
timeToLive
long timeToLive
- Number of milliseconds before invalidation.
Package org.eclipse.persistence.eis |
adds
Vector<E> adds
- The added stuff.
removes
Vector<E> removes
- The removed stuff.
changedMapKeys
Vector<E> changedMapKeys
- The stuff whose Map keys have changed.
connectionSpec
javax.resource.cci.ConnectionSpec connectionSpec
connectionFactory
javax.resource.cci.ConnectionFactory connectionFactory
context
Context context
name
Name name
log
Writer log
dataFormat
String dataFormat
- Define the type of data the descriptor maps to.
namespaceResolver
NamespaceResolver namespaceResolver
- Allow namespaces to be specified for XML type descriptors.
record
javax.resource.cci.Record record
- The original adapter record.
recordName
String recordName
- The record name.
recordShortDescription
String recordShortDescription
- The record name.
record
Map<K,V> record
accessor
EISAccessor accessor
adds
Vector<E> adds
- The added stuff.
addIndexes
int[] addIndexes
- The indexes into the new collection of the elements that were added.
moves
Vector<E> moves
- The moved stuff.
moveIndexPairs
int[][] moveIndexPairs
- The index pairs of the elements that were moved (before and after indexes).
removes
Vector<E> removes
- The removed stuff.
removeIndexes
int[] removeIndexes
- The indexes into the old collection of the elements that were removed.
isIndexedRecordSupported
boolean isIndexedRecordSupported
isMappedRecordSupported
boolean isMappedRecordSupported
isDOMRecordSupported
boolean isDOMRecordSupported
shouldConvertDataToStrings
boolean shouldConvertDataToStrings
- Can be used for adapters that only support String data/XML.
supportsLocalTransactions
boolean supportsLocalTransactions
- Allows for usage of transaction to be disabled if not supported.
requiresAutoCommit
boolean requiresAutoCommit
- Can be used if a commit is required after every interaction outside of a local transaction.
recordConverter
RecordConverter recordConverter
- Can be used to convert from an adapter specific record.
domMethod
Method domMethod
- Used to reflectively provide XML record support as DOMRecord is not part of the JCA-CCI spec.
xmlConversionManager
org.eclipse.persistence.internal.oxm.XMLConversionManager xmlConversionManager
- For XML usage, an XMLConversionManager instance is required
Package org.eclipse.persistence.eis.adapters.jms |
Package org.eclipse.persistence.eis.adapters.xmlfile |
Package org.eclipse.persistence.eis.interactions |
interactionSpec
javax.resource.cci.InteractionSpec interactionSpec
- Adapter specific interaction spec.
functionName
String functionName
- Name of the function the interaction describes.
inputRecordName
String inputRecordName
- Name to pass to the input record creation.
properties
Map<K,V> properties
- Adapter specific properties may be added.
inputRow
org.eclipse.persistence.internal.sessions.AbstractRecord inputRow
- Holds database row of input values.
arguments
Vector<E> arguments
- Defines the arguments to the interaction, these can be the values or argument names/fields the values come from.
outputArgumentNames
Vector<E> outputArgumentNames
- Defines the output argument names as defined in the output record for the interaction.
This is shared as indexed interaction may still have mapped results.
outputArguments
Vector<E> outputArguments
- Defines the field values the output arguments of the interaction map to. These are order dependent with the names.
outputResultPath
String outputResultPath
- Path to the desired output record if nested.
inputResultPath
String inputResultPath
argumentNames
Vector<E> argumentNames
queryString
String queryString
inputRootElementName
String inputRootElementName
- The root element name to use for the input DOM.
outputRootElementName
String outputRootElementName
- The root element name to use for the output DOM.
xQueryString
String xQueryString
Package org.eclipse.persistence.eis.mappings |
isForeignKeyRelationship
boolean isForeignKeyRelationship
- Keeps track if any of the fields are foreign keys.
foreignKeyGroupingElement
XMLField foreignKeyGroupingElement
- The grouping-element field.
sourceToTargetKeyFields
Map<K,V> sourceToTargetKeyFields
- Maps the source foreign/primary key fields to the target primary/foreign key fields.
targetToSourceKeyFields
Map<K,V> targetToSourceKeyFields
- Maps the target primary/foreign key fields to the source foreign/primary key fields.
shouldVerifyDelete
boolean shouldVerifyDelete
- These are used for non-unit of work modification to check if the value of the 1-1 was changed and a deletion is required.
Package org.eclipse.persistence.exceptions |
classToConvertTo
Class<T> classToConvertTo
exception
SQLException exception
isCommunicationFailure
boolean isCommunicationFailure
internalException
Throwable internalException
indentationString
String indentationString
errorCode
int errorCode
hasBeenLogged
boolean hasBeenLogged
caughtExceptions
Vector<E> caughtExceptions
- To add all the Descriptor exceptions
tables
Vector<E> tables
- To load the tables from database
shouldCatchExceptions
boolean shouldCatchExceptions
- To know that should we catch all the descriptors exceptions or not
shouldCheckDatabase
boolean shouldCheckDatabase
- To know that should we check database tables or not
shouldCheckInstantiationPolicy
boolean shouldCheckInstantiationPolicy
- To know that should we check InstantiationPolicy or not
integrityChecker
IntegrityChecker integrityChecker
internalExceptions
Collection<E> internalExceptions
resourceName
String resourceName
exceptionList
Vector<E> exceptionList
resourceName
String resourceName
Package org.eclipse.persistence.expressions |
serialVersionUID: -5979150600092006081L
selectIfOrderedBy
boolean selectIfOrderedBy
hashCode
int hashCode
- PERF: Cache the hashCode.
queryClass
Class<T> queryClass
statement
org.eclipse.persistence.internal.expressions.SQLSelectStatement statement
viewTable
org.eclipse.persistence.internal.helper.DatabaseTable viewTable
aliasedViewTable
org.eclipse.persistence.internal.helper.DatabaseTable aliasedViewTable
wasQueryClassSetInternally
boolean wasQueryClassSetInternally
wasAdditionJoinCriteriaUsed
boolean wasAdditionJoinCriteriaUsed
serialVersionUID: -7066100204792043980L
selector
int selector
databaseStrings
String[] databaseStrings
isPrefix
boolean isPrefix
isRepeating
boolean isRepeating
nodeClass
Class<T> nodeClass
type
int type
argumentIndices
int[] argumentIndices
javaStrings
String[] javaStrings
isBindingSupported
boolean isBindingSupported
- Allow operator to disable binding.
startStrings
String[] startStrings
separators
String[] separators
terminationStrings
String[] terminationStrings
numberOfItems
int numberOfItems
Package org.eclipse.persistence.history |
value
Object value
descriptor
ClassDescriptor descriptor
mapping
DatabaseMapping mapping
historicalTables
Vector<E> historicalTables
startFields
Vector<E> startFields
endFields
Vector<E> endFields
shouldHandleWrites
boolean shouldHandleWrites
usesLocalTime
boolean usesLocalTime
Package org.eclipse.persistence.indirection |
delegate
Vector<E> delegate
- Reduce type casting.
valueHolder
ValueHolderInterface valueHolder
- Delegate indirection behavior to a value holder.
initialCapacity
int initialCapacity
- Store initial size for lazy init.
isRegistered
boolean isRegistered
- PERF: Quick check flag if has been registered in a unit of work.
isListOrderBrokenInDb
boolean isListOrderBrokenInDb
- If the mapping using IndirectList has listOrderfield != null then this flag indicates
whether the list in the db has invalid order:
either row(s) with null order value(s) or/and "holes" in order.
The flag may be set to true when the objects are read from the db.
When collection is updated the flag set to true causes updating of listOrderField of all rows in the db.
After update is complete the flag is set back to false.
delegate
Hashtable<K,V> delegate
- Reduce type casting
valueHolder
ValueHolderInterface valueHolder
- Delegate indirection behavior to a value holder
initialCapacity
int initialCapacity
- Store initial size for lazy init.
loadFactor
float loadFactor
- Store load factor for lazy init.
delegate
Set<E> delegate
- Reduce type casting
valueHolder
ValueHolderInterface valueHolder
- Delegate indirection behavior to a value holder
attributeName
String attributeName
- The mapping attribute name, used to raise change events.
initialCapacity
int initialCapacity
- Store initial size for lazy init.
loadFactor
float loadFactor
- Store load factor for lazy init.
value
Object value
- Stores the wrapped object.
isCoordinatedWithProperty
boolean isCoordinatedWithProperty
- The two variable below are used as part of the implementation of WeavedAttributeValueHolderInterface
They are used to track whether a valueholder that has been weaved into a class is coordinated
with the underlying property
isNewlyWeavedValueHolder
boolean isNewlyWeavedValueHolder
Package org.eclipse.persistence.jaxb |
m_enumClass
Class<T> m_enumClass
m_enumClassName
String m_enumClassName
m_usesOrdinalValues
boolean m_usesOrdinalValues
type
Type type
enumClassName
String enumClassName
enumClass
Class<T> enumClass
fromStringMethod
Method fromStringMethod
Package org.eclipse.persistence.jpa.dynamic |
Package org.eclipse.persistence.logging |
fileName
String fileName
- The filename associated with this DefaultSessionLog, if it is being written out to a file
categoryLogLevelMap
Map<K,V> categoryLogLevelMap
- Represents the Map that stores log levels per the name space strings.
The keys are category names. The values are log levels.
sessionString
String sessionString
connection
org.eclipse.persistence.internal.databaseaccess.Accessor connection
shouldLogExceptionStackTrace
boolean shouldLogExceptionStackTrace
shouldPrintDate
boolean shouldPrintDate
shouldPrintThread
boolean shouldPrintThread
date
Date date
message
String message
throwable
Throwable throwable
level
int level
nameSpace
String nameSpace
parameters
Object[] parameters
shouldTranslate
boolean shouldTranslate
Package org.eclipse.persistence.mappings |
remoteReferenceDescriptor
ClassDescriptor remoteReferenceDescriptor
- In RemoteSession case the mapping needs the reference descriptor serialized from the server,
but referenceDescriptor attribute defined as transient in the superclass. To overcome that
in non-remote case referenceDescriptor is assigned to remoteReferenceDescriptor; in remote - another way around.
isListOrderFieldUpdatable
boolean isListOrderFieldUpdatable
- indicates whether listOrderField value could be updated in the db. Used only if listOrderField!=null
referenceClass
Class<T> referenceClass
- Stores a reference class
referenceClassName
String referenceClassName
referenceDescriptor
ClassDescriptor referenceDescriptor
- The descriptor of the reference class
isNullAllowed
boolean isNullAllowed
- If all the fields in the database row for the aggregate object are NULL,
then, by default, the mapping will place a null in the appropriate source object
(as opposed to an aggregate object filled with nulls).
To change this behavior, set the value of this variable to false. Then the mapping
will build a new instance of the aggregate object that is filled with nulls
and place it in the source object.
aggregateKeyTable
org.eclipse.persistence.internal.helper.DatabaseTable aggregateKeyTable
attributeName
String attributeName
- Stores the name of the attribute
isWriteOnly
boolean isWriteOnly
isReadOnly
boolean isReadOnly
containerPolicy
org.eclipse.persistence.internal.queries.ContainerPolicy containerPolicy
listOrderField
org.eclipse.persistence.internal.helper.DatabaseField listOrderField
- Field holds the order of elements in the list in the db, requires collection of type List, may be not null only in case isListOrderFieldSupported==true
isListOrderFieldSupported
boolean isListOrderFieldSupported
- Indicates whether the mapping supports listOrderField, if it doesn't attempt to set listOrderField throws exception.
orderCorrectionType
OrderCorrectionType orderCorrectionType
- Specifies what should be done if the list of values read from listOrserField is invalid
(there should be no nulls, no duplicates, no "holes").
descriptor
ClassDescriptor descriptor
- ClassDescriptor to which this mapping belongs to
attributeAccessor
AttributeAccessor attributeAccessor
- Wrapper to store the reference objects.
isReadOnly
boolean isReadOnly
- Makes this mapping read only. No write are performed on it. Default is false
isOptional
boolean isOptional
- Specifies whether this mapping is optional (i.e. field may be null). Used for DDL generation.
isLazy
Boolean isLazy
- Specifies whether this mapping is lazy, this means not included in the default fetch group.
fields
Vector<E> fields
- Fields associated with the mappings are cached
isRemotelyInitialized
boolean isRemotelyInitialized
- It is needed only in remote initialization and mapping is in parent descriptor
weight
Integer weight
- This is a TopLink defined attribute that allows us to sort the mappings
properties
Map<K,V> properties
- Allow user defined properties.
derivesId
boolean derivesId
- Used by the CMP3Policy to see if this mapping should be used in
processing pk classes for find methods
isJPAId
boolean isJPAId
mapsIdValue
String mapsIdValue
- A mapsId value.
derivedIdMapping
DatabaseMapping derivedIdMapping
- The id mapping this mapping derives. Used by the CMP3Policy to see if
this mapping should be used in processing pk classes for find methods.
isPrimaryKeyMapping
boolean isPrimaryKeyMapping
- PERF: Used as a quick check to see if this mapping is a primary key mapping,
set by the object builder during initialization.
attributeName
String attributeName
- PERF: Cache the mappings attribute name.
isMapKeyMapping
boolean isMapKeyMapping
- Records if this mapping is being used as a MapKeyMapping. This is important for recording main mappings
valueConverter
Converter valueConverter
- Allows user defined conversion between the object value and the database value.
valueConverterClassName
String valueConverterClassName
historyPolicy
HistoryPolicy historyPolicy
referenceClass
Class<T> referenceClass
- This is used only in descriptor proxy in remote session
referenceClassName
String referenceClassName
isPrivateOwned
boolean isPrivateOwned
- Indicates whether the referenced object is privately owned or not.
batchFetchType
BatchFetchType batchFetchType
- Indicates whether the referenced object should always be batch read on read all queries,
and defines the type of batch fetch to use.
indirectionPolicy
org.eclipse.persistence.internal.indirection.IndirectionPolicy indirectionPolicy
- Implements indirection behavior
relationshipPartner
DatabaseMapping relationshipPartner
- Used to reference the other half of a bi-directional relationship.
relationshipPartnerAttributeName
String relationshipPartnerAttributeName
- Set by users, used to retrieve the backpointer for this mapping
cascadePersist
boolean cascadePersist
- Cascading flags used by the EntityManager
cascadeMerge
boolean cascadeMerge
cascadeRefresh
boolean cascadeRefresh
cascadeRemove
boolean cascadeRemove
cascadeDetach
boolean cascadeDetach
requiresTransientWeavedFields
boolean requiresTransientWeavedFields
- Flag used to determine if we need to weave the transient annotation on weaved fields.
joinFetch
int joinFetch
- Define if the relationship should always be join fetched.
forceInitializationOfSelectionCriteria
boolean forceInitializationOfSelectionCriteria
- This is a way (after cloning) to force the initialization of the selection criteria
extendPessimisticLockScope
org.eclipse.persistence.mappings.ForeignReferenceMapping.ExtendPessimisticLockScope extendPessimisticLockScope
historyPolicy
HistoryPolicy historyPolicy
isDefinedAsOneToManyMapping
boolean isDefinedAsOneToManyMapping
- 266912: Since: EclipseLink 2.0 for the Metamodel API
For 1:1 and m:m mappings - track the original externally defined mapping if different
Note: This field will provide differentiation for the following
external to internal representations for mapping types
- A OneToManyMapping will be represented by a ManyToManyMapping if unidirectional
- A ManyToOneMapping will be represented by a OneToOneMapping (without a FK constraint)
isForeignKeyRelationship
boolean isForeignKeyRelationship
- Keeps track if any of the fields are foreign keys.
foreignKeyFields
Vector<E> foreignKeyFields
- Keeps track of which fields are foreign keys on a per field basis (can have mixed foreign key relationships).
sourceToTargetKeyFields
Map<K,V> sourceToTargetKeyFields
- Maps the source foreign/primary key fields to the target primary/foreign key fields.
targetToSourceKeyFields
Map<K,V> targetToSourceKeyFields
- Maps the target primary/foreign key fields to the source foreign/primary key fields.
shouldVerifyDelete
boolean shouldVerifyDelete
- These are used for non-unit of work modification to check if the value of the 1-1 was changed and a deletion is required.
keyTableForMapKey
org.eclipse.persistence.internal.helper.DatabaseTable keyTableForMapKey
isOneToOneRelationship
boolean isOneToOneRelationship
- Define if this mapping is really for a OneToOne relationship.
This is a backward compatibility issue, in that before the ManyToOneMapping
was created OneToOneMapping was used for both.
typeField
org.eclipse.persistence.internal.helper.DatabaseField typeField
sourceToTargetQueryKeyNames
Map<K,V> sourceToTargetQueryKeyNames
typeIndicatorTranslation
Map<K,V> typeIndicatorTranslation
typeIndicatorNameTranslation
Map<K,V> typeIndicatorNameTranslation
- parallel table typeIndicatorTranslation used prior to initialization to avoid type indicators on Mapping Workbench
Package org.eclipse.persistence.mappings.converters |
mapping
DatabaseMapping mapping
m_enumClass
Class<T> m_enumClass
m_enumClassName
String m_enumClassName
mapping
DatabaseMapping mapping
attributeToFieldValues
Map<K,V> attributeToFieldValues
mapping
DatabaseMapping mapping
mapping
DatabaseMapping mapping
dataClass
Class<T> dataClass
- Field type
dataClassName
String dataClassName
objectClass
Class<T> objectClass
- Object type
objectClassName
String objectClassName
Package org.eclipse.persistence.mappings.foundation |
field
org.eclipse.persistence.internal.helper.DatabaseField field
- The aggregate objects are stored in a single field.
containerPolicy
org.eclipse.persistence.internal.queries.ContainerPolicy containerPolicy
- This determines the type of container used to hold the aggregate objects.
converter
Converter converter
- Allows user defined conversion between the object attribute value and the database value.
field
org.eclipse.persistence.internal.helper.DatabaseField field
- This is the field holding the nested collection.
elementDataTypeName
String elementDataTypeName
- This is the "data type" associated with each element in the nested collection.
Depending on the data store, this could be optional.
valueConverter
Converter valueConverter
- Allows user defined conversion between the object value and the database value.
containerPolicy
org.eclipse.persistence.internal.queries.ContainerPolicy containerPolicy
- This determines the type of container used to hold the nested collection
in the object.
field
org.eclipse.persistence.internal.helper.DatabaseField field
- The aggregate object is stored in a single field.
converter
Converter converter
- Allows user defined conversion between the object attribute value and the database value.
field
org.eclipse.persistence.internal.helper.DatabaseField field
- DatabaseField which this mapping represents.
converter
Converter converter
- Allows user defined conversion between the object attribute value and the database value.
converterClassName
String converterClassName
keyTableForMapKey
org.eclipse.persistence.internal.helper.DatabaseTable keyTableForMapKey
fieldClassificationClassName
String fieldClassificationClassName
isInsertable
boolean isInsertable
- Flag to support insertable JPA setting
isUpdatable
boolean isUpdatable
- Flag to support updatable JPA setting
isMutable
Boolean isMutable
- PERF: Indicates if this mapping's attribute is a simple atomic value and cannot be modified, only replaced.
This is a tri-state to allow user to set to true or false, as default is false but
some data-types such as Calendar or byte[] or converter types may be desired to be used as mutable.
attributeTransformerClassName
String attributeTransformerClassName
- Name of the class which implements AttributeTransformer to be used to retrieve the attribute value
attributeTransformer
AttributeTransformer attributeTransformer
- attributeTransformerClassName is converter to an instance of AttributeTransformer
fieldTransformations
Vector<E> fieldTransformations
- Stores field name and the class name of a FieldTransformer in a vector to preserve order
fieldToTransformers
Vector<E> fieldToTransformers
- The TransformerClassNames are converted into instances of FieldTransformer
isMutable
boolean isMutable
- PERF: Indicates if this mapping's attribute is a simple value which cannot be modified only replaced.
indirectionPolicy
org.eclipse.persistence.internal.indirection.IndirectionPolicy indirectionPolicy
- Implements indirection behavior
Package org.eclipse.persistence.mappings.querykeys |
field
org.eclipse.persistence.internal.helper.DatabaseField field
referenceClass
Class<T> referenceClass
referenceClassName
String referenceClassName
joinCriteria
Expression joinCriteria
name
String name
descriptor
ClassDescriptor descriptor
Package org.eclipse.persistence.mappings.structures |
nestedMapping
DatabaseMapping nestedMapping
field
org.eclipse.persistence.internal.helper.DatabaseField field
- A ref is always stored in a single field.
structureName
String structureName
- Arrays require a structure name, this is the ADT defined for the VARRAY.
structureName
String structureName
- Arrays require a structure name, this is the ADT defined for the VARRAY.
sqlTypeName
String sqlTypeName
nestedTypeField
org.eclipse.persistence.internal.helper.DatabaseField nestedTypeField
structureName
String structureName
orderedFields
Vector<E> orderedFields
field
org.eclipse.persistence.internal.helper.DatabaseField field
- A ref is always stored in a single field.
Package org.eclipse.persistence.mappings.transformers |
value
Object value
mapping
AbstractTransformationMapping mapping
methodName
String methodName
methodName
String methodName
mapping
AbstractTransformationMapping mapping
Package org.eclipse.persistence.mappings.xdb |
shouldReadWholeDocument
boolean shouldReadWholeDocument
- Indicates if we should initialize the whole DOM on a read.
This is only used if the user is mapping from an Oracle Document implementation.
xmlTransformer
XMLTransformer xmlTransformer
- Used to convert the DOM to a String.
xmlComparer
XMLComparer xmlComparer
- Used to determine if the XML document has been modified.
xmlParser
XMLParser xmlParser
- Used to convert the String to a DOM
Package org.eclipse.persistence.oxm |
namespaceResolver
NamespaceResolver namespaceResolver
schemaReference
XMLSchemaReference schemaReference
shouldPreserveDocument
boolean shouldPreserveDocument
defaultRootElementField
XMLField defaultRootElementField
sequencedObject
boolean sequencedObject
isWrapper
boolean isWrapper
resultAlwaysXMLRoot
boolean resultAlwaysXMLRoot
namespaceResolver
NamespaceResolver namespaceResolver
schemaType
QName schemaType
xPathFragment
org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment
lastXPathFragment
org.eclipse.persistence.internal.oxm.XPathFragment lastXPathFragment
isCDATA
boolean isCDATA
isRequired
boolean isRequired
isInitialized
boolean isInitialized
usesSingleNode
boolean usesSingleNode
- Makes this maintain the collection of items in a single attribute or element instead of having one element per item in the collection.
Default is false
userXMLTypes
HashMap<K,V> userXMLTypes
userJavaTypes
HashMap<K,V> userJavaTypes
isTypedTextField
boolean isTypedTextField
leafElementType
QName leafElementType
equalNamespaceResolvers
boolean equalNamespaceResolvers
documentPreservationPolicy
DocumentPreservationPolicy documentPreservationPolicy
schemaTypes
ArrayList<E> schemaTypes
Package org.eclipse.persistence.oxm.mappings |
keepAsElementPolicy
UnmarshalKeepAsElementPolicy keepAsElementPolicy
isWriteOnly
boolean isWriteOnly
field
XMLField field
containerPolicy
org.eclipse.persistence.internal.queries.MappedKeyMapContainerPolicy containerPolicy
isNamespaceDeclarationIncluded
boolean isNamespaceDeclarationIncluded
isSchemaInstanceIncluded
boolean isSchemaInstanceIncluded
isWriteOnly
boolean isWriteOnly
reuseContainer
boolean reuseContainer
field
XMLField field
containerPolicy
org.eclipse.persistence.internal.queries.ContainerPolicy containerPolicy
useXMLRoot
boolean useXMLRoot
mixedContent
boolean mixedContent
isWhitespacePreservedForMixedContent
boolean isWhitespacePreservedForMixedContent
areOtherMappingInThisContext
boolean areOtherMappingInThisContext
valueConverter
XMLConverter valueConverter
reuseContainer
boolean reuseContainer
field
XMLField field
useXMLRoot
boolean useXMLRoot
areOtherMappingInThisContext
boolean areOtherMappingInThisContext
converter
XMLConverter converter
isMixedContent
boolean isMixedContent
shouldInlineBinaryData
boolean shouldInlineBinaryData
mimeTypePolicy
MimeTypePolicy mimeTypePolicy
isSwaRef
boolean isSwaRef
collectionContentType
Class<T> collectionContentType
shouldInlineBinaryData
boolean shouldInlineBinaryData
mimeTypePolicy
MimeTypePolicy mimeTypePolicy
isSwaRef
boolean isSwaRef
fieldToClassMappings
Map<K,V> fieldToClassMappings
classToFieldMappings
Map<K,V> classToFieldMappings
choiceElementMappings
Map<K,V> choiceElementMappings
fieldToClassNameMappings
Map<K,V> fieldToClassNameMappings
fieldsToConverters
Map<K,V> fieldsToConverters
containerPolicy
org.eclipse.persistence.internal.queries.ContainerPolicy containerPolicy
isWriteOnly
boolean isWriteOnly
reuseContainer
boolean reuseContainer
converter
Converter converter
fieldToClassMappings
Map<K,V> fieldToClassMappings
classToFieldMappings
Map<K,V> classToFieldMappings
fieldToClassNameMappings
Map<K,V> fieldToClassNameMappings
choiceElementMappings
Map<K,V> choiceElementMappings
fieldsToConverters
Map<K,V> fieldsToConverters
converter
Converter converter
isWriteOnly
boolean isWriteOnly
containerPolicy
org.eclipse.persistence.internal.queries.ContainerPolicy containerPolicy
field
org.eclipse.persistence.internal.helper.DatabaseField field
usesSingleNode
boolean usesSingleNode
reuseContainer
boolean reuseContainer
nullPolicy
AbstractNullPolicy nullPolicy
keepAsElementPolicy
UnmarshalKeepAsElementPolicy keepAsElementPolicy
inverseReferenceMapping
XMLInverseReferenceMapping inverseReferenceMapping
isWriteOnly
boolean isWriteOnly
reuseContainer
boolean reuseContainer
isCDATA
boolean isCDATA
isWriteOnly
boolean isWriteOnly
nullPolicy
AbstractNullPolicy nullPolicy
reuseContainer
boolean reuseContainer
nullPolicy
AbstractNullPolicy nullPolicy
inverseReferenceMapping
XMLInverseReferenceMapping inverseReferenceMapping
keepAsElementPolicy
UnmarshalKeepAsElementPolicy keepAsElementPolicy
isWriteOnly
boolean isWriteOnly
nullPolicy
AbstractNullPolicy nullPolicy
isCDATA
boolean isCDATA
isWriteOnly
boolean isWriteOnly
isWriteOnly
boolean isWriteOnly
reuseContainer
boolean reuseContainer
mappedBy
String mappedBy
containerPolicy
org.eclipse.persistence.internal.queries.ContainerPolicy containerPolicy
sourceToTargetKeyFieldAssociations
HashMap<K,V> sourceToTargetKeyFieldAssociations
sourceToTargetKeys
Vector<E> sourceToTargetKeys
isWriteOnly
boolean isWriteOnly
inverseReferenceMapping
XMLInverseReferenceMapping inverseReferenceMapping
Package org.eclipse.persistence.oxm.mappings.converters |
conversionManager
org.eclipse.persistence.internal.oxm.XMLConversionManager conversionManager
mapping
XMLCompositeDirectCollectionMapping mapping
objectClass
Class<T> objectClass
objectClassName
String objectClassName
rootFragment
org.eclipse.persistence.internal.oxm.XPathFragment rootFragment
associatedField
XMLField associatedField
mapping
DatabaseMapping mapping
Package org.eclipse.persistence.oxm.platform |
Package org.eclipse.persistence.oxm.record |
contentHandler
ContentHandler contentHandler
lexicalHandler
LexicalHandler lexicalHandler
xPathFragment
org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment
attributes
AttributesImpl attributes
isStartElementOpen
boolean isStartElementOpen
dom
Node dom
currentNode
Node currentNode
lastUpdatedField
XMLField lastUpdatedField
numberOfTabs
int numberOfTabs
complexType
boolean complexType
isLastEventText
boolean isLastEventText
numberOfTabs
int numberOfTabs
complexType
boolean complexType
isLastEventText
boolean isLastEventText
groupingElements
ArrayList<E> groupingElements
positionalNodes
HashMap<K,V> positionalNodes
document
Document document
node
Node node
outputStream
OutputStream outputStream
isStartElementOpen
boolean isStartElementOpen
isProcessingCData
boolean isProcessingCData
buffer
byte[] buffer
bufferIndex
int bufferIndex
xmlReader
org.eclipse.persistence.internal.oxm.record.XMLReader xmlReader
treeObjectBuilder
org.eclipse.persistence.internal.oxm.TreeObjectBuilder treeObjectBuilder
xPathFragment
org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment
xPathNode
org.eclipse.persistence.internal.oxm.XPathNode xPathNode
levelIndex
int levelIndex
childRecord
UnmarshalRecord childRecord
parentRecord
UnmarshalRecord parentRecord
transformationRecord
DOMRecord transformationRecord
selfRecords
List<E> selfRecords
indexMap
Map<K,V> indexMap
nullCapableValues
List<E> nullCapableValues
containersMap
Map<K,V> containersMap
isBufferCDATA
boolean isBufferCDATA
attributes
Attributes attributes
typeQName
QName typeQName
rootElementLocalName
String rootElementLocalName
rootElementName
String rootElementName
rootElementNamespaceUri
String rootElementNamespaceUri
fragmentBuilder
org.eclipse.persistence.internal.oxm.SAXFragmentBuilder fragmentBuilder
encoding
String encoding
version
String version
schemaLocation
String schemaLocation
noNamespaceSchemaLocation
String noNamespaceSchemaLocation
isSelfRecord
boolean isSelfRecord
unmarshalContext
org.eclipse.persistence.internal.oxm.record.UnmarshalContext unmarshalContext
unmarshalNamespaceResolver
org.eclipse.persistence.internal.oxm.record.namespaces.UnmarshalNamespaceResolver unmarshalNamespaceResolver
isXsiNil
boolean isXsiNil
xpathNodeIsMixedContent
boolean xpathNodeIsMixedContent
childRecordPool
List<E> childRecordPool
writer
Writer writer
isStartElementOpen
boolean isStartElementOpen
isProcessingCData
boolean isProcessingCData
prefixMapping
Map<K,V> prefixMapping
namespaceResolver
NamespaceResolver namespaceResolver
xmlEventWriter
XMLEventWriter xmlEventWriter
xmlEventFactory
XMLEventFactory xmlEventFactory
domToXMLEventWriter
org.eclipse.persistence.internal.oxm.record.DomToXMLEventWriter domToXMLEventWriter
isStartElementOpen
boolean isStartElementOpen
attributes
List<E> attributes
namespaceDeclarations
List<E> namespaceDeclarations
xPathFragment
org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment
marshaller
XMLMarshaller marshaller
unmarshaller
XMLUnmarshaller unmarshaller
docPresPolicy
DocumentPreservationPolicy docPresPolicy
owningObject
Object owningObject
currentObject
Object currentObject
leafElementType
QName leafElementType
namespaceResolver
NamespaceResolver namespaceResolver
session
org.eclipse.persistence.internal.sessions.AbstractSession session
isXOPPackage
boolean isXOPPackage
targetClass
Class<T> targetClass
characters
org.eclipse.persistence.internal.oxm.StrBuffer characters
shouldReadChars
boolean shouldReadChars
elementCount
int elementCount
domToStreamWriter
org.eclipse.persistence.internal.oxm.record.DomToXMLStreamWriter domToStreamWriter
prefixMapping
Map<K,V> prefixMapping
namespaceResolver
NamespaceResolver namespaceResolver
xmlStreamWriter
XMLStreamWriter xmlStreamWriter
Package org.eclipse.persistence.platform.database |
serialVersionUID: -2935483687958482934L
supportsIdentity
boolean supportsIdentity
- Advanced attribute indicating whether identity is supported,
see comment to setSupportsIdentity method.
typeStrings
Map<K,V> typeStrings
supportsForeignKeyConstraints
boolean supportsForeignKeyConstraints
Package org.eclipse.persistence.platform.xml |
Package org.eclipse.persistence.queries |
name
String name
- Name of the group. This is used in subclasses where the groups are stored
and can be used within a query by name as with FetchGroup. For dynamic
groups the name has no functional value.
items
Map<K,V> items
- Specified attributes in the group mapped to their AttributeItems
type
BatchFetchType type
- Define the type of batch fetching to use.
size
int size
- Define the batch size for IN style batch fetching.
attributeExpressions
List<E> attributeExpressions
- Define the attributes to be batch fetched.
batchedMappings
List<E> batchedMappings
- Define the mapping to be batch fetched.
attributes
List<E> attributes
- PERF: Cache the local batch read attribute names.
constructorArgTypes
Class<T>[] constructorArgTypes
constructorMappings
List<E> constructorMappings
reportItems
List<E> reportItems
constructor
Constructor<T> constructor
size
int size
- Cached size of the stream.
objectCollection
List<E> objectCollection
- Internal collection of objects.
initiallyConformingIndex
Map<K,V> initiallyConformingIndex
- Conforming instances found in memory when building the result.
selectionCriteriaClone
Expression selectionCriteriaClone
- SelectionCriteria & translation row ready for incremental conforming.
translationRow
org.eclipse.persistence.internal.sessions.AbstractRecord translationRow
nextRow
org.eclipse.persistence.internal.sessions.AbstractRecord nextRow
- Store the next row, for 1-m joining.
position
int position
- Current position in the objectCollection of the stream.
marker
int marker
- Marker for backing up.
initialReadSize
int initialReadSize
sizeQuery
ValueReadQuery sizeQuery
pageSize
int pageSize
query
ReadQuery query
name
String name
- Queries can be given a name and registered with a descriptor to allow
common queries to be reused.
arguments
List<E> arguments
- Arguments can be given and specified to predefined queries to allow
reuse.
argumentFields
List<E> argumentFields
- PERF: Argument fields are cached in prepare to avoid rebuilding on each
execution.
argumentValues
List<E> argumentValues
- Arguments values can be given and specified to predefined queries to
allow reuse.
argumentTypes
List<E> argumentTypes
- Needed to differentiate queries with the same name.
argumentTypeNames
List<E> argumentTypeNames
- Used to build a list of argumentTypes by name pre-initialization
queryMechanism
org.eclipse.persistence.internal.queries.DatabaseQueryMechanism queryMechanism
- The query mechanism determines the mechanism on how the database will be
accessed.
redirector
QueryRedirector redirector
- A redirector allows for a queries execution to be the execution of a
piece of code.
doNotRedirect
boolean doNotRedirect
- Can be set to true in the case there is a redirector or a default
redirector but the user does not want the query redirected.
shouldMaintainCache
boolean shouldMaintainCache
- Flag used for a query to bypass the identitymap and unit of work.
shouldRetrieveBypassCache
boolean shouldRetrieveBypassCache
- JPA flags to control the shared cache
shouldStoreBypassCache
boolean shouldStoreBypassCache
properties
Map<K,V> properties
- Internally used by the mappings as a temporary store.
translationRow
org.eclipse.persistence.internal.sessions.AbstractRecord translationRow
- Mappings and the descriptor use parameterized mechanisms that will be
translated with the data from the row.
isUserDefined
boolean isUserDefined
- Internal flag used to bypass user define queries when executing one for
custom sql/query support.
cascadePolicy
int cascadePolicy
- Policy that determines how the query will cascade to its object's parts.
sessionName
String sessionName
- Used to override the default session in the session broker.
isPrepared
boolean isPrepared
- Queries prepare common stated in themselves.
shouldCloneCall
boolean shouldCloneCall
- Used to indicate whether or not the call needs to be cloned.
shouldPrepare
boolean shouldPrepare
- Allow for the prepare of queries to be turned off, this allow for dynamic
non-pre SQL generated queries.
shouldBindAllParameters
Boolean shouldBindAllParameters
- Bind all arguments to the SQL statement.
shouldCacheStatement
Boolean shouldCacheStatement
- Cache the prepared statement, this requires full parameter binding as
well.
shouldUseWrapperPolicy
boolean shouldUseWrapperPolicy
- Use the WrapperPolicy for the objects returned by the query
sourceMapping
DatabaseMapping sourceMapping
- Table per class requires multiple query executions. Internally we prepare
those queries and cache them against the source mapping's selection
query. When queries are executed they are cloned so we need a mechanism
to keep a reference back to the actual selection query so that we can
successfully look up and chain query executions within a table per class
inheritance hierarchy.
queryTimeout
int queryTimeout
- queryTimeout has three possible settings: DefaultTimeout, NoTimeout, and
1..N This applies to both DatabaseQuery.queryTimeout and
DescriptorQueryManager.queryTimeout
DatabaseQuery.queryTimeout: - DefaultTimeout: get queryTimeout from
DescriptorQueryManager - NoTimeout, 1..N: overrides queryTimeout in
DescriptorQueryManager
DescriptorQueryManager.queryTimeout: - DefaultTimeout: get queryTimeout
from parent DescriptorQueryManager. If there is no parent, default to
NoTimeout - NoTimeout, 1..N: overrides parent queryTimeout
hintString
String hintString
- Used for adding hints to the query string in oracle
flushOnExecute
Boolean flushOnExecute
isExecutionClone
boolean isExecutionClone
- PERF: Determines if the query has already been cloned for execution, to
avoid duplicate cloning.
isCustomQueryUsed
Boolean isCustomQueryUsed
- PERF: Store if this query will use the descriptor custom query.
isNativeConnectionRequired
boolean isNativeConnectionRequired
- Allow connection unwrapping to be configured.
hasModifyRow
boolean hasModifyRow
- Used to distinguish query that have a different modify row than translation row.
containerPolicy
org.eclipse.persistence.internal.queries.ContainerPolicy containerPolicy
resultType
int resultType
- Allow return type to be configured, MAP, ARRAY, VALUE, ATTRIBUTE (MAP is the default, i.e. DatabaseRecord).
objects
Vector<E> objects
isFullRowRequired
boolean isFullRowRequired
- PERF: By default only the translation row is used for deletes, the full row can be requested for custom deletes.
valueConverter
Converter valueConverter
- Allows user defined conversion between the result value and the database value.
primaryKey
Object primaryKey
- Query that is performing the does exist check.
object
Object object
existencePolicy
int existencePolicy
- Flag to determine existence check policy.
checkDatabaseIfInvalid
boolean checkDatabaseIfInvalid
- Flag to determine cache invalidation policy support. This overrides
the CheckCache existence setting if the object is invalid or if the
cache cannot be trusted because a flush or DML has occurred.
The default is true.
checkCacheFirst
boolean checkCacheFirst
- Flag to determine if the cache should be check first in addition to another option.
The default is true;
shouldLoad
boolean shouldLoad
- Indicates whether this group should be also used as a
LoadGroup
when processing the query result.
policy
int policy
query
ObjectLevelReadQuery query
- Used to set the policy state in the query.
query
DatabaseQuery query
ejbqlString
String ejbqlString
isParsed
boolean isParsed
methodClass
Class<T> methodClass
methodClassName
String methodClassName
methodName
String methodName
m_cacheUsage
int m_cacheUsage
referenceClass
Class<T> referenceClass
referenceClassName
String referenceClassName
shouldDeferExecutionInUOW
boolean shouldDeferExecutionInUOW
- Indicates whether execution should be deferred in UOW
defaultBuilder
ExpressionBuilder defaultBuilder
- Provide a default builder so that it's easier to be consistent
isPreparedUsingTempStorage
boolean isPreparedUsingTempStorage
- Indicates whether the query was prepared so that it will execute using temp storage
modifyRow
org.eclipse.persistence.internal.sessions.AbstractRecord modifyRow
forceBatchStatementExecution
boolean forceBatchStatementExecution
referenceClass
Class<T> referenceClass
- The class of the target objects to be read from the database.
referenceClassName
String referenceClassName
shouldRefreshIdentityMapResult
boolean shouldRefreshIdentityMapResult
- Allows for the resulting objects to be refresh with the data from the database.
shouldRefreshRemoteIdentityMapResult
boolean shouldRefreshRemoteIdentityMapResult
shouldRegisterResultsInUnitOfWork
boolean shouldRegisterResultsInUnitOfWork
- INTERNAL: for bug 2612601 allow ability not to register results in UOW.
lockingClause
org.eclipse.persistence.internal.expressions.ForUpdateClause lockingClause
- Used for pessimistic locking.
executionTime
long executionTime
- Used to set the read time on objects that use this query.
Should be set to the time the query returned from the database.
shouldUseExclusiveConnection
boolean shouldUseExclusiveConnection
- Added for Exclusive Connection (VPD) support see accessor for information
wasDefaultLockMode
boolean wasDefaultLockMode
- PERF: Store if the query originally used the default lock mode.
shouldBuildNullForNullPk
boolean shouldBuildNullForNullPk
- INTERNAL: If primary key is null ObjectBuilder.buildObject returns null
in case this flag is set to true (instead of throwing exception).
primaryKey
Object primaryKey
object
Object object
objectChangeSet
org.eclipse.persistence.internal.sessions.ObjectChangeSet objectChangeSet
backupClone
Object backupClone
defaultBuilder
ExpressionBuilder defaultBuilder
- Provide a default builder so that it's easier to be consistent
cacheUsage
int cacheUsage
- Allow for the cache usage to be specified to enable in-memory querying.
additionalFields
List<E> additionalFields
- Allow for additional fields to be selected, used for m-m batch reading.
Can contain DatabaseField or Expression.
shouldIncludeData
boolean shouldIncludeData
- Allow for a complex result to be return including the rows and objects, used for m-m batch reading.
isPrePrepared
boolean isPrePrepared
- Allow a prePrepare stage to build the expression for EJBQL and QBE and resolve joining.
distinctState
short distinctState
- Indicates if distinct should be used or not.
inMemoryQueryIndirectionPolicy
int inMemoryQueryIndirectionPolicy
- Used to determine behavior of indirection in in-memory querying and conforming.
fetchGroup
FetchGroup fetchGroup
FetchGroup
specified on this query. When set this FetchGroup will
override the ObjectLevelReadQuery.fetchGroupName
and the use of the descriptor's
FetchGroupManager.getDefaultFetchGroup()
fetchGroupName
String fetchGroupName
- Name of
FetchGroup
stored in the FetchGroupManager
of the
reference class' descriptor or any of its parent descriptors.
shouldUseDefaultFetchGroup
boolean shouldUseDefaultFetchGroup
- Flag to turn on/off the use of the default fetch group.
loadGroup
LoadGroup loadGroup
- Specifies indirection that should be instantiated before returning result
entityFetchGroup
org.eclipse.persistence.internal.queries.EntityFetchGroup entityFetchGroup
- Derived from fetchGroup, set on all objects returned by the query.
Should neither be altered nor accessed directly, always through getEntityFetchGroup method:
in case entityFetchGroup is null getEntityFetchGroup method may return
defaultEntityFetchGroup cached on descriptor's FetchGroupManager.
nonFetchJoinAttributeExpressions
List<E> nonFetchJoinAttributeExpressions
- Stores the non fetchjoin attributes, these are joins that will be
represented in the where clause but not in the select.
partialAttributeExpressions
List<E> partialAttributeExpressions
- Stores the partial attributes that have been added to this query
joinedAttributeManager
org.eclipse.persistence.internal.queries.JoinedAttributeManager joinedAttributeManager
- Stores the helper object for dealing with joined attributes
batchFetchPolicy
BatchFetchPolicy batchFetchPolicy
- Defines batch fetching configuration.
isReferenceClassLocked
Boolean isReferenceClassLocked
- PERF: Caches locking policy isReferenceClassLocked setting.
isResultSetOptimizedQuery
boolean isResultSetOptimizedQuery
- PERF: Allow queries to build directly from the database result-set.
isReadOnly
boolean isReadOnly
- PERF: Allow queries to be defined as read-only in unit of work execution.
shouldOuterJoinSubclasses
Boolean shouldOuterJoinSubclasses
- Define if an outer join should be used to read subclasses.
concreteSubclassCalls
Map<K,V> concreteSubclassCalls
- Allow concrete subclasses calls to be prepared and cached for inheritance queries.
lockModeType
String lockModeType
- Used when specifying a lock mode for the query
waitTimeout
Integer waitTimeout
- waitTimeout has three possible setting: null, 0 and 1..N
null: use the session.getPessimisticLockTimeoutDefault() if available.
0: issue a LOCK_NOWAIT
1..N: use this value to set the WAIT clause.
orderByExpressions
List<E> orderByExpressions
- Used for ordering support.
shouldExtendPessimisticLockScope
boolean shouldExtendPessimisticLockScope
- Indicates whether pessimistic lock should also be applied to relation tables (ManyToMany and OneToOne mappings),
reference tables (DirectCollection and AggregateCollection mapping).
valuesToExclude
Map<K,V> valuesToExclude
attributesToAlwaysInclude
Map<K,V> attributesToAlwaysInclude
specialOperations
Map<K,V> specialOperations
shouldUseEqualityForNulls
boolean shouldUseEqualityForNulls
invalidationPolicy
CacheInvalidationPolicy invalidationPolicy
- Allows invalidation to be specified.
maximumResultSets
int maximumResultSets
- Specifies the cache size.
cacheType
Class<T> cacheType
- Allows the identity map class type to be set.
isNullIgnored
boolean isNullIgnored
- Allows the caching of null to be configured.
containerPolicy
org.eclipse.persistence.internal.queries.ContainerPolicy containerPolicy
- Used for collection and stream support.
startWithExpression
Expression startWithExpression
- Used for Oracle HierarchicalQuery support
connectByExpression
Expression connectByExpression
orderSiblingsByExpressions
List<E> orderSiblingsByExpressions
selectionId
Object selectionId
- Key that can be used in place of a selection criteria.
shouldLoadResultIntoSelectionObject
boolean shouldLoadResultIntoSelectionObject
- Can be used to refresh a specific non-cached instance from the database.
maxRows
int maxRows
- Used for retrieve limited rows through the query.
firstResult
int firstResult
- Used to start query results at a specific result
queryId
long queryId
fetchSize
int fetchSize
- Used to set statement fetch size
queryResultCachingPolicy
QueryResultsCachePolicy queryResultCachingPolicy
- Used to specify how query results are cached
shouldRetrievePrimaryKeys
int shouldRetrievePrimaryKeys
- Flag indicating whether the primary key values should also be retrieved for the reference class.
names
List<E> names
- Collection of names for use by results.
items
List<E> items
- Items to be selected, these could be attributes or aggregate functions.
groupByExpressions
List<E> groupByExpressions
- Expressions representing fields to be used in the GROUP BY clause.
havingExpression
Expression havingExpression
- Expression representing the HAVING clause.
returnChoice
int returnChoice
- Can be one of (ShouldReturnSingleResult, ShouldReturnSingleValue, ShouldReturnSingleAttribute)
Simplifies the result by only returning the first result, first value, or all attribute values
addToConstructorItem
boolean addToConstructorItem
- flag to allow items to be added to the last ConstructorReportItem
returnedKeys
Set<E> returnedKeys
readObject
public Object readObject(Class javaClass,
Session session)
- PUBLIC:
If the PKs were retrieved with the attributes then this method can be used to read the real object from the database.
names
List<E> names
- Item names to lookup result values
results
List<E> results
- Actual converted attribute values
primaryKey
Object primaryKey
- Id value if the retrievPKs flag was set on the ReportQuery. These can be used to get the actual object
key
StringBuffer key
- If an objectLevel distinct is used then generate unique key for this result
resultSetMappingName
String resultSetMappingName
resultSetMapping
SQLResultSetMapping resultSetMapping
previousRow
org.eclipse.persistence.internal.sessions.AbstractRecord previousRow
- Store the previous row, for 1-m joining.
resultSetType
int resultSetType
resultSetConcurrency
int resultSetConcurrency
hasCustomSQLArguments
boolean hasCustomSQLArguments
procedureName
String procedureName
procedureArgumentNames
Vector<E> procedureArgumentNames
m_updateClauses
HashMap<K,V> m_updateClauses
Package org.eclipse.persistence.sdo |
helperContext
commonj.sdo.helper.HelperContext helperContext
rootObject
SDODataObject rootObject
changeSummary
SDOChangeSummary changeSummary
writeReplace
public Object writeReplace()
- INTERNAL:
Defined in SDO 2.01 spec on page 65 Externalizable function is called by
ObjectStream.writeObject() A replacement object for serialization can be
called here.
Security Note:
This public function exposes a data replacement vulnerability where an outside client
can gain access and modify their non-final constants.
We may need to wrap the GZIP streams in some sort of encryption when we are not
using HTTPS or SSL/TLS on the wire.
- See Also:
SDOResolvable
type
SDOType type
- The Type that this DataObject represents
container
SDODataObject container
currentValueStore
ValueStore currentValueStore
- The (currentValueStore) will maintain the current state of our model
after logged changes - it is a shallow copy of the original, progressively becoming deeper with changes.
openContentProperties
List<E> openContentProperties
openContentPropertiesAttributes
List<E> openContentPropertiesAttributes
openContentAliasNames
Map<K,V> openContentAliasNames
containmentPropertyName
String containmentPropertyName
changeSummary
SDOChangeSummary changeSummary
instanceProperties
List<E> instanceProperties
sdoRef
String sdoRef
sequence
SDOSequence sequence
dataGraph
commonj.sdo.DataGraph dataGraph
aHelperContext
commonj.sdo.helper.HelperContext aHelperContext
- hold the current context containing all helpers so that we can preserve inter-helper relationships
text
String text
- Unique hash ID of this Externalizable class - not required at this point because we serialize the xml representation
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput arg0)
throws IOException
- Throws:
IOException
propertyName
String propertyName
type
SDOType type
containingType
SDOType containingType
isContainment
boolean isContainment
hasMany
boolean hasMany
readOnly
boolean readOnly
aliasNames
List<E> aliasNames
defaultValue
Object defaultValue
isDefaultSet
boolean isDefaultSet
indexInType
int indexInType
indexInDeclaredProperties
int indexInDeclaredProperties
opposite
SDOProperty opposite
xsd
boolean xsd
xsdLocalName
String xsdLocalName
global
boolean global
namespaceQualified
boolean namespaceQualified
propertyValues
Map<K,V> propertyValues
nullable
boolean nullable
xsdType
QName xsdType
valueProperty
boolean valueProperty
appInfoElements
List<E> appInfoElements
appInfoMap
Map<K,V> appInfoMap
nameCollision
boolean nameCollision
uri
String uri
isSubstitutable
boolean isSubstitutable
substitutableElements
Collection<E> substitutableElements
finalized
boolean finalized
aHelperContext
commonj.sdo.helper.HelperContext aHelperContext
serialVersionUID: 2807334877368539299L
readExternal
public void readExternal(ObjectInput objectInput)
throws IOException,
ClassNotFoundException
- Purpose: Deserialize from an ObjectInputStream into an SDODataObject This
function is mandated by the Externalizable interface. It reads back
binary data in the same order as was written in writeExternal(). An
object has already been constructed with the no-arg constructor before
this function fills in the member fields.
The deserialized object will be returned later in a call from the
ObjectInputStream to readResolve()
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput objectOutput)
throws IOException
- Purpose: Serialize an SDODataObject to an ObjectOutputStream This
function is mandated by the Externalizable interface. It writes binary
data in the same order as was will be read back in readExternal().
Prerequisites: An object has already been constructed and associated with
the theSDODataObject member
- Throws:
IOException
qName
QName qName
open
boolean open
isAbstract
boolean isAbstract
isDataType
boolean isDataType
baseTypes
List<E> baseTypes
declaredProperties
List<E> declaredProperties
aliasNames
List<E> aliasNames
xsd
boolean xsd
xsdList
boolean xsdList
xsdLocalName
String xsdLocalName
xsdType
QName xsdType
propertyValues
Map<K,V> propertyValues
changeSummaryProperty
SDOProperty changeSummaryProperty
allProperties
List<E> allProperties
allPropertiesArr
SDOProperty[] allPropertiesArr
subTypes
List<E> subTypes
finalized
boolean finalized
javaClass
Class<T> javaClass
javaClassName
String javaClassName
javaImplClassName
String javaImplClassName
javaImplClass
Class<T> javaImplClass
nonFinalizedReferencingProps
List<E> nonFinalizedReferencingProps
nonFinalizedMappingURIs
List<E> nonFinalizedMappingURIs
pseudoDefault
Object pseudoDefault
- hold a wrapper object for primitive numeric defaults
aHelperContext
commonj.sdo.helper.HelperContext aHelperContext
appInfoElements
List<E> appInfoElements
appInfoMap
Map<K,V> appInfoMap
sdoType
SDOType sdoType
Package org.eclipse.persistence.sdo.dataobjects |
Package org.eclipse.persistence.sdo.helper |
customClass
Class<T> customClass
writeReplace
public Object writeReplace()
- INTERNAL:
Defined in SDO 2.01 spec on page 65 Externalizable function is called by
ObjectStream.writeObject() A replacement object for serialization can be
called here.
Security Note:
This public function exposes a data replacement vulnerability where an outside client
can gain access and modify their non-final constants.
We may need to wrap the GZIP streams in some sort of encryption when we are not
using HTTPS or SSL/TLS on the wire.
- See Also:
SDOResolvable
dataObject
SDODataObject dataObject
property
SDOProperty property
currentElements
List<E> currentElements
- We are maintaining two pointers to potentially two ArrayList objects.
To implement ChangeSummary undo we require a copy of the original state of our model
- with special handling for ListWrapper to maintain object identity of the list
The List (originalElements) on ChangeSummary will maintain the current state of our model after logged changes.
The List (currentElements) will be a progressively deeper distinct shallow copy of the current list as it changes
property
SDOProperty property
helperContext
commonj.sdo.helper.HelperContext helperContext
attributeClass
Class<T> attributeClass
property
SDOProperty property
Package org.eclipse.persistence.sdo.helper.jaxb |
jaxbValueStore
JAXBValueStore jaxbValueStore
xmlInverseReferenceMapping
XMLInverseReferenceMapping xmlInverseReferenceMapping
Package org.eclipse.persistence.sdo.helper.metadata |
transformationMapping
AbstractTransformationMapping transformationMapping
namespaceResolver
NamespaceResolver namespaceResolver
transformationMapping
AbstractTransformationMapping transformationMapping
xPath
XMLField xPath
typeHelper
SDOTypeHelper typeHelper
Package org.eclipse.persistence.sdo.types |
pseudoDefault
Object pseudoDefault
initialized
boolean initialized
typeHelper
SDOTypeHelper typeHelper
initialized
boolean initialized
typeName
String typeName
descriptorsMap
Map<K,V> descriptorsMap
Package org.eclipse.persistence.sequencing |
defaultSequence
Sequence defaultSequence
shouldUseIdentityIfPlatformSupports
boolean shouldUseIdentityIfPlatformSupports
- true indicates that identity should be used - if the platform supports identity.
false indicates that sequence objects should be used - if the platform supports sequence objects.
selectQuery
ValueReadQuery selectQuery
updateQuery
DataModifyQuery updateQuery
shouldAcquireValueAfterInsert
boolean shouldAcquireValueAfterInsert
shouldUseTransaction
boolean shouldUseTransaction
shouldSkipUpdate
boolean shouldSkipUpdate
shouldSelectBeforeUpdate
boolean shouldSelectBeforeUpdate
wasSelectQueryCreated
boolean wasSelectQueryCreated
wasUpdateQueryCreated
boolean wasUpdateQueryCreated
name
String name
size
int size
platform
org.eclipse.persistence.internal.databaseaccess.Platform platform
initialValue
int initialValue
depth
int depth
qualifier
String qualifier
isCustomQualifier
boolean isCustomQualifier
shouldAlwaysOverrideExistingValue
boolean shouldAlwaysOverrideExistingValue
table
org.eclipse.persistence.internal.helper.DatabaseTable table
- Hold the database table
counterFieldName
String counterFieldName
- Hold the name of the column in the sequence table which specifies the sequence numeric value
nameFieldName
String nameFieldName
- Hold the name of the column in the sequence table which specifies the sequence name
counterFieldName
String counterFieldName
- Hold the name of the only column in multiple single-column tables
updateString1
String updateString1
updateString2
String updateString2
selectString1
String selectString1
selectString2
String selectString2
updateStringBufferSize
int updateStringBufferSize
selectStringBufferSize
int selectStringBufferSize
Package org.eclipse.persistence.sessions |
shouldResetPrimaryKey
boolean shouldResetPrimaryKey
shouldResetVersion
boolean shouldResetVersion
session
org.eclipse.persistence.internal.sessions.AbstractSession session
copies
Map<K,V> copies
depth
int depth
- Policy depth that determines how the copy will cascade to the object's
related parts
queryRetryAttemptCount
int queryRetryAttemptCount
- Stores the value for the number of time EclipseLink will attempt to reconnect the connection on a comm failure
in the case EclipseLink is attempting to retry a query. EclipseLink will retry a read query outside of a transaction
if EclipseLink can determine that a communication error occurred with the database.
delayBetweenConnectionAttempts
int delayBetweenConnectionAttempts
- Stores the number of milliseconds that EclipseLink will wait between attempts to reconnect a DatabaseConnection
in the case EclipseLink is attempting to retry a query. EclipseLink will retry a read query outside of a transaction
if EclipseLink can determine that a communication error occurred with the database.
connectionHealthValidatedOnError
boolean connectionHealthValidatedOnError
- This value defaults to true and on an SQL Exception EclipseLink will ping the database to determine
if the connection used can continue to be used for queries. This should have no impact on applications
unless the user is using pessimistic locking queries with 'no wait' or are using a query timeout feature.
If that is the case and the application is experiencing a performance impact from the health check then
this feature can be turned off. Turning this feature off will prevent EclipseLink from being able to
retry queries in the case of database failure.
properties
Properties properties
- Connection properties (e.g. user, password, and driver-specific settings)
platform
org.eclipse.persistence.internal.databaseaccess.Platform platform
- Implementation of platform-specific behaviors.
isEncryptedPasswordSet
boolean isEncryptedPasswordSet
- The securable object holder and flag
connector
Connector connector
- Provide a little flexibility for connecting to a database
usesExternalConnectionPooling
boolean usesExternalConnectionPooling
- True if we use an external connection pool such as WebLogic's JTS driver
usesExternalTransactionController
boolean usesExternalTransactionController
- True if we should use some external transaction service such as JTS.
cacheTransactionIsolation
int cacheTransactionIsolation
- By default concurrency is optimized and the cache is not locked during reads or writes,
This allows for concurrent reading and writing and should never cause any problems. If the application
uses no form of locking the last unit of work to merge changes will win, with no locking it is possible
only under this scenario for two unit of works to merge changes different than the database although highly unlikely
and if occurred is the entire purpose of locking. This property allows for the isolation level of changes to the
cache to be configured for sever situation and it is not suggest that this be changed.
driverClassName
String driverClassName
driverURLHeader
String driverURLHeader
databaseURL
String databaseURL
driverClass
Class<T> driverClass
- cache up the driver class to speed up reconnects
driver
Driver driver
- cache up the instantiated Driver to speed up reconnects
connectDirectly
boolean connectDirectly
- Save whether we have switched to direct connect (sql.Driver.connect()) mode
dataSource
DataSource dataSource
context
Context context
name
String name
lookupType
int lookupType
name
String name
datasourceLogin
Login datasourceLogin
descriptors
Map<K,V> descriptors
orderedDescriptors
Vector<E> orderedDescriptors
defaultReadOnlyClasses
Vector<E> defaultReadOnlyClasses
- Holds the default set of read-only classes that apply to each UnitOfWork.
aliasDescriptors
Map<K,V> aliasDescriptors
- Cache the EJBQL descriptor aliases.
hasIsolatedClasses
boolean hasIsolatedClasses
- Cache if any descriptor is isolated. (set during initialization)
hasNonIsolatedUOWClasses
boolean hasNonIsolatedUOWClasses
- Cache if all descriptors are isolated in the unit of work. (set during initialization)
hasGenericHistorySupport
boolean hasGenericHistorySupport
- Cache if any descriptor has history. (set during initialization)
hasProxyIndirection
boolean hasProxyIndirection
- Cache if any descriptor is using ProxyIndirection. (set during initialization
sqlResultSetMappings
Map<K,V> sqlResultSetMappings
- This a collection of 'maps' that allow users to map custom SQL to query results
defaultTemporalMutable
boolean defaultTemporalMutable
- Define the default setting for configuring if dates and calendars are mutable.
defaultIdentityMapClass
Class<T> defaultIdentityMapClass
- Default value for ClassDescriptor.identityMapClass.
defaultIdentityMapSize
int defaultIdentityMapSize
- Default value for ClassDescriptor.identityMapSize.
defaultIsIsolated
boolean defaultIsIsolated
- Default value for ClassDescriptor.isIsolated.
defaultIdValidation
IdValidation defaultIdValidation
- Default value for ClassDescriptor.idValidation.
mappedSuperclassDescriptors
Map<K,V> mappedSuperclassDescriptors
- Mapped Superclasses (JPA 2) collection of parent non-relational descriptors keyed on MetadataClass
without creating a compile time dependency on JPA.
The descriptor values of this map must not be replaced by a put() so that the
mappings on the initial descriptor are not overwritten.
These descriptors are only to be used by Metamodel generation.
- Since:
- EclipseLink 1.2 for the JPA 2.0 Reference Implementation
metamodelIdClassMap
Map<K,V> metamodelIdClassMap
- Store the IdClass Id attributes for exclusive use by the Metamodel API
Keyed on the fully qualified accessible object owner class name.
Value is a List of the fully qualified id class name or id attribute name.
- Since:
- EclipseLink 1.2 for the JPA 2.0 Reference Implementation
query
DatabaseQuery query
- Some events may have a query associated with them (pre/postExecuteQuery).
result
Object result
- Some events may have a result associated with them (pre/postExecuteQuery).
session
Session session
- The session or unit of work raising the event.
eventCode
int eventCode
- The code of the event being raised. This is an integer constant value as defined below.
properties
Hashtable<K,V> properties
- Additional properties may be added.
listeners
List<E> listeners
session
Session session
Package org.eclipse.persistence.sessions.broker |
parent
SessionBroker parent
sessionNamesByClass
Map<K,V> sessionNamesByClass
sessionsByName
Map<K,V> sessionsByName
sequencing
org.eclipse.persistence.internal.sequencing.Sequencing sequencing
Package org.eclipse.persistence.sessions.coordination |
serviceId
ServiceId serviceId
- The unique calling card of the service that initiated the command
changeSetBytes
byte[] changeSetBytes
id
String id
- Generated unique id to distinguish the service instance from all others
channel
String channel
- The logical channel that the service instance subscribes to
url
String url
- Url of the service instance
displayString
String displayString
Package org.eclipse.persistence.sessions.interceptors |
wrappedKey
org.eclipse.persistence.internal.identitymaps.CacheKey wrappedKey
Package org.eclipse.persistence.sessions.remote |
sequencing
org.eclipse.persistence.internal.sequencing.Sequencing sequencing
shouldEnableDistributedIndirectionGarbageCollection
boolean shouldEnableDistributedIndirectionGarbageCollection
Package org.eclipse.persistence.sessions.remote.corba.sun |
readObject
private void readObject(ObjectInputStream s)
writeObject
private void writeObject(ObjectOutputStream s)
remoteSessionController
CORBARemoteSessionController remoteSessionController
controller
org.eclipse.persistence.internal.sessions.remote.RemoteSessionController controller
- Store the real controller.
Package org.eclipse.persistence.sessions.remote.rmi |
remoteSessionController
RMIRemoteSessionController remoteSessionController
controller
org.eclipse.persistence.internal.sessions.remote.RemoteSessionController controller
- Store the real controller.
Package org.eclipse.persistence.sessions.remote.rmi.iiop |
remoteSessionController
RMIRemoteSessionController remoteSessionController
Package org.eclipse.persistence.sessions.server |
parent
ServerSession parent
connectionPolicy
ConnectionPolicy connectionPolicy
writeConnection
org.eclipse.persistence.internal.databaseaccess.Accessor writeConnection
isActive
boolean isActive
sequencing
org.eclipse.persistence.internal.sequencing.Sequencing sequencing
login
Login login
- The login information used to create a JDBC connection or acquire one
from an external pool/data-source. Typically this is constant within a
single persistence unit but in some advanced usages users can customize
connections for each client session.
poolName
String poolName
- Name of the pool to be used.
If neither pool name nor login provided then default pool will be used.
If no pool name is provided but there's a login then the login is used to
create connection which the ClientSession will use.
isLazy
boolean isLazy
- Determines if the write/exclusive connection is acquired only when first
requested (lazy, this is the default) or immediately when the client
session is acquired.
After write/exclusive connection is acquired
if isLazy is true and exclusiveMode is Transactional
then it's held until transaction is committed or rolled back,
otherwise until the client session is released.
exclusiveMode
ConnectionPolicy.ExclusiveMode exclusiveMode
- This attribute is used by the ServerSession to determine if a client
session with an exclusive connection should be built and how the exclusive
connection should be used.
properties
Map<K,V> properties
- This attribute will provide a mechanism by which customers will be able
to pass connection information to events to enable further customization.
readConnectionPool
ConnectionPool readConnectionPool
connectionPools
Map<K,V> connectionPools
defaultConnectionPolicy
ConnectionPolicy defaultConnectionPolicy
maxNumberOfNonPooledConnections
int maxNumberOfNonPooledConnections
numberOfNonPooledConnectionsUsed
int numberOfNonPooledConnectionsUsed
Package org.eclipse.persistence.tools |
Package org.eclipse.persistence.tools.profiler |
profiles
Vector<E> profiles
shouldLogProfile
boolean shouldLogProfile
nestLevel
int nestLevel
nestTime
long nestTime
profileTime
long profileTime
operationTimings
Hashtable<K,V> operationTimings
operationStartTimes
Hashtable<K,V> operationStartTimes
operationTimingsByThread
Hashtable<K,V> operationTimingsByThread
operationStartTimesByThread
Hashtable<K,V> operationStartTimesByThread
queryClass
Class<T> queryClass
domainClass
Class<T> domainClass
numberOfInstancesEffected
long numberOfInstancesEffected
operationTimings
Hashtable<K,V> operationTimings
localTime
long localTime
profileTime
long profileTime
totalTime
long totalTime
shortestTime
long shortestTime
longestTime
long longestTime
Package org.eclipse.persistence.tools.schemaframework |
name
String name
qualifier
String qualifier
name
String name
type
Class<T> type
- Java type class for the field.
Particular database type is generated based on platform from this.
typeName
String typeName
- Generic database type name for the field, which can be used instead of the Java class 'type'.
This is translated to a particular database type based on platform.
typeDefinition
String typeDefinition
- Database-specific complete type definition like "VARCHAR2(50) UNIQUE NOT NULL".
If this is given, other additional type constraint fields(size, unique, null) are meaningless.
size
int size
subSize
int subSize
shouldAllowNull
boolean shouldAllowNull
isIdentity
boolean isIdentity
isPrimaryKey
boolean isPrimaryKey
isUnique
boolean isUnique
additional
String additional
constraint
String constraint
foreignKeyFieldName
String foreignKeyFieldName
name
String name
sourceFields
Vector<E> sourceFields
targetFields
Vector<E> targetFields
targetTable
String targetTable
shouldCascadeOnDelete
boolean shouldCascadeOnDelete
typeSize
int typeSize
type
Class<T> type
typeName
String typeName
isNullAllowed
boolean isNullAllowed
statements
Vector<E> statements
procedures
Vector<E> procedures
sequence
Sequence sequence
variables
Vector<E> variables
statements
Vector<E> statements
arguments
Vector<E> arguments
argumentTypes
Vector<E> argumentTypes
fields
Vector<E> fields
foreignKeyMap
HashMap<K,V> foreignKeyMap
uniqueKeys
Vector<E> uniqueKeys
creationPrefix
String creationPrefix
creationSuffix
String creationSuffix
createSQLFiles
boolean createSQLFiles
fields
Vector<E> fields
typeName
String typeName
- The name of the type that this table is of.
additional
String additional
name
String name
sourceFields
Vector<E> sourceFields
typeSize
int typeSize
size
int size
type
Class<T> type
typeName
String typeName
selectClause
String selectClause