Deprecated API
Contents
- Terminally Deprecated
- Interfaces
- Classes
- Annotation Interfaces
- Fields
- Methods
- Constructors
- Annotation Interface Elements
-
Terminally Deprecated ElementsElementDescriptionUse Vector(Collection) followed by Vector.addAll(Collection) instead.Translation will not be part of the logger,
shouldTranslatewill be removedUse SessionLogEntry.getLevel() insteadUse SessionLogEntry.getMessage() insteadUse SessionLogEntry.getNameSpace() insteadUse SessionLogEntry.getParameters() insteadWill be removed from the class, translation will not be part of the loggerWill be removed from the class, translation will not be part of the loggerUse SessionLogEntry.getSourceClassName() insteadUse SessionLogEntry.getSourceMethodName() insteadUse SessionLogEntry.getThread() insteadUse SessionLogEntry.getException() insteadUse SequenceDefinition(String) instead.ImplementDatabasePlatform.checkSequenceExists(...)instead.To be removed with no replacement.Use SequenceObjectDefinition(String) instead.org.eclipse.persistence.tools.schemaframework.SequenceObjectDefinition.checkIfExist(AbstractSession) ImplementDatabasePlatform.checkSequenceExists(...)instead.org.eclipse.persistence.tools.schemaframework.TableDefinition.createIndexes(AbstractSession, Writer) Use TableSequenceDefinition(String, boolean) instead.ImplementDatabasePlatform.checkSequenceExists(...)instead.To be removed with no replacement.To be removed with no replacement.Use UnaryTableSequenceDefinition(String, boolean) instead.Use UnaryTableSequenceDefinition(String, boolean) instead.ImplementDatabasePlatform.checkSequenceExists(...)instead.To be removed with no replacement.
-
Deprecated InterfacesInterfaceDescription. Because the same functionality can be obtained with DataObjects alone and because using DataObjects has the advantages of consistence and richer functionality, the use of the special envelope DataGraph is discouraged and may be removed altogether in a future version.
-
Deprecated ClassesClassDescriptionThis class is no longer supported according to changes in Oracle NoSQL Database access.
Use
OracleNoSQLPlatforminstead.
-
Deprecated Annotation Interfaces
-
Deprecated FieldsFieldDescriptionsince 2.6 replaced by PERSISTENCE_CONTEXT_COMMIT_ORDERreplaced by
PersistenceUnitProperties.ID_VALIDATIONproperty with valueNULL.as of EclipseLink 2.2 replaced byPersistenceUnitProperties.CONNECTION_POOL_INITIALas of EclipseLink 2.2 replaced byPersistenceUnitProperties.CONNECTION_POOL_MAXas of EclipseLink 2.2 replaced byPersistenceUnitProperties.CONNECTION_POOL_MINas of EclipseLink 2.2 replaced byPersistenceUnitProperties.CONNECTION_POOL_WAITas of EclipseLink 2.2 replaced byPersistenceUnitProperties.CONNECTION_POOL_INITIALas of EclipseLink 2.2 replaced byPersistenceUnitProperties.CONNECTION_POOL_MAXas of EclipseLink 2.2 replaced byPersistenceUnitProperties.CONNECTION_POOL_MINas of EclipseLink 2.2 replaced byPersistenceUnitProperties.CONNECTION_POOL_SHAREDas of EclipseLink 2.2 replaced byPersistenceUnitProperties.CONNECTION_POOL_SEQUENCEas of EclipseLink 2.2 replaced byPersistenceUnitProperties.CONNECTION_POOL_NON_JTA_DATA_SOURCEas of EclipseLink 2.2 replaced byPersistenceUnitProperties.CONNECTION_POOL_INITIALas of EclipseLink 2.2 replaced byPersistenceUnitProperties.CONNECTION_POOL_MAXas of EclipseLink 2.2 replaced byPersistenceUnitProperties.CONNECTION_POOL_MINas of EclipseLink 2.2 replaced byPersistenceUnitProperties.CONNECTION_POOL_INITIALas of EclipseLink 2.2 replaced byPersistenceUnitProperties.CONNECTION_POOL_MAXas of EclipseLink 2.2 replaced byPersistenceUnitProperties.CONNECTION_POOL_MINas of EclipseLink 2.6 replaced byPersistenceUnitProperties.PERSISTENCE_CONTEXT_COMMIT_ORDERInstead of setting the flag to true use: session.getProject().setDefaultIdValidation(IdValidation.NULL)As of release 2.4, replaced by JAXBContextProperties.ANNOTATION_HELPERAs of release 2.4, replaced by JAXBContextProperties.DEFAULT_TARGET_NAMESPACEAs of release 2.4, replaced by JAXBContextProperties.OXM_METADATA_SOURCEUseQueryParameters.JPARS_RELATIONSHIP_PARTNERinstead.Use SessionLogEntry.getLevel() insteadUse SessionLogEntry.getMessage() insteadUse SessionLogEntry.getNameSpace() insteadUse SessionLogEntry.getParameters() insteadWill be removed from the class, translation will not be part of the loggerUse SessionLogEntry.getSourceClassName() insteadUse SessionLogEntry.getSourceMethodName() insteadUse SessionLogEntry.getThread() insteadUse SessionLogEntry.getException() insteadUse an empty string as a default sequence table name instead, that triggers usage of platform.getDefaultSequenceTableName() when the sequence is connected.To be removed with no replacement.
-
Deprecated MethodsMethodDescriptionreplaced by
DataObject.getInstanceProperty(String)in 2.1.0in 2.1.0.in 2.1.0.in 2.1.0.There is no accepted algorithm to convert a date into a Duration so use of this method is discouraged. Convert from a Calendar to a String representation of the Duration type.There is no accepted algorithm to convert a date into a Duration so use of this method is discouraged. Convert from a Date to a String representation of the Duration type.replaced bySequence.addText(int, String)in 2.1.0replaced bySequence.addText(String)in 2.1.0Use Vector(Collection) followed by Vector.addAll(Collection) instead.Use Collections.addAll(Collection, Object[]) instead.UsePersistenceUnitTransactionTypeinstead ofPersistenceUnitTransactionTypeUsePersistenceUnitTransactionTypeinstead ofPersistenceUnitTransactionTypeWill be removed from the class, translation will not be part of the loggerWill be removed from the class, translation will not be part of the loggerReplaced by getInverseReferenceMapping().getAttributeAccessor()Replaced by getInverseReferenceMapping().getAttributeName()Replaced by getInverseReferenceMapping().getGetMethodName()Replaced by getInverseReferenceMapping().getSetMethodName()Replaced by getInverseReferenceMapping().setAttributeAccessor()org.eclipse.persistence.oxm.mappings.XMLCompositeCollectionMapping.setContainerAttributeName(String) Replaced by getInverseReferenceMapping().setAttributeName()org.eclipse.persistence.oxm.mappings.XMLCompositeCollectionMapping.setContainerGetMethodName(String) Replaced by getInverseReferenceMapping().setGetMethodName()org.eclipse.persistence.oxm.mappings.XMLCompositeCollectionMapping.setContainerSetMethodName(String) Replaced by getInverseReferenceMapping().setSetMethodName()Replaced by getInverseReferenceMapping().getAttributeAccessor()Replaced by getInverseReferenceMapping().getAttributeName()Replaced by getInverseReferenceMapping().getGetMethodName()Replaced by getInverseReferenceMapping().getSetMethodName()Replaced by getInverseReferenceMapping().setAttributeAccessor()Replaced by getInverseReferenceMapping().setAttributeName()Replaced by getInverseReferenceMapping().setGetMethodName()Replaced by getInverseReferenceMapping().setSetMethodName()since EclipseLink 2.1, partial attributes replaced by fetch groups.since EclipseLink 2.1, partial attributes replaced by fetch groups.in SDO 2.1.0.in SDO 2.1.0.in SDO 2.1.0.As of 2.6.0, replaced by configuration provided byServerPlatform.getJNDIConnectorLookupType()As of 2.6.0, replaced by configuration provided byServerPlatform.getJNDIConnectorLookupType()As of release 2.4, use addOperation(OperationModel operation) instead.ImplementDatabasePlatform.checkSequenceExists(...)instead.org.eclipse.persistence.tools.schemaframework.SequenceObjectDefinition.checkIfExist(AbstractSession) ImplementDatabasePlatform.checkSequenceExists(...)instead.org.eclipse.persistence.tools.schemaframework.TableDefinition.createIndexes(AbstractSession, Writer) ImplementDatabasePlatform.checkSequenceExists(...)instead.To be removed with no replacement.To be removed with no replacement.ImplementDatabasePlatform.checkSequenceExists(...)instead.To be removed with no replacement.
-
Deprecated ConstructorsConstructorDescriptionTranslation will not be part of the logger,
shouldTranslatewill be removedUse SequenceDefinition(String) instead.Use SequenceObjectDefinition(String) instead.Use TableSequenceDefinition(String, boolean) instead.Use UnaryTableSequenceDefinition(String, boolean) instead.Use UnaryTableSequenceDefinition(String, boolean) instead.
-
Deprecated Annotation Interface ElementsAnnotation Interface ElementDescription