Serialized Form
serialVersionUID: 1L
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
Package javax.persistence |
entity
java.lang.Object entity
- The object that caused the exception
entity
java.lang.Object entity
- The object that caused the exception
entity
java.lang.Object entity
- The object that caused the exception
query
Query query
- The query object that caused the exception
serialVersionUID: 1L
name
javax.xml.namespace.QName name
- xml element tag name
declaredType
java.lang.Class<T> declaredType
- Java datatype binding for xml element declaration's type.
scope
java.lang.Class<T> scope
- Scope of xml element declaration representing this xml element instance.
Can be one of the following values:
-
JAXBElement.GlobalScope
for global xml element declaration.
- local element declaration has a scope set to the Java class
representation of complex type defintion containing
xml element declaration.
value
java.lang.Object value
- xml element value.
Represents content model and attributes of an xml element instance.
nil
boolean nil
- true iff the xml element instance has xsi:nil="true".
serialVersionUID: -5621384651494307979L
errorCode
java.lang.String errorCode
- Vendor specific error code
linkedException
java.lang.Throwable linkedException
- Exception reference
serialVersionUID: 1L
errorCode
java.lang.String errorCode
- Vendor specific error code
linkedException
java.lang.Throwable linkedException
- Exception reference
Package org.eclipse.persistence.dbws |
ns
NamespaceResolver ns
Package org.eclipse.persistence.descriptors |
javaClass
java.lang.Class<T> javaClass
javaClassName
java.lang.String javaClassName
tables
java.util.Vector<E> tables
primaryKeyFields
java.util.List<E> primaryKeyFields
isCascadeOnDeleteSetOnDatabaseOnSecondaryTables
boolean isCascadeOnDeleteSetOnDatabaseOnSecondaryTables
- Support delete cascading on the database for multiple and inheritance tables.
mappings
java.util.Vector<E> mappings
referencingClasses
java.util.Set<E> referencingClasses
lockableMappings
java.util.List<E> lockableMappings
queryKeys
java.util.Map<K,V> queryKeys
identityMapClass
java.lang.Class<T> identityMapClass
remoteIdentityMapClass
java.lang.Class<T> remoteIdentityMapClass
identityMapSize
int identityMapSize
remoteIdentityMapSize
int remoteIdentityMapSize
sequenceNumberName
java.lang.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
java.lang.String alias
shouldBeReadOnly
boolean shouldBeReadOnly
shouldAlwaysConformResultsInUnitOfWork
boolean shouldAlwaysConformResultsInUnitOfWork
cacheIsolation
CacheIsolationType cacheIsolation
shouldRegisterResultsInUnitOfWork
boolean shouldRegisterResultsInUnitOfWork
eventManager
DescriptorEventManager eventManager
queryManager
DescriptorQueryManager queryManager
objectBuilder
org.eclipse.persistence.internal.descriptors.ObjectBuilder objectBuilder
copyPolicy
CopyPolicy copyPolicy
copyPolicyClassName
java.lang.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
java.util.Vector<E> cascadeLockingPolicies
wrapperPolicy
WrapperPolicy wrapperPolicy
changePolicy
ObjectChangePolicy changePolicy
returningPolicy
ReturningPolicy returningPolicy
historyPolicy
HistoryPolicy historyPolicy
partitioningPolicyName
java.lang.String partitioningPolicyName
partitioningPolicy
PartitioningPolicy partitioningPolicy
cmpPolicy
CMPPolicy cmpPolicy
fetchGroupManager
FetchGroupManager fetchGroupManager
properties
java.util.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.
primaryKeyIdValidations
java.util.List<E> primaryKeyIdValidations
- Allow zero primary key validation to be configured per field.
cacheKeyType
CacheKeyType cacheKeyType
- Allow cache key type to be configured.
derivesIdMappings
java.util.Map<K,V> derivesIdMappings
cacheInterceptorClass
java.lang.Class<T> cacheInterceptorClass
cacheInterceptorClassName
java.lang.String cacheInterceptorClassName
defaultQueryRedirector
QueryRedirector defaultQueryRedirector
defaultReadAllQueryRedirector
QueryRedirector defaultReadAllQueryRedirector
defaultReadObjectQueryRedirector
QueryRedirector defaultReadObjectQueryRedirector
defaultReportQueryRedirector
QueryRedirector defaultReportQueryRedirector
defaultUpdateObjectQueryRedirector
QueryRedirector defaultUpdateObjectQueryRedirector
defaultInsertObjectQueryRedirector
QueryRedirector defaultInsertObjectQueryRedirector
defaultDeleteObjectQueryRedirector
QueryRedirector defaultDeleteObjectQueryRedirector
defaultQueryRedirectorClassName
java.lang.String defaultQueryRedirectorClassName
defaultReadAllQueryRedirectorClassName
java.lang.String defaultReadAllQueryRedirectorClassName
defaultReadObjectQueryRedirectorClassName
java.lang.String defaultReadObjectQueryRedirectorClassName
defaultReportQueryRedirectorClassName
java.lang.String defaultReportQueryRedirectorClassName
defaultUpdateObjectQueryRedirectorClassName
java.lang.String defaultUpdateObjectQueryRedirectorClassName
defaultInsertObjectQueryRedirectorClassName
java.lang.String defaultInsertObjectQueryRedirectorClassName
defaultDeleteObjectQueryRedirectorClassName
java.lang.String defaultDeleteObjectQueryRedirectorClassName
sequence
Sequence sequence
- Store the Sequence used for the descriptor.
mappingsPostCalculateChanges
java.util.List<E> mappingsPostCalculateChanges
- Mappings that require postCalculateChanges method to be called
mappingsPostCalculateChangesOnDeleted
java.util.List<E> mappingsPostCalculateChangesOnDeleted
- Mappings that require postCalculateChangesOnDeleted method to be called
preDeleteMappings
java.util.List<E> preDeleteMappings
- stores a list of mappings that require preDelete as a group prior to the delete individually
hasRelationships
boolean hasRelationships
- whether this descriptor has any relationships through its mappings, through inheritance, or through aggregates
foreignKeyValuesForCaching
java.util.Set<E> foreignKeyValuesForCaching
- Stores a set of FK fields that will be cached to later retrieve noncacheable mappings
hasNoncacheableMappings
boolean hasNoncacheableMappings
- caches if this descriptor has any non cacheable mappings
forceUpdate
java.lang.Boolean forceUpdate
updateAllFields
java.lang.Boolean updateAllFields
pessimisticLockingPolicy
PessimisticLockingPolicy pessimisticLockingPolicy
- Allow the bean to always be locked as it enters a new transaction.
mappedClass
java.lang.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.
attributeName
java.lang.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
java.lang.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
java.util.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
java.util.List<E> allNonPrimaryKeyFields
parentClass
java.lang.Class<T> parentClass
parentClassName
java.lang.String parentClassName
parentDescriptor
ClassDescriptor parentDescriptor
childDescriptors
java.util.List<E> childDescriptors
classExtractorName
java.lang.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
java.util.Vector<E> parentInterfaces
parentInterfaceNames
java.util.Vector<E> parentInterfaceNames
parentDescriptors
java.util.Vector<E> parentDescriptors
childDescriptors
java.util.Vector<E> childDescriptors
descriptor
ClassDescriptor descriptor
implementorDescriptor
java.lang.Class<T> implementorDescriptor
implementorDescriptorClassName
java.lang.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
- owner of the policy
infos
java.util.List<E> infos
- Stores an object of type Info for every call to any of addField.. methods.
Should be filled out before initialize() is called:
fields added after initialization are ignored.
main
java.util.Collection<E>[][] main
- The following attributes are initialized by initialize() method.
Contains the actual DatabaseFields to be returned.
Populated during descriptor initialization using infos.
Here's the order:
main[INSERT][RETURN_ONLY] main[INSERT][WRITE_RETURN] main[INSERT][MAPPED] main[INSERT][UNMAPPED] main[INSERT][ALL]
main[UPDATE][RETURN_ONLY] main[UPDATE][WRITE_RETURN] main[UPDATE][MAPPED] main[UPDATE][UNMAPPED] main[UPDATE][ALL]
After initialization main[UPDATE,WRITE_RETURN] will contain all DatabaseFields that should be
returned on Update as read-write.
main[i][RETURN_ONLY] + main[i][WRITE_RETURN] = main[i][MAPPED]
main[i][MAPPED] + main[i][UNMAPPED] = main[i][ALL]
tableToFieldsForGenerationMap
java.util.Map<K,V>[] tableToFieldsForGenerationMap
- maps ClassDescriptor's tables into Vectors of fields to be used for call generation.
Lazily initialized array [NUM_OPERATIONS]
isUsedToSetPrimaryKey
boolean isUsedToSetPrimaryKey
- indicates whether ReturningPolicy is used for generation of the PK.
fieldsNotFromDescriptor_DefaultTable
java.util.Map<K,V> fieldsNotFromDescriptor_DefaultTable
- contains all default table the returning fields that are either unmapped or mapped supplied with types.
fieldsNotFromDescriptor_OtherTables
java.util.Map<K,V> fieldsNotFromDescriptor_OtherTables
- contains all the other tables returning fields that are either unmapped or mapped supplied with types.
lockFieldsByTable
java.util.Map<K,V> lockFieldsByTable
lockFields
java.util.Vector<E> lockFields
selectionQueriesForAllObjects
java.util.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
java.lang.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
java.lang.Object key
- INTERNAL:
The value of the key that was updated.
Package org.eclipse.persistence.descriptors.copying |
descriptor
ClassDescriptor descriptor
methodName
java.lang.String methodName
- Allow for clone method to be specified.
workingCopyMethodName
java.lang.String workingCopyMethodName
Package org.eclipse.persistence.descriptors.invalidation |
shouldUpdateReadTimeOnUpdate
boolean shouldUpdateReadTimeOnUpdate
- This will represent objects that do not expire.
shouldRefreshInvalidObjectsOnClone
boolean shouldRefreshInvalidObjectsOnClone
- 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
java.util.Random random
- Random used for randomized invalidation.
expiryTime
java.util.Calendar expiryTime
previousExpiry
java.util.Calendar previousExpiry
timeToLive
long timeToLive
- Number of milliseconds before invalidation.
Package org.eclipse.persistence.descriptors.partitioning |
partitioningClasName
java.lang.String partitioningClasName
policy
PartitioningPolicy policy
partitionField
org.eclipse.persistence.internal.helper.DatabaseField partitionField
- The column to partition by.
unionUnpartitionableQueries
boolean unionUnpartitionableQueries
- If query does not have the partition field in it, should the query be sent to all databases.
connectionPools
java.util.List<E> connectionPools
name
java.lang.String name
- The persistent unit unique name for the policy.
connectionPool
java.lang.String connectionPool
partitions
java.util.List<E> partitions
connectionPools
java.util.List<E> connectionPools
currentIndex
int currentIndex
replicateWrites
boolean replicateWrites
replicateWrites
boolean replicateWrites
partitions
java.util.Map<K,V> partitions
- Store the value partitions. Each partition maps a value to a connectionPool.
defaultConnectionPool
java.lang.String defaultConnectionPool
- The default connection pool is used for any unmapped values.
Package org.eclipse.persistence.eis |
adds
java.util.Vector<E> adds
- The added stuff.
removes
java.util.Vector<E> removes
- The removed stuff.
changedMapKeys
java.util.Vector<E> changedMapKeys
- The stuff whose Map keys have changed.
connectionSpec
javax.resource.cci.ConnectionSpec connectionSpec
connectionFactory
javax.resource.cci.ConnectionFactory connectionFactory
context
javax.naming.Context context
name
javax.naming.Name name
log
java.io.Writer log
dataFormat
java.lang.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
java.lang.String recordName
- The record name.
recordShortDescription
java.lang.String recordShortDescription
- The record name.
record
java.util.Map<K,V> record
accessor
EISAccessor accessor
adds
java.util.Vector<E> adds
- The added stuff.
addIndexes
int[] addIndexes
- The indexes into the new collection of the elements that were added.
moves
java.util.Vector<E> moves
- The moved stuff.
moveIndexPairs
int[][] moveIndexPairs
- The index pairs of the elements that were moved (before and after indexes).
removes
java.util.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
java.lang.reflect.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
java.lang.String functionName
- Name of the function the interaction describes.
inputRecordName
java.lang.String inputRecordName
- Name to pass to the input record creation.
properties
java.util.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
java.util.Vector<E> arguments
- Defines the arguments to the interaction, these can be the values or argument names/fields the values come from.
outputArgumentNames
java.util.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
java.util.Vector<E> outputArguments
- Defines the field values the output arguments of the interaction map to. These are order dependent with the names.
outputResultPath
java.lang.String outputResultPath
- Path to the desired output record if nested.
inputResultPath
java.lang.String inputResultPath
argumentNames
java.util.Vector<E> argumentNames
queryString
java.lang.String queryString
inputRootElementName
java.lang.String inputRootElementName
- The root element name to use for the input DOM.
outputRootElementName
java.lang.String outputRootElementName
- The root element name to use for the output DOM.
xQueryString
java.lang.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
java.util.Map<K,V> sourceToTargetKeyFields
- Maps the source foreign/primary key fields to the target primary/foreign key fields.
targetToSourceKeyFields
java.util.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
java.lang.Class<T> classToConvertTo
exception
java.sql.SQLException exception
isCommunicationFailure
boolean isCommunicationFailure
internalException
java.lang.Throwable internalException
indentationString
java.lang.String indentationString
errorCode
int errorCode
hasBeenLogged
boolean hasBeenLogged
caughtExceptions
java.util.Vector<E> caughtExceptions
- To add all the Descriptor exceptions
tables
java.util.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
java.util.Collection<E> internalExceptions
resourceName
java.lang.String resourceName
exceptionList
java.util.Vector<E> exceptionList
resourceName
java.lang.String resourceName
Package org.eclipse.persistence.expressions |
serialVersionUID: -5979150600092006081L
selectIfOrderedBy
boolean selectIfOrderedBy
hashCode
int hashCode
- PERF: Cache the hashCode.
queryClass
java.lang.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
java.lang.String[] databaseStrings
isPrefix
boolean isPrefix
isRepeating
boolean isRepeating
nodeClass
java.lang.Class<T> nodeClass
type
int type
argumentIndices
int[] argumentIndices
javaStrings
java.lang.String[] javaStrings
isBindingSupported
boolean isBindingSupported
- Allow operator to disable binding.
startStrings
java.lang.String[] startStrings
separators
java.lang.String[] separators
terminationStrings
java.lang.String[] terminationStrings
numberOfItems
int numberOfItems
isComplete
boolean isComplete
Package org.eclipse.persistence.history |
value
java.lang.Object value
descriptor
ClassDescriptor descriptor
mapping
DatabaseMapping mapping
historicalTables
java.util.Vector<E> historicalTables
startFields
java.util.Vector<E> startFields
endFields
java.util.Vector<E> endFields
shouldHandleWrites
boolean shouldHandleWrites
usesLocalTime
boolean usesLocalTime
Package org.eclipse.persistence.indirection |
delegate
java.util.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
java.util.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
java.util.Set<E> delegate
- Reduce type casting
valueHolder
ValueHolderInterface valueHolder
- Delegate indirection behavior to a value holder
attributeName
java.lang.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
java.lang.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
java.lang.Class<T> m_enumClass
m_enumClassName
java.lang.String m_enumClassName
m_usesOrdinalValues
boolean m_usesOrdinalValues
type
java.lang.reflect.Type type
enumClassName
java.lang.String enumClassName
enumClass
java.lang.Class<T> enumClass
fromStringMethod
java.lang.reflect.Method fromStringMethod
Package org.eclipse.persistence.jpa.dynamic |
Package org.eclipse.persistence.logging |
fileName
java.lang.String fileName
- The filename associated with this DefaultSessionLog, if it is being written out to a file
categoryLogLevelMap
java.util.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
java.lang.String sessionString
connection
org.eclipse.persistence.internal.databaseaccess.Accessor connection
shouldLogExceptionStackTrace
boolean shouldLogExceptionStackTrace
shouldPrintDate
boolean shouldPrintDate
shouldPrintThread
boolean shouldPrintThread
date
java.util.Date date
message
java.lang.String message
throwable
java.lang.Throwable throwable
level
int level
nameSpace
java.lang.String nameSpace
parameters
java.lang.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
java.lang.Class<T> referenceClass
- Stores a reference class
referenceClassName
java.lang.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
java.lang.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").
mustDeleteReferenceObjectsOneByOne
boolean mustDeleteReferenceObjectsOneByOne
- Store if the mapping can batch delete reference objects.
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
java.lang.Boolean isLazy
- Specifies whether this mapping is lazy, this means not included in the default fetch group.
fields
java.util.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
java.lang.Integer weight
- This is a TopLink defined attribute that allows us to sort the mappings
properties
java.util.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
java.lang.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
java.lang.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
isCacheable
boolean isCacheable
valueConverter
Converter valueConverter
- Allows user defined conversion between the object value and the database value.
valueConverterClassName
java.lang.String valueConverterClassName
historyPolicy
HistoryPolicy historyPolicy
referenceClass
java.lang.Class<T> referenceClass
- This is used only in descriptor proxy in remote session
referenceClassName
java.lang.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
java.lang.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
isCascadeOnDeleteSetOnDatabase
boolean isCascadeOnDeleteSetOnDatabase
- Support delete cascading on the database relationship constraint.
partitioningPolicy
PartitioningPolicy partitioningPolicy
- Allow the mapping's queries to be targeted at specific connection pools.
partitioningPolicyName
java.lang.String partitioningPolicyName
- Allow the mapping's queries to be targeted at specific connection pools.
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
java.util.Vector<E> foreignKeyFields
- Keeps track of which fields are foreign keys on a per field basis (can have mixed foreign key relationships).
sourceToTargetKeyFields
java.util.Map<K,V> sourceToTargetKeyFields
- Maps the source foreign/primary key fields to the target primary/foreign key fields.
targetToSourceKeyFields
java.util.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
java.util.Map<K,V> sourceToTargetQueryKeyNames
typeIndicatorTranslation
java.util.Map<K,V> typeIndicatorTranslation
typeIndicatorNameTranslation
java.util.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
java.lang.Class<T> m_enumClass
m_enumClassName
java.lang.String m_enumClassName
m_useOrdinalValues
boolean m_useOrdinalValues
mapping
DatabaseMapping mapping
attributeToFieldValues
java.util.Map<K,V> attributeToFieldValues
mapping
DatabaseMapping mapping
mapping
DatabaseMapping mapping
dataClass
java.lang.Class<T> dataClass
- Field type
dataClassName
java.lang.String dataClassName
objectClass
java.lang.Class<T> objectClass
- Object type
objectClassName
java.lang.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
java.lang.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
java.lang.String converterClassName
keyTableForMapKey
org.eclipse.persistence.internal.helper.DatabaseTable keyTableForMapKey
fieldClassificationClassName
java.lang.String fieldClassificationClassName
isInsertable
boolean isInsertable
- Flag to support insertable JPA setting
isUpdatable
boolean isUpdatable
- Flag to support updatable JPA setting
isMutable
java.lang.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
java.lang.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
java.util.List<E> fieldTransformations
- Stores field name and the class name of a FieldTransformer in a vector to preserve order
fieldToTransformers
java.util.List<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
java.lang.Class<T> referenceClass
referenceClassName
java.lang.String referenceClassName
joinCriteria
Expression joinCriteria
name
java.lang.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
java.lang.String structureName
- Arrays require a structure name, this is the ADT defined for the VARRAY.
structureName
java.lang.String structureName
- Arrays require a structure name, this is the ADT defined for the VARRAY.
sqlTypeName
java.lang.String sqlTypeName
nestedTypeField
org.eclipse.persistence.internal.helper.DatabaseField nestedTypeField
structureName
java.lang.String structureName
orderedFields
java.util.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
java.lang.Object value
mapping
AbstractTransformationMapping mapping
methodName
java.lang.String methodName
methodName
java.lang.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
javax.xml.namespace.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
java.util.HashMap<K,V> userXMLTypes
userJavaTypes
java.util.HashMap<K,V> userJavaTypes
isTypedTextField
boolean isTypedTextField
leafElementType
javax.xml.namespace.QName leafElementType
equalNamespaceResolvers
boolean equalNamespaceResolvers
documentPreservationPolicy
DocumentPreservationPolicy documentPreservationPolicy
schemaTypes
java.util.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
java.lang.Class<T> collectionContentType
shouldInlineBinaryData
boolean shouldInlineBinaryData
mimeTypePolicy
MimeTypePolicy mimeTypePolicy
isSwaRef
boolean isSwaRef
fieldToClassMappings
java.util.Map<K,V> fieldToClassMappings
classToFieldMappings
java.util.Map<K,V> classToFieldMappings
classToSourceFieldsMappings
java.util.Map<K,V> classToSourceFieldsMappings
classNameToSourceFieldsMappings
java.util.Map<K,V> classNameToSourceFieldsMappings
choiceElementMappings
java.util.Map<K,V> choiceElementMappings
fieldToClassNameMappings
java.util.Map<K,V> fieldToClassNameMappings
fieldsToConverters
java.util.Map<K,V> fieldsToConverters
containerPolicy
org.eclipse.persistence.internal.queries.ContainerPolicy containerPolicy
isWriteOnly
boolean isWriteOnly
reuseContainer
boolean reuseContainer
converter
Converter converter
fieldToClassMappings
java.util.Map<K,V> fieldToClassMappings
classToFieldMappings
java.util.Map<K,V> classToFieldMappings
classToSourceFieldsMappings
java.util.Map<K,V> classToSourceFieldsMappings
classNameToSourceFieldsMappings
java.util.Map<K,V> classNameToSourceFieldsMappings
fieldToClassNameMappings
java.util.Map<K,V> fieldToClassNameMappings
choiceElementMappings
java.util.Map<K,V> choiceElementMappings
fieldsToConverters
java.util.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
java.lang.String mappedBy
containerPolicy
org.eclipse.persistence.internal.queries.ContainerPolicy containerPolicy
sourceToTargetKeyFieldAssociations
java.util.HashMap<K,V> sourceToTargetKeyFieldAssociations
sourceToTargetKeys
java.util.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
java.lang.Class<T> objectClass
objectClassName
java.lang.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
org.xml.sax.ContentHandler contentHandler
lexicalHandler
org.xml.sax.ext.LexicalHandler lexicalHandler
xPathFragment
org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment
attributes
org.xml.sax.helpers.AttributesImpl attributes
level
int level
prefixMappings
java.util.Map<K,V> prefixMappings
isStartElementOpen
boolean isStartElementOpen
dom
org.w3c.dom.Node dom
currentNode
org.w3c.dom.Node currentNode
lastUpdatedField
XMLField lastUpdatedField
numberOfTabs
int numberOfTabs
complexType
boolean complexType
isLastEventText
boolean isLastEventText
numberOfTabs
int numberOfTabs
complexType
boolean complexType
isLastEventText
boolean isLastEventText
groupingElements
java.util.ArrayList<E> groupingElements
positionalNodes
java.util.HashMap<K,V> positionalNodes
document
org.w3c.dom.Document document
node
org.w3c.dom.Node node
outputStream
java.io.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
java.util.List<E> selfRecords
indexMap
java.util.Map<K,V> indexMap
nullCapableValues
java.util.List<E> nullCapableValues
containersMap
java.util.Map<K,V> containersMap
isBufferCDATA
boolean isBufferCDATA
attributes
org.xml.sax.Attributes attributes
typeQName
javax.xml.namespace.QName typeQName
rootElementLocalName
java.lang.String rootElementLocalName
rootElementName
java.lang.String rootElementName
rootElementNamespaceUri
java.lang.String rootElementNamespaceUri
fragmentBuilder
org.eclipse.persistence.internal.oxm.SAXFragmentBuilder fragmentBuilder
encoding
java.lang.String encoding
version
java.lang.String version
schemaLocation
java.lang.String schemaLocation
noNamespaceSchemaLocation
java.lang.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
java.util.List<E> childRecordPool
marshalRecord
MarshalRecord marshalRecord
validatingRecord
ContentHandlerRecord validatingRecord
object
java.lang.Object object
writer
java.io.Writer writer
isStartElementOpen
boolean isStartElementOpen
isProcessingCData
boolean isProcessingCData
prefixMapping
java.util.Map<K,V> prefixMapping
namespaceResolver
NamespaceResolver namespaceResolver
xmlEventWriter
javax.xml.stream.XMLEventWriter xmlEventWriter
xmlEventFactory
javax.xml.stream.XMLEventFactory xmlEventFactory
domToXMLEventWriter
org.eclipse.persistence.internal.oxm.record.DomToXMLEventWriter domToXMLEventWriter
isStartElementOpen
boolean isStartElementOpen
attributes
java.util.List<E> attributes
namespaceDeclarations
java.util.List<E> namespaceDeclarations
xPathFragment
org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment
marshaller
XMLMarshaller marshaller
unmarshaller
XMLUnmarshaller unmarshaller
docPresPolicy
DocumentPreservationPolicy docPresPolicy
owningObject
java.lang.Object owningObject
currentObject
java.lang.Object currentObject
leafElementType
javax.xml.namespace.QName leafElementType
namespaceResolver
NamespaceResolver namespaceResolver
session
org.eclipse.persistence.internal.sessions.AbstractSession session
isXOPPackage
boolean isXOPPackage
targetClass
java.lang.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
java.util.Map<K,V> prefixMapping
namespaceResolver
NamespaceResolver namespaceResolver
xmlStreamWriter
javax.xml.stream.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
java.util.Map<K,V> typeStrings
supportsForeignKeyConstraints
boolean supportsForeignKeyConstraints
Package org.eclipse.persistence.platform.database.oracle.plsql |
arguments
java.util.List<E> arguments
- List of procedure IN/OUT/INOUT arguments.
originalIndex
int originalIndex
- Keeps track of the next procedure argument index.
translationRow
org.eclipse.persistence.internal.sessions.AbstractRecord translationRow
- Translation row stored after translation on the call clone, used only for logging.
typesInfo
java.util.Map<K,V> typesInfo
- Map of conversion function routines for converting complex PLSQL types.
functionId
int functionId
- Id used to generate unique local functions.
Package org.eclipse.persistence.platform.xml |
Package org.eclipse.persistence.queries |
name
java.lang.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
java.util.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
java.util.List<E> attributeExpressions
- Define the attributes to be batch fetched.
batchedMappings
java.util.List<E> batchedMappings
- Define the mapping to be batch fetched.
attributes
java.util.List<E> attributes
- PERF: Cache the local batch read attribute names.
constructorArgTypes
java.lang.Class<T>[] constructorArgTypes
constructorMappings
java.util.List<E> constructorMappings
reportItems
java.util.List<E> reportItems
constructor
java.lang.reflect.Constructor<T> constructor
size
int size
- Cached size of the stream.
objectCollection
java.util.List<E> objectCollection
- Internal collection of objects.
initiallyConformingIndex
java.util.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
java.lang.String name
- Queries can be given a name and registered with a descriptor to allow
common queries to be reused.
arguments
java.util.List<E> arguments
- Arguments can be given and specified to predefined queries to allow
reuse.
argumentFields
java.util.List<E> argumentFields
- PERF: Argument fields are cached in prepare to avoid rebuilding on each
execution.
argumentValues
java.util.List<E> argumentValues
- Arguments values can be given and specified to predefined queries to
allow reuse.
argumentTypes
java.util.List<E> argumentTypes
- Needed to differentiate queries with the same name.
argumentTypeNames
java.util.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
java.util.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
java.lang.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
java.lang.Boolean shouldBindAllParameters
- Bind all arguments to the SQL statement.
shouldCacheStatement
java.lang.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
java.lang.String hintString
- Used for adding hints to the query string in oracle
flushOnExecute
java.lang.Boolean flushOnExecute
isExecutionClone
boolean isExecutionClone
- PERF: Determines if the query has already been cloned for execution, to
avoid duplicate cloning.
isCustomQueryUsed
java.lang.Boolean isCustomQueryUsed
- PERF: Store if this query will use the descriptor custom query.
isNativeConnectionRequired
boolean isNativeConnectionRequired
- Allow connection unwrapping to be configured.
monitorName
java.lang.String monitorName
- Return the name to use for the query in performance monitoring.
shouldValidateUpdateCallCacheUse
boolean shouldValidateUpdateCallCacheUse
- Allow additional validation to be performed before using the update call cache
partitioningPolicy
PartitioningPolicy partitioningPolicy
- Allow queries to be targeted at specific connection pools.
parameterDelimiter
java.lang.String parameterDelimiter
- Allow the reserved pound char used to delimit bind parameters to be overridden
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
java.util.List<E> objects
- List containing objects to be deleted, these should be removed from the identity map after deletion.
isInMemoryOnly
boolean isInMemoryOnly
- Defines if objects should be remove from the persistence context only (no database).
This is used if delete was already cascaded by the database.
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
java.lang.Object primaryKey
- Query that is performing the does exist check.
object
java.lang.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
java.lang.String ejbqlString
isParsed
boolean isParsed
methodClass
java.lang.Class<T> methodClass
methodClassName
java.lang.String methodClassName
methodName
java.lang.String methodName
m_cacheUsage
int m_cacheUsage
referenceClass
java.lang.Class<T> referenceClass
referenceClassName
java.lang.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
java.lang.Class<T> referenceClass
- The class of the target objects to be read from the database.
referenceClassName
java.lang.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).
requiresDeferredLocks
java.lang.Boolean requiresDeferredLocks
- When reading across relationships, queries may be set to acquire deferred locks
This is used to ensure any Eagerly fetched object that is the target of a relationship
with an object the acquires deferred locks behaves the same as its owner
primaryKey
java.lang.Object primaryKey
object
java.lang.Object object
objectChangeSet
org.eclipse.persistence.internal.sessions.ObjectChangeSet objectChangeSet
backupClone
java.lang.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
java.util.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
java.lang.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
java.util.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
java.util.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
java.lang.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
java.lang.Boolean shouldOuterJoinSubclasses
- Define if an outer join should be used to read subclasses.
concreteSubclassCalls
java.util.Map<K,V> concreteSubclassCalls
- Allow concrete subclasses calls to be prepared and cached for inheritance queries.
lockModeType
java.lang.String lockModeType
- Used when specifying a lock mode for the query
waitTimeout
java.lang.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
java.util.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
java.util.Map<K,V> valuesToExclude
attributesToAlwaysInclude
java.util.Map<K,V> attributesToAlwaysInclude
specialOperations
java.util.Map<K,V> specialOperations
shouldUseEqualityForNulls
boolean shouldUseEqualityForNulls
invalidationPolicy
CacheInvalidationPolicy invalidationPolicy
- Allows invalidation to be specified.
maximumResultSets
int maximumResultSets
- Specifies the cache size.
cacheType
java.lang.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
java.util.List<E> orderSiblingsByExpressions
selectionId
java.lang.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
java.util.List<E> names
- Collection of names for use by results.
items
java.util.List<E> items
- Items to be selected, these could be attributes or aggregate functions.
groupByExpressions
java.util.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
java.util.Set<E> returnedKeys
readObject
public java.lang.Object readObject(java.lang.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
java.util.List<E> names
- Item names to lookup result values
results
java.util.List<E> results
- Actual converted attribute values
primaryKey
java.lang.Object primaryKey
- Id value if the retrievPKs flag was set on the ReportQuery. These can be used to get the actual object
key
java.lang.StringBuffer key
- If an objectLevel distinct is used then generate unique key for this result
resultSetMappingName
java.lang.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
java.lang.String procedureName
procedureArgumentNames
java.util.Vector<E> procedureArgumentNames
m_updateClauses
java.util.HashMap<K,V> m_updateClauses
Package org.eclipse.persistence.sdo |
helperContext
HelperContext helperContext
rootObject
SDODataObject rootObject
changeSummary
SDOChangeSummary changeSummary
writeReplace
public java.lang.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
java.util.List<E> openContentProperties
openContentPropertiesAttributes
java.util.List<E> openContentPropertiesAttributes
openContentAliasNames
java.util.Map<K,V> openContentAliasNames
containmentPropertyName
java.lang.String containmentPropertyName
changeSummary
SDOChangeSummary changeSummary
instanceProperties
java.util.List<E> instanceProperties
sdoRef
java.lang.String sdoRef
sequence
SDOSequence sequence
dataGraph
DataGraph dataGraph
aHelperContext
HelperContext aHelperContext
- hold the current context containing all helpers so that we can preserve inter-helper relationships
text
java.lang.String text
- Unique hash ID of this Externalizable class - not required at this point because we serialize the xml representation
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
propertyName
java.lang.String propertyName
type
SDOType type
containingType
SDOType containingType
isContainment
boolean isContainment
hasMany
boolean hasMany
readOnly
boolean readOnly
aliasNames
java.util.List<E> aliasNames
defaultValue
java.lang.Object defaultValue
isDefaultSet
boolean isDefaultSet
indexInType
int indexInType
indexInDeclaredProperties
int indexInDeclaredProperties
opposite
SDOProperty opposite
xsd
boolean xsd
xsdLocalName
java.lang.String xsdLocalName
global
boolean global
namespaceQualified
boolean namespaceQualified
propertyValues
java.util.Map<K,V> propertyValues
nullable
boolean nullable
xsdType
javax.xml.namespace.QName xsdType
valueProperty
boolean valueProperty
appInfoElements
java.util.List<E> appInfoElements
appInfoMap
java.util.Map<K,V> appInfoMap
nameCollision
boolean nameCollision
uri
java.lang.String uri
isSubstitutable
boolean isSubstitutable
substitutableElements
java.util.Collection<E> substitutableElements
finalized
boolean finalized
aHelperContext
HelperContext aHelperContext
serialVersionUID: 2807334877368539299L
readExternal
public void readExternal(java.io.ObjectInput objectInput)
throws java.io.IOException,
java.lang.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:
java.io.IOException
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput objectOutput)
throws java.io.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:
java.io.IOException
qName
javax.xml.namespace.QName qName
open
boolean open
isAbstract
boolean isAbstract
isDataType
boolean isDataType
baseTypes
java.util.List<E> baseTypes
declaredProperties
java.util.List<E> declaredProperties
aliasNames
java.util.List<E> aliasNames
xsd
boolean xsd
xsdList
boolean xsdList
xsdLocalName
java.lang.String xsdLocalName
xsdType
javax.xml.namespace.QName xsdType
propertyValues
java.util.Map<K,V> propertyValues
changeSummaryProperty
SDOProperty changeSummaryProperty
allProperties
java.util.List<E> allProperties
allPropertiesArr
SDOProperty[] allPropertiesArr
subTypes
java.util.List<E> subTypes
finalized
boolean finalized
javaClass
java.lang.Class<T> javaClass
javaClassName
java.lang.String javaClassName
javaImplClassName
java.lang.String javaImplClassName
javaImplClass
java.lang.Class<T> javaImplClass
nonFinalizedReferencingProps
java.util.List<E> nonFinalizedReferencingProps
nonFinalizedMappingURIs
java.util.List<E> nonFinalizedMappingURIs
pseudoDefault
java.lang.Object pseudoDefault
- hold a wrapper object for primitive numeric defaults
aHelperContext
HelperContext aHelperContext
appInfoElements
java.util.List<E> appInfoElements
appInfoMap
java.util.Map<K,V> appInfoMap
sdoType
SDOType sdoType
Package org.eclipse.persistence.sdo.dataobjects |
Package org.eclipse.persistence.sdo.helper |
customClass
java.lang.Class<T> customClass
writeReplace
public java.lang.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
java.util.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
HelperContext helperContext
attributeClass
java.lang.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
java.lang.Object pseudoDefault
initialized
boolean initialized
typeHelper
SDOTypeHelper typeHelper
initialized
boolean initialized
typeName
java.lang.String typeName
descriptorsMap
java.util.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
java.lang.String name
size
int size
platform
org.eclipse.persistence.internal.databaseaccess.Platform platform
initialValue
int initialValue
depth
int depth
qualifier
java.lang.String qualifier
isCustomQualifier
boolean isCustomQualifier
shouldAlwaysOverrideExistingValue
boolean shouldAlwaysOverrideExistingValue
table
org.eclipse.persistence.internal.helper.DatabaseTable table
- Hold the database table
counterFieldName
java.lang.String counterFieldName
- Hold the name of the column in the sequence table which specifies the sequence numeric value
nameFieldName
java.lang.String nameFieldName
- Hold the name of the column in the sequence table which specifies the sequence name
counterFieldName
java.lang.String counterFieldName
- Hold the name of the only column in multiple single-column tables
updateString1
java.lang.String updateString1
updateString2
java.lang.String updateString2
selectString1
java.lang.String selectString1
selectString2
java.lang.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
java.util.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
java.util.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
java.lang.String driverClassName
driverURLHeader
java.lang.String driverURLHeader
databaseURL
java.lang.String databaseURL
driverClass
java.lang.Class<T> driverClass
- cache up the driver class to speed up reconnects
driver
java.sql.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
javax.sql.DataSource dataSource
context
javax.naming.Context context
name
java.lang.String name
lookupType
int lookupType
name
java.lang.String name
datasourceLogin
Login datasourceLogin
descriptors
java.util.Map<K,V> descriptors
orderedDescriptors
java.util.List<E> orderedDescriptors
defaultReadOnlyClasses
java.util.Vector<E> defaultReadOnlyClasses
- Holds the default set of read-only classes that apply to each UnitOfWork.
aliasDescriptors
java.util.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
java.util.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
java.lang.Class<T> defaultIdentityMapClass
- Default value for ClassDescriptor.identityMapClass.
defaultIdentityMapSize
int defaultIdentityMapSize
- Default value for ClassDescriptor.identityMapSize.
defaultCacheIsolation
CacheIsolationType defaultCacheIsolation
- Default value for ClassDescriptor.isIsolated.
defaultIdValidation
IdValidation defaultIdValidation
- Default value for ClassDescriptor.idValidation.
mappedSuperclassDescriptors
java.util.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
java.util.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
partitioningPolicies
java.util.Map<K,V> partitioningPolicies
- Map of named partitioning policies, keyed by their name.
query
DatabaseQuery query
- Some events may have a query associated with them (pre/postExecuteQuery).
result
java.lang.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
java.util.Hashtable<K,V> properties
- Additional properties may be added.
listeners
java.util.List<E> listeners
session
Session session
Package org.eclipse.persistence.sessions.broker |
parent
SessionBroker parent
sessionNamesByClass
java.util.Map<K,V> sessionNamesByClass
sessionsByName
java.util.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
java.lang.String id
- Generated unique id to distinguish the service instance from all others
channel
java.lang.String channel
- The logical channel that the service instance subscribes to
url
java.lang.String url
- Url of the service instance
displayString
java.lang.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(java.io.ObjectInputStream s)
writeObject
private void writeObject(java.io.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
writeConnections
java.util.Map<K,V> writeConnections
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
java.lang.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
java.util.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
java.util.Map<K,V> connectionPools
defaultConnectionPolicy
ConnectionPolicy defaultConnectionPolicy
numberOfNonPooledConnectionsUsed
int numberOfNonPooledConnectionsUsed
maxNumberOfNonPooledConnections
int maxNumberOfNonPooledConnections
Package org.eclipse.persistence.tools |
Package org.eclipse.persistence.tools.profiler |
operationTimings
java.util.Map<K,V> operationTimings
operationStartTimesByThread
java.util.Map<K,V> operationStartTimesByThread
lastDumpTime
long lastDumpTime
dumpTime
long dumpTime
profileWeight
int profileWeight
profiles
java.util.List<E> profiles
shouldLogProfile
boolean shouldLogProfile
nestLevel
int nestLevel
nestTime
long nestTime
profileTime
long profileTime
operationTimingsByThread
java.util.Map<K,V> operationTimingsByThread
operationStartTimesByThread
java.util.Map<K,V> operationStartTimesByThread
queryClass
java.lang.Class<T> queryClass
domainClass
java.lang.Class<T> domainClass
numberOfInstancesEffected
long numberOfInstancesEffected
operationTimings
java.util.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
java.lang.String name
qualifier
java.lang.String qualifier
name
java.lang.String name
type
java.lang.Class<T> type
- Java type class for the field.
Particular database type is generated based on platform from this.
typeName
java.lang.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
java.lang.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
java.lang.String additional
constraint
java.lang.String constraint
foreignKeyFieldName
java.lang.String foreignKeyFieldName
name
java.lang.String name
sourceFields
java.util.List<E> sourceFields
targetFields
java.util.List<E> targetFields
targetTable
java.lang.String targetTable
shouldCascadeOnDelete
boolean shouldCascadeOnDelete
targetTable
java.lang.String targetTable
fields
java.util.List<E> fields
isUnique
boolean isUnique
typeSize
int typeSize
type
java.lang.Class<T> type
typeName
java.lang.String typeName
isNullAllowed
boolean isNullAllowed
statements
java.util.Vector<E> statements
procedures
java.util.Vector<E> procedures
sequence
Sequence sequence
variables
java.util.Vector<E> variables
statements
java.util.Vector<E> statements
arguments
java.util.Vector<E> arguments
argumentTypes
java.util.Vector<E> argumentTypes
fields
java.util.List<E> fields
foreignKeyMap
java.util.Map<K,V> foreignKeyMap
uniqueKeys
java.util.List<E> uniqueKeys
indexes
java.util.List<E> indexes
creationPrefix
java.lang.String creationPrefix
creationSuffix
java.lang.String creationSuffix
createSQLFiles
boolean createSQLFiles
fields
java.util.Vector<E> fields
typeName
java.lang.String typeName
- The name of the type that this table is of.
additional
java.lang.String additional
name
java.lang.String name
sourceFields
java.util.Vector<E> sourceFields
typeSize
int typeSize
size
int size
type
java.lang.Class<T> type
typeName
java.lang.String typeName
selectClause
java.lang.String selectClause