No API in this release is deprecated for removal.
| Since | Deprecated Item and Description |
|---|---|
org.
use FetchMode.JOIN | |
org.
use FetchMode.SELECT | |
org.
use | |
org.
Use | |
Returns: the Bloba byte array bytes)Use | |
Returns: the Bloba byte array bytes, Session The session in which the session)Blob will be used.Use | |
Returns: the Bloba binary stream stream, int the number of bytes in the stream length)Use | |
Returns: the Bloba binary stream stream, long the number of bytes in the stream length)Use | |
Returns: the Bloba binary stream stream, long the number of bytes in the stream length, Session The session in which the session)Blob will be used.Use | |
Returns: the Bloba binary stream stream)With no direct replacement. Use | |
Returns: The createdClobThe string data string)Use | |
Returns: The createdClobThe string data string, Session The session in which the session)Clob will be used.Use | |
Returns: The createdCloba character stream reader, int the number of characters in the stream length)Use | |
Returns: The createdCloba character stream reader, long the number of characters in the stream length)Use | |
Returns: The createdCloba character stream reader, long the number of characters in the stream length, Session The session in which the session)Clob will be used.Use | |
org.
Use | |
org.
Use | |
org.
Use | |
org.
Use | |
org.
Use | |
org.
The serializableClass)java. implementor class.Use | |
org.
instead use PESSIMISTIC_FORCE_INCREMENT | |
org.
instead use PESSIMISTIC_WRITE | |
Returns: the JDBC connection in use by the Session(scheduled for removal in 4.x). Replacement depends on need; for doing direct JDBC stuff use
| |
Returns: a persistent instance or nulla persistent class clazz, Serializable an identifier id, LockMode the lock mode lockMode)LockMode parameter should be replaced with LockOptions | |
Returns: a persistent instance or nullthe entity name entityName, Serializable an identifier id, LockMode the lock mode lockMode)LockMode parameter should be replaced with LockOptions | |
Returns: the persistent instance or proxya persistent class theClass, Serializable a valid identifier of an existing persistent instance of the class id, LockMode the lock level lockMode)LockMode parameter should be replaced with LockOptions | |
Returns: the persistent instance or proxya persistent class entityName, Serializable a valid identifier of an existing persistent instance of the class id, LockMode the lock level lockMode)LockMode parameter should be replaced with LockOptions | |
org.
a persistent or transient instance object, LockMode the lock level lockMode)instead call buildLockRequest(LockMode).lock(object) | |
org.
a persistent or transient instance object, LockMode the lock level lockMode)instead call buildLockRequest(LockMode).lock(entityName, object) | |
org.
Manual reconnection is only needed in the case of
application-supplied connections, in which case the
| |
org.
a persistent or detached instance object, LockMode the lock mode to use lockMode)LockMode parameter should be replaced with LockOptions | |
org.
The entity class for which to evict data. persistentClass)Use | |
org.
The entity class for which to evict data. persistentClass, Serializable The entity id id)Use | |
org.
The name of the collection role whose regions should be evicted roleName)Use | |
org.
The name of the collection role roleName, Serializable The id of the collection owner id)Use | |
org.
The entity name for which to evict data. entityName)Use | |
org.
The entity name for which to evict data. entityName, Serializable The entity id id)Use | |
org.
The named query cache region from which to evict. cacheRegion)Use | |
org.
Use | |
org.
use @OneToOne(orphanRemoval=true) or @OneToMany(orphanRemoval=true) | |
org.
use javax.persistence.CascadeType.DETACH | |
org.
use @ElementCollection | |
org.
use MANUAL, will be removed in a subsequent release | |
org.
Use | |
org.
Use | |
org.
Deprecated as a consequence of | |
org.
Per HHH-5451 support for cglib as a bytecode provider has been deprecated. | |
org.
Per HHH-5451 support for cglib as a bytecode provider has been deprecated. | |
org.
Per HHH-5451 support for cglib as a bytecode provider has been deprecated. | |
org.
Per HHH-5451 support for cglib as a bytecode provider has been deprecated. | |
org.
Per HHH-5451 support for cglib as a bytecode provider has been deprecated. | |
org.
Per HHH-5451 support for cglib as a bytecode provider has been deprecated. | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
the name of the cache region regionName, Properties configuration settings properties)Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
the name of the cache region regionName, Properties configuration settings properties)Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
the name of the cache region regionName, Properties configuration settings properties)Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
All functionality has been moved to | |
org.
The class containing annotations annotatedClass)Deprecated as a consequence of | |
org.
The cacheable mapping file to be added. xmlFile)Deprecated as a consequence of | |
org.
The name of the file to be added. This must be in a form
useable to simply construct a xmlFile)java. instance.Deprecated as a consequence of | |
org.
The mapped class persistentClass)Deprecated as a consequence of | |
org.
The directory dir)Deprecated as a consequence of | |
org.
The DOM document doc)Deprecated as a consequence of | |
org.
a path to a file xmlFile)Deprecated as a consequence of | |
org.
a path to a file xmlFile)Deprecated as a consequence of | |
org.
a jar file jar)Deprecated as a consequence of | |
org.
java package name packageName)Deprecated as a consequence of | |
org.
The properties to add. extraProperties)Deprecated as a consequence of | |
org.
The resource name resourceName, ClassLoader The class loader to use. classLoader)Deprecated as a consequence of | |
org.
The resource name resourceName)Deprecated as a consequence of | |
org.
The url for the mapping document to be read. url)Deprecated as a consequence of | |
org.
an XML string xml)Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
The resource to use resource)Deprecated as a consequence of | |
org.
URL from which you wish to load the configuration url)Deprecated as a consequence of | |
org.
File from which you wish to load the configuration configFile)Deprecated as a consequence of | |
org.
an XML document from which you wish to load the configuration document)Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
The input stream from which to read stream, String The name to use in warning/error messages resourceName)Deprecated as a consequence of | |
org.
The dom4j document doc)Deprecated as a consequence of | |
org.
The properties to merge properties)Deprecated as a consequence of | |
org.
The name of the entity to which we shoudl associate these cache settings clazz, String The cache strategy to use concurrencyStrategy)Deprecated as a consequence of | |
org.
The name of the entity to which we should associate these cache settings clazz, String The cache strategy to use concurrencyStrategy, String The name of the cache region to use region)Deprecated as a consequence of | |
org.
The name of the collection to which we should associate these cache settings collectionRole, String The cache strategy to use concurrencyStrategy)Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
the NamingStrategy to set namingStrategy)Deprecated as a consequence of | |
org.
implementation persisterClassProvider)Deprecated as a consequence of | |
org.
The new set of properties properties)Deprecated as a consequence of | |
org.
The name of the property to set propertyName, String The new property value value)Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
Returns: True if the JDK 1.4 (JDBC3) specification forjava. nano rolling is adhered to.Starting with 3.3 Hibernate requires JDK 1.4 or higher | |
Returns: True if generated keys can be retrieved via Statement; false otherwise.Starting with 3.3 Hibernate requires JDK 1.4 or higher | |
org.
Starting with 3.3 Hibernate requires JDK 1.4 or higher | |
org.
All functionality has been moved up to | |
org.
Use | |
org.
To fix misspelling; use | |
org.
To fix misspelling; use | |
org.
Use | |
org.
Use | |
org.
as of release 3.4.0.CR2, replaced by Hibernate Search's | |
org.
as of release 3.4.0.CR2, replaced by Hibernate Search's | |
org.
a query expressed in SQL sql, String a table alias that appears inside {} in the SQL string returnAlias, Class<T> the returned persistent class returnClass)use | |
org.
a query expressed in SQL sql, String[] an array of table aliases that appear inside {} in the SQL string returnAliases, Class<T>[] the returned persistent classes returnClasses)use | |
Returns: the number of instances deletedthe query string query)consider using HQL delete statements | |
Returns: the number of instances deletedthe query string query, Object a value to be witten to a "?" placeholder in the query string. value, Type the hibernate type of value. type)consider using HQL delete statements | |
Returns: the number of instances deletedthe query string query, Object[] a list of values to be written to "?" placeholders in the query. values, Type[] a list of Hibernate types of the values types)consider using HQL delete statements | |
Returns: Collection the resulting collectiona persistent collection to filter collection, String a filter query string filter) | |
Returns: Collectiona persistent collection to filter collection, String a filter query string filter, Object a value to be witten to a "?" placeholder in the query string value, Type the hibernate type of value type)use | |
Returns: Collectiona persistent collection to filter collection, String a filter query string filter, Object[] a list of values to be written to "?" placeholders in the query values, Type[] a list of Hibernate types of the values types)use | |
Returns: a distinct list of instances (or arrays of instances)a query expressed in Hibernate's query language query) | |
Returns: a distinct list of instances (or arrays of instances)the query string query, Object a value to be bound to a "?" placeholder (JDBC IN parameter). value, Type the Hibernate type of the value type)use | |
Returns: a distinct list of instancesthe query string query, Object[] an array of values to be bound to the "?" placeholders (JDBC IN parameters). values, Type[] an array of Hibernate types of the values types)use | |
Returns: an iteratorthe query string query) | |
Returns: an iteratorthe query string query, Object a value to be witten to a "?" placeholder in the query string value, Type the hibernate type of value type)use | |
Returns: an iteratorthe query string query, Object[] a list of values to be written to "?" placeholders in the query values, Type[] a list of Hibernate types of the values types)use | |
org.
a transient instance of a persistent class object, Serializable an unused valid identifier id)declare identifier properties for all classes | |
org.
a transient instance of a persistent class object, Serializable an unused valid identifier id)declare identifier properties for all classes | |
Returns: an updated persistent instancea transient instance with state to be copied object) | |
Returns: an updated persistent instancea persistent or transient instance with state to be copied object, Serializable the identifier of the instance to copy to id)with no replacement | |
Returns: an updated persistent instancea transient instance with state to be copied object) | |
Returns: an updated persistent instancea persistent or transient instance with state to be copied object, Serializable the identifier of the instance to copy to id)with no replacement | |
org.
a detached instance containing updated state object, Serializable identifier of persistent instance id)declare identifier properties for all classes | |
org.
a detached instance containing updated state object, Serializable identifier of persistent instance id)declare identifier properties for all classes | |
org.
Use Restrictions. | |
Returns: Criterionuse | |
Returns: Criterionuse | |
Returns: Criterionuse | |
org.
Deprecated as a consequence of | |
Returns: The sequence creation commandsThe name of the sequence sequenceName)Use | |
org.
Use either Oracle9iDialect or Oracle10gDialect instead | |
org.
Use Oracle8iDialect instead. | |
org.
use | |
org.
The sql query string query, String The result-set-mapping name resultSetRef, List<String> Any specified query spaces (used for auto-flushing) querySpaces, boolean Whether the query results are cacheable cacheable, String If cacheable, the region into which to store the results cacheRegion, Integer A JDBC-level timeout to be applied timeout, Integer A JDBC-level fetch-size to be applied fetchSize, FlushMode The flush mode to use for this query flushMode, Map<K, V> parameter type map parameterTypes, boolean Does the query string represent a callable object (i.e., proc) callable)
| |
Returns: The currently enabled filters.use #getLoadQueryInfluencers instead | |
Returns: The current internal fetch profile, or null if none currently associated.use #getLoadQueryInfluencers instead | |
Returns: The filter param typeThe filter parameter name in the format
{FILTER_NAME.PARAMETER_NAME}. filterParameterName)use #getLoadQueryInfluencers instead | |
Returns: The filter parameter value.The filter parameter name in the format
{FILTER_NAME.PARAMETER_NAME}. filterParameterName)use #getLoadQueryInfluencers instead | |
org.
The internal fetch profile name to use name)use #getLoadQueryInfluencers instead | |
Returns: The LOB creator.Use | |
Returns: Value for property 'source'.Use | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
Returns: FromElement - The new FROM element.The reference to the class. path, AST The alias AST. alias)Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
Returns: The from-element assigned the given alias, or null if none.The alias by which to locate the from-element. aliasOrClassName)Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
The FROM clause to which this element belongs fromClause, FromElement The origin (LHS) of this element origin, String The alias applied to this element alias)Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
Returns: an implied join created by this from reference.Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
Returns: The FROM element.Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
Returns: AST - A single node tree.The factory. astFactory, int The node type. type, String The node text. text)silly | |
Returns: The token type name, *or* the integer value if the name could not be found.The class which defines the constant owner, int The value of the constant. value)Use #getTokenTypeName instead | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
Returns: The wrapped type.The primitive value to wrap. value, Class<T> The Java numeric type in which to wrap the value. clazz)Use the | |
Returns: The built optimizerThe optimizer type, either a short-hand name or the type, Class<T> Optimizer class name.The generated value java type returnClass, int The increment size. incrementSize)Use | |
org.
The dialect dialect)The intention is that Dialect should be required to be specified up-front and it would then get ctor injected. | |
org.
Obtain connections from | |
org.
use | |
org.
Should not be used anymore. | |
org.
The owner owner)Inject the owner into constructor. | |
org.
Use | |
org.
Use | |
org.
The entity to inject with the identifier value. entity, Serializable The value to be injected as the identifier. id, EntityMode The entity mode entityMode)Use | |
org.
Use | |
org.
The entity instance entity, Serializable The currently assigned identifier value. currentId, Object The currently assigned version value. currentVersion, EntityMode The entity mode represented by the entity instance. entityMode)Use | |
org.
The entity to inject with the identifier value. entity, Serializable The value to be injected as the identifier. id, EntityMode The entity mode entityMode)Use | |
org.
is the name of the attribute whose value is to be added or
updated name, String is the attribute's value value)
| |
org.
is the fully qualified name of the attribute whose value is to
be added or updated qName, String is the attribute's value value)
| |
org.
Per HHH-5451 support for cglib as a bytecode provider has been deprecated. | |
org.
Deprecated as a consequence of | |
org.
Per HHH-5451 support for cglib as a bytecode provider has been deprecated. | |
org.
Per HHH-5451 support for cglib as a bytecode provider has been deprecated. | |
Returns: this objectInstead use setLockOptions | |
Returns: The rendered ORDER BY template.The order-by fragment to render. orderByFragment, Dialect The SQL dialect being used. dialect, SQLFunctionRegistry The SQL function registry functionRegistry)Use | |
org.
Only intended for annotations usage; use | |
org.
The configuration from which to build a schema export. cfg, Properties The properties from which to configure connectivity etc. properties)properties may be specified via the Configuration object | |
Returns: thisThe import file name. filename) | |
org.
Per HHH-5451 support for cglib as a bytecode provider has been deprecated; use
| |
org.
is the name of the attribute whose value is to be added or
updated name, String is the attribute's value value)
| |
org.
is the fully qualified name of the attribute whose value is to
be added or updated qName, String is the attribute's value value)
| |
Returns: The identifier value.The entity from which to extract the identifier value. entity)Use | |
Returns: The instantiated entity.The identifier value for the entity to be instantiated. id)Use | |
org.
The entity for which to reset the id/version values entity, Serializable The identifier value to inject into the entity. currentId, Object The version value to inject into the entity. currentVersion)Use | |
org.
The entity to inject with the identifier value. entity, Serializable The value to be injected as the identifier. id)Use | |
org.
Use the | |
org.
Use the | |
org.
Use the | |
org.
Use the | |
org.
Use | |
org.
Use | |
org.
Use the | |
org.
Pass the true/false values into constructor instead. | |
org.
Pass the true/false values into constructor instead. | |
org.
Use the | |
org.
Use the | |
org.
Use the | |
org.
Deprecated as a consequence of | |
org.
Use | |
org.
Use | |
org.
Use | |
org.
Only for use temporary use by | |
org.
Only for use temporary use by | |
Returns: Objecta JDBC result set rs, String[] the column names names, Object the containing entity owner)SessionImplementor will be added as an argument in a future version (see HHH-5968) | |
org.
a JDBC prepared statement st, Object the object to write value, int statement parameter index index)SessionImplementor will be added as an argument in a future version (see HHH-5968) | |
org.
The warning to log warning)Use | |
org.
The warning to log warning, String The prologue message message)Use |