Deprecated API
Contents
-
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 ClassesClassDescriptionUse
EntityResourceinstead.UsePersistenceResourceinstead.UsePersistenceUnitResourceinstead.UseQueryResourceinstead.UseSingleResultQueryResourceinstead.
-
Deprecated Annotation Types
-
Deprecated FieldsFieldDescriptionsince 2.6 replaced by PERSISTENCE_CONTEXT_COMMIT_ORDERreplaced by
PersistenceUnitProperties.ID_VALIDATIONproperty with value "NULL".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_ORDERAs 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 an empty string as a default sequence table name instead, that triggers usage of platform.getDefaultSequenceTableName() when the sequence is connected.
-
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.0Replaced 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()
-
Deprecated Constructors
-
Deprecated Annotation Type Elements