Top Deprecated
Hibernate Core 3.6.10.Final

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
org.hibernate.FetchMode.LAZY

use FetchMode.SELECT

org.hibernate.Hibernate.any(Type metaType, Type identifierType)

Use TypeHelper#any instead.

Returns:

the Blob
org.hibernate.Hibernate.createBlob
(byte[]
a byte array
bytes
)

Use LobHelper#createBlob(byte[]) instead.

Returns:

the Blob
org.hibernate.Hibernate.createBlob
(byte[]
a byte array
bytes
,
Session
The session in which the Blob will be used.
session
)

Use LobHelper#createBlob(byte[]) instead on the LobHelper obtained from Session#getLobHelper()

Returns:

the Blob
org.hibernate.Hibernate.createBlob
(InputStream
a binary stream
stream
,
int
the number of bytes in the stream
length
)

Use LobHelper#createBlob(InputStream, long) instead.

Returns:

the Blob
org.hibernate.Hibernate.createBlob
(InputStream
a binary stream
stream
,
long
the number of bytes in the stream
length
)

Use LobHelper#createBlob(InputStream, long) instead.

Returns:

the Blob
org.hibernate.Hibernate.createBlob
(InputStream
a binary stream
stream
,
long
the number of bytes in the stream
length
,
Session
The session in which the Blob will be used.
session
)

Use LobHelper#createBlob(InputStream, long) instead.

Returns:

the Blob
org.hibernate.Hibernate.createBlob
(InputStream
a binary stream
stream
)

With no direct replacement. Use createBlob(InputStream, long) instead, passing in the length

Returns:

The created Clob
org.hibernate.Hibernate.createClob
(String
The string data
string
)

Use LobHelper#createClob(String) instead

Returns:

The created Clob
org.hibernate.Hibernate.createClob
(String
The string data
string
,
Session
The session in which the Clob will be used.
session
)

Use LobHelper#createClob(String) instead on the LobHelper obtained from Session#getLobHelper()

Returns:

The created Clob
org.hibernate.Hibernate.createClob
(Reader
a character stream
reader
,
int
the number of characters in the stream
length
)

Use LobHelper#createClob(Reader, long) instead

Returns:

The created Clob
org.hibernate.Hibernate.createClob
(Reader
a character stream
reader
,
long
the number of characters in the stream
length
)

Use LobHelper#createClob(Reader, long) instead

Returns:

The created Clob
org.hibernate.Hibernate.createClob
(Reader
a character stream
reader
,
long
the number of characters in the stream
length
,
Session
The session in which the Clob will be used.
session
)

Use LobHelper#createClob(Reader, long) instead

org.hibernate.Hibernate.custom(Class<T> userTypeClass)

Use TypeHelper#custom instead; see http://opensource.atlassian.com/projects/hibernate/browse/HHH-5182

org.hibernate.Hibernate.custom(Class<T> userTypeClass, String[] parameterNames, String[] parameterValues)

Use TypeHelper#custom instead; see http://opensource.atlassian.com/projects/hibernate/browse/HHH-5182

org.hibernate.Hibernate.custom(Class<T> userTypeClass, Properties parameters)

Use TypeHelper#custom instead; see http://opensource.atlassian.com/projects/hibernate/browse/HHH-5182

org.hibernate.Hibernate.entity(Class<T> persistentClass)

Use TypeHelper#entity instead; see http://opensource.atlassian.com/projects/hibernate/browse/HHH-5182

org.hibernate.Hibernate.entity(String entityName)

Use TypeHelper#entity instead; see http://opensource.atlassian.com/projects/hibernate/browse/HHH-5182

org.hibernate.LockMode.FORCE

instead use PESSIMISTIC_FORCE_INCREMENT

org.hibernate.LockMode.UPGRADE

instead use PESSIMISTIC_WRITE

Returns:

the JDBC connection in use by the Session
org.hibernate.Session.connection
()

(scheduled for removal in 4.x). Replacement depends on need; for doing direct JDBC stuff use doWork; for opening a 'temporary Session' use (TBD).

Returns:

a persistent instance or null
org.hibernate.Session.get
(Class<T>
a persistent class
clazz
,
Serializable
an identifier
id
,
LockMode
the lock mode
lockMode
)

LockMode parameter should be replaced with LockOptions

Returns:

a persistent instance or null
org.hibernate.Session.get
(String
the entity name
entityName
,
Serializable
an identifier
id
,
LockMode
the lock mode
lockMode
)

LockMode parameter should be replaced with LockOptions

Returns:

the persistent instance or proxy
org.hibernate.Session.load
(Class<T>
a 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 proxy
org.hibernate.Session.load
(String
a 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.hibernate.Session.lock(Object
a persistent or transient instance
object
,
LockMode
the lock level
lockMode
)

instead call buildLockRequest(LockMode).lock(object)

org.hibernate.Session.lock(String entityName, Object
a persistent or transient instance
object
,
LockMode
the lock level
lockMode
)

instead call buildLockRequest(LockMode).lock(entityName, object)

org.hibernate.Session.reconnect()

Manual reconnection is only needed in the case of application-supplied connections, in which case the reconnect(java.sql.Connection) for should be used.

org.hibernate.Session.refresh(Object
a persistent or detached instance
object
,
LockMode
the lock mode to use
lockMode
)

LockMode parameter should be replaced with LockOptions

org.hibernate.SessionFactory.evict(Class<T>
The entity class for which to evict data.
persistentClass
)

Use Cache#evictEntityRegion(Class) accessed through getCache() instead.

org.hibernate.SessionFactory.evict(Class<T>
The entity class for which to evict data.
persistentClass
,
Serializable
The entity id
id
)

Use Cache#containsEntity(Class, Serializable) accessed through getCache() instead.

org.hibernate.SessionFactory.evictCollection(String
The name of the collection role whose regions should be evicted
roleName
)

Use Cache#evictCollectionRegion(String) accessed through getCache() instead.

org.hibernate.SessionFactory.evictCollection(String
The name of the collection role
roleName
,
Serializable
The id of the collection owner
id
)

Use Cache#evictCollection(String, Serializable) accessed through getCache() instead.

org.hibernate.SessionFactory.evictEntity(String
The entity name for which to evict data.
entityName
)

Use Cache#evictEntityRegion(String) accessed through getCache() instead.

org.hibernate.SessionFactory.evictEntity(String
The entity name for which to evict data.
entityName
,
Serializable
The entity id
id
)

Use Cache#evictEntity(String, Serializable) accessed through getCache() instead.

org.hibernate.SessionFactory.evictQueries(String
The named query cache region from which to evict.
cacheRegion
)

Use Cache#evictQueryRegion(String) accessed through getCache() instead.

org.hibernate.annotations.CascadeType.DELETE_ORPHAN

use @OneToOne(orphanRemoval=true) or @OneToMany(orphanRemoval=true)

org.hibernate.annotations.CascadeType.EVICT

use javax.persistence.CascadeType.DETACH

org.hibernate.annotations.FlushModeType.NEVER

use MANUAL, will be removed in a subsequent release

org.hibernate.annotations.MapKey

Use javax.persistence.MapKeyColumn This is the default behavior for Map properties marked as @OneToMany, @ManyToMany or @ElementCollection

org.hibernate.annotations.MapKeyManyToMany

Use javax.persistence.MapKeyJoinColumn javax.persistence.MapKeyJoinColumns This is the default behavior for Map properties marked as @OneToMany, @ManyToMany or @ElementCollection

org.hibernate.bytecode.buildtime.CGLIBInstrumenter.provider

Deprecated as a consequence of BytecodeProviderImpl being deprecated. See corresponding docs for further information.

org.hibernate.bytecode.cglib.AccessOptimizerAdapter

Per HHH-5451 support for cglib as a bytecode provider has been deprecated.

org.hibernate.bytecode.cglib.BytecodeProviderImpl

Per HHH-5451 support for cglib as a bytecode provider has been deprecated.

org.hibernate.bytecode.cglib.CglibClassTransformer

Per HHH-5451 support for cglib as a bytecode provider has been deprecated.

org.hibernate.bytecode.cglib.InstantiationOptimizerAdapter

Per HHH-5451 support for cglib as a bytecode provider has been deprecated.

org.hibernate.bytecode.cglib.ProxyFactoryFactoryImpl

Per HHH-5451 support for cglib as a bytecode provider has been deprecated.

org.hibernate.bytecode.cglib.ReflectionOptimizerImpl

Per HHH-5451 support for cglib as a bytecode provider has been deprecated.

org.hibernate.bytecode.cglib.ReflectionOptimizerImpl.ReflectionOptimizerImpl(InstantiationOptimizerAdapter instantiationOptimizer, AccessOptimizerAdapter accessOptimizer)

Deprecated as a consequence of InstantiationOptimizerAdapter and AccessOptimizerAdapter being deprecated. See corresponding docs for further information.

org.hibernate.bytecode.cglib.ReflectionOptimizerImpl.accessOptimizer

Deprecated as a consequence of AccessOptimizerAdapter being deprecated. See corresponding docs for further information.

org.hibernate.bytecode.cglib.ReflectionOptimizerImpl.instantiationOptimizer

Deprecated as a consequence of InstantiationOptimizerAdapter being deprecated. See corresponding docs for further information.

org.hibernate.cache.AbstractJndiBoundCacheProvider

Deprecated as a consequence of CacheProvider being deprecated.

org.hibernate.cache.CacheConcurrencyStrategy.getCache()

Deprecated as a consequence of Cache being deprecated. See corresponding docs for further information.

org.hibernate.cache.CacheConcurrencyStrategy.setCache(Cache cache)

Deprecated as a consequence of Cache being deprecated. See corresponding docs for further information.

org.hibernate.cache.CacheProvider.buildCache(String
the name of the cache region
regionName
,
Properties
configuration settings
properties
)

Deprecated as a consequence of Cache being deprecated. See corresponding docs for further information.

org.hibernate.cache.HashtableCache

Deprecated as a consequence of Cache being deprecated.

org.hibernate.cache.HashtableCacheProvider

Deprecated as a consequence of CacheProvider being deprecated.

org.hibernate.cache.HashtableCacheProvider.buildCache(String
the name of the cache region
regionName
,
Properties
configuration settings
properties
)

Deprecated as a consequence of Cache being deprecated. See corresponding docs for further information.

org.hibernate.cache.NoCacheProvider

Deprecated as a consequence of CacheProvider being deprecated.

org.hibernate.cache.NoCacheProvider.buildCache(String
the name of the cache region
regionName
,
Properties
configuration settings
properties
)

Deprecated as a consequence of Cache being deprecated. See corresponding docs for further information.

org.hibernate.cache.NonstrictReadWriteCache

Deprecated as a consequence of CacheConcurrencyStrategy being deprecated.

org.hibernate.cache.NonstrictReadWriteCache.cache

Deprecated as a consequence of Cache being deprecated. See corresponding docs for further information.

org.hibernate.cache.NonstrictReadWriteCache.getCache()

Deprecated as a consequence of Cache being deprecated. See corresponding docs for further information.

org.hibernate.cache.NonstrictReadWriteCache.setCache(Cache cache)

Deprecated as a consequence of Cache being deprecated. See corresponding docs for further information.

org.hibernate.cache.OptimisticCache

Deprecated as a consequence of Cache being deprecated.

org.hibernate.cache.ReadOnlyCache

Deprecated as a consequence of CacheConcurrencyStrategy being deprecated.

org.hibernate.cache.ReadOnlyCache.cache

Deprecated as a consequence of Cache being deprecated. See corresponding docs for further information.

org.hibernate.cache.ReadOnlyCache.getCache()

Deprecated as a consequence of Cache being deprecated. See corresponding docs for further information.

org.hibernate.cache.ReadOnlyCache.setCache(Cache cache)

Deprecated as a consequence of Cache being deprecated. See corresponding docs for further information.

org.hibernate.cache.ReadWriteCache

Deprecated as a consequence of CacheConcurrencyStrategy being deprecated.

org.hibernate.cache.ReadWriteCache.cache

Deprecated as a consequence of Cache being deprecated. See corresponding docs for further information.

org.hibernate.cache.ReadWriteCache.getCache()

Deprecated as a consequence of Cache being deprecated. See corresponding docs for further information.

org.hibernate.cache.ReadWriteCache.setCache(Cache cache)

Deprecated as a consequence of Cache being deprecated. See corresponding docs for further information.

org.hibernate.cache.TransactionalCache

Deprecated as a consequence of CacheConcurrencyStrategy being deprecated.

org.hibernate.cache.TransactionalCache.cache

Deprecated as a consequence of Cache being deprecated. See corresponding docs for further information.

org.hibernate.cache.TransactionalCache.getCache()

Deprecated as a consequence of Cache being deprecated. See corresponding docs for further information.

org.hibernate.cache.TransactionalCache.setCache(Cache cache)

Deprecated as a consequence of Cache being deprecated. See corresponding docs for further information.

org.hibernate.cache.impl.bridge.BaseGeneralDataRegionAdapter.BaseGeneralDataRegionAdapter(Cache underlyingCache, Settings settings)

Deprecated as a consequence of Cache being deprecated. See corresponding docs for further information.

org.hibernate.cache.impl.bridge.BaseRegionAdapter.BaseRegionAdapter(Cache underlyingCache, Settings settings)

Deprecated as a consequence of Cache being deprecated. See corresponding docs for further information.

org.hibernate.cache.impl.bridge.BaseRegionAdapter.underlyingCache

Deprecated as a consequence of Cache being deprecated. See corresponding docs for further information.

org.hibernate.cache.impl.bridge.BaseTransactionalDataRegionAdapter.BaseTransactionalDataRegionAdapter(Cache underlyingCache, Settings settings, CacheDataDescription metadata)

Deprecated as a consequence of Cache being deprecated. See corresponding docs for further information.

org.hibernate.cache.impl.bridge.CollectionAccessStrategyAdapter.CollectionAccessStrategyAdapter(CollectionRegion region, CacheConcurrencyStrategy ccs, Settings settings)

Deprecated as a consequence of CacheConcurrencyStrategy being deprecated. See corresponding docs for further information.

org.hibernate.cache.impl.bridge.CollectionAccessStrategyAdapter.ccs

Deprecated as a consequence of CacheConcurrencyStrategy being deprecated. See corresponding docs for further information.

org.hibernate.cache.impl.bridge.CollectionRegionAdapter.CollectionRegionAdapter(Cache underlyingCache, Settings settings, CacheDataDescription metadata)

Deprecated as a consequence of Cache being deprecated. See corresponding docs for further information.

org.hibernate.cache.impl.bridge.EntityAccessStrategyAdapter.EntityAccessStrategyAdapter(EntityRegion region, CacheConcurrencyStrategy ccs, Settings settings)

Deprecated as a consequence of CacheConcurrencyStrategy being deprecated. See corresponding docs for further information.

org.hibernate.cache.impl.bridge.EntityAccessStrategyAdapter.ccs

Deprecated as a consequence of CacheConcurrencyStrategy being deprecated. See corresponding docs for further information.

org.hibernate.cache.impl.bridge.EntityRegionAdapter.EntityRegionAdapter(Cache underlyingCache, Settings settings, CacheDataDescription metadata)

Deprecated as a consequence of Cache being deprecated. See corresponding docs for further information.

org.hibernate.cache.impl.bridge.QueryResultsRegionAdapter.QueryResultsRegionAdapter(Cache underlyingCache, Settings settings)

Deprecated as a consequence of Cache being deprecated. See corresponding docs for further information.

org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.cacheProvider

Deprecated as a consequence of CacheProvider being deprecated. See corresponding docs for further information.

org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.getCacheProvider()

Deprecated as a consequence of CacheProvider being deprecated. See corresponding docs for further information.

org.hibernate.cache.impl.bridge.TimestampsRegionAdapter.TimestampsRegionAdapter(Cache underlyingCache, Settings settings)

Deprecated as a consequence of Cache being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration

All functionality has been moved to Configuration

org.hibernate.cfg.AnnotationConfiguration.addAnnotatedClass(Class<T>
The class containing annotations
annotatedClass
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.addCacheableFile(File
The cacheable mapping file to be added.
xmlFile
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.addCacheableFile(String
The name of the file to be added. This must be in a form useable to simply construct a java.io.File instance.
xmlFile
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.addClass(Class<T>
The mapped class
persistentClass
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.addDirectory(File
The directory
dir
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.addDocument(Document
The DOM document
doc
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.addFile(String
a path to a file
xmlFile
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.addFile(File
a path to a file
xmlFile
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.addJar(File
a jar file
jar
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.addPackage(String
java package name
packageName
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.addProperties(Properties
The properties to add.
extraProperties
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.addResource(String
The resource name
resourceName
,
ClassLoader
The class loader to use.
classLoader
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.addResource(String
The resource name
resourceName
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.addURL(URL
The url for the mapping document to be read.
url
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.addXML(String
an XML string
xml
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.configure()

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.configure(String
The resource to use
resource
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.configure(URL
URL from which you wish to load the configuration
url
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.configure(File
File from which you wish to load the configuration
configFile
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.configure(Document
an XML document from which you wish to load the configuration
document
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.createExtendedMappings()

Deprecated as a consequence of ExtendedMappings being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.doConfigure(InputStream
The input stream from which to read
stream
,
String
The name to use in warning/error messages
resourceName
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.doConfigure(Document
The dom4j document
doc
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.mergeProperties(Properties
The properties to merge
properties
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.setCacheConcurrencyStrategy(String
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 AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.setCacheConcurrencyStrategy(String
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 AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.setCollectionCacheConcurrencyStrategy(String
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 AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.setInterceptor(Interceptor
The Interceptor to use for the built SessionFactory.
interceptor
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.setNamingStrategy(NamingStrategy
the NamingStrategy to set
namingStrategy
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.setPersisterClassProvider(PersisterClassProvider
implementation
persisterClassProvider
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.setProperties(Properties
The new set of properties
properties
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.AnnotationConfiguration.setProperty(String
The name of the property to set
propertyName
,
String
The new property value
value
)

Deprecated as a consequence of AnnotationConfiguration being deprecated. See corresponding docs for further information.

org.hibernate.cfg.Configuration.MappingsImpl

Deprecated as a consequence of ExtendedMappings being deprecated. See corresponding docs for further information.

Returns:

True if the JDK 1.4 (JDBC3) specification for java.sql.Timestamp nano rolling is adhered to.
org.hibernate.cfg.Environment.jvmHasJDK14Timestamp
()

Starting with 3.3 Hibernate requires JDK 1.4 or higher

Returns:

True if generated keys can be retrieved via Statement; false otherwise.
org.hibernate.cfg.Environment.jvmSupportsGetGeneratedKeys
()

Starting with 3.3 Hibernate requires JDK 1.4 or higher

Returns:

True if java.util.LinkedHashSet and java.util.LinkedHashMap are available.
org.hibernate.cfg.Environment.jvmSupportsLinkedHashCollections
()

Starting with 3.3 Hibernate requires JDK 1.4 or higher

org.hibernate.cfg.ExtendedMappings

All functionality has been moved up to Mappings

org.hibernate.cfg.annotations.TableBinder.fillTable(String schema, String catalog, String realTableName, String logicalName, boolean isAbstract, List<E> uniqueConstraints, String constraints, Table denormalizedSuperTable, Mappings mappings)

Use buildAndFillTable instead.

org.hibernate.classic.Session.createSQLQuery(String
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.hibernate.SQLQuery#addRoot or org.hibernate.SQLQuery#addEntity variants instead to define the alias/class

org.hibernate.classic.Session.createSQLQuery(String
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 org.hibernate.SQLQuery#addRoot or org.hibernate.SQLQuery#addEntity variants instead to define the aliases/classes

Returns:

the number of instances deleted
org.hibernate.classic.Session.delete
(String
the query string
query
)

consider using HQL delete statements

Returns:

the number of instances deleted
org.hibernate.classic.Session.delete
(String
the 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 deleted
org.hibernate.classic.Session.delete
(String
the 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 collection
org.hibernate.classic.Session.filter
(Object
a persistent collection to filter
collection
,
String
a filter query string
filter
)

use createFilter(Object, String).Query#list

Returns:

Collection
org.hibernate.classic.Session.filter
(Object
a 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 createFilter(Object, String).setXYZ.Query#list

Returns:

Collection
org.hibernate.classic.Session.filter
(Object
a 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 createFilter(Object, String).setXYZ.Query#list

Returns:

a distinct list of instances (or arrays of instances)
org.hibernate.classic.Session.find
(String
a query expressed in Hibernate's query language
query
)

use createQuery.Query#list()

Returns:

a distinct list of instances (or arrays of instances)
org.hibernate.classic.Session.find
(String
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 createQuery.setXYZ.Query#list()

Returns:

a distinct list of instances
org.hibernate.classic.Session.find
(String
the 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 createQuery.setXYZ.Query#list()

Returns:

an iterator
org.hibernate.classic.Session.iterate
(String
the query string
query
)

use createQuery.Query#iterate

Returns:

an iterator
org.hibernate.classic.Session.iterate
(String
the 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 createQuery.setXYZ.Query#iterate

Returns:

an iterator
org.hibernate.classic.Session.iterate
(String
the 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 createQuery.setXYZ.Query#iterate

org.hibernate.classic.Session.save(Object
a transient instance of a persistent class
object
,
Serializable
an unused valid identifier
id
)

declare identifier properties for all classes

org.hibernate.classic.Session.save(String entityName, Object
a transient instance of a persistent class
object
,
Serializable
an unused valid identifier
id
)

declare identifier properties for all classes

Returns:

an updated persistent instance
org.hibernate.classic.Session.saveOrUpdateCopy
(Object
a transient instance with state to be copied
object
)

use org.hibernate.Session#merge(Object)

Returns:

an updated persistent instance
org.hibernate.classic.Session.saveOrUpdateCopy
(Object
a 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 instance
org.hibernate.classic.Session.saveOrUpdateCopy
(String entityName, Object
a transient instance with state to be copied
object
)

use org.hibernate.Session#merge(String, Object)

Returns:

an updated persistent instance
org.hibernate.classic.Session.saveOrUpdateCopy
(String entityName, Object
a persistent or transient instance with state to be copied
object
,
Serializable
the identifier of the instance to copy to
id
)

with no replacement

org.hibernate.classic.Session.update(Object
a detached instance containing updated state
object
,
Serializable
identifier of persistent instance
id
)

declare identifier properties for all classes

org.hibernate.classic.Session.update(String entityName, Object
a detached instance containing updated state
object
,
Serializable
identifier of persistent instance
id
)

declare identifier properties for all classes

org.hibernate.dialect.DataDirectOracle9Dialect

Deprecated as a consequence of Oracle9Dialect being deprecated.

Returns:

The sequence creation commands
org.hibernate.dialect.Dialect.getCreateSequenceStrings
(String
The name of the sequence
sequenceName
)

Use getCreateSequenceString(String, int, int) instead

org.hibernate.dialect.Oracle9Dialect

Use either Oracle9iDialect or Oracle10gDialect instead

org.hibernate.dialect.OracleDialect

Use Oracle8iDialect instead.

org.hibernate.engine.NamedSQLQueryDefinition.NamedSQLQueryDefinition(String
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.
org.hibernate.engine.SessionImplementor.getEnabledFilters
()

use #getLoadQueryInfluencers instead

Returns:

The current internal fetch profile, or null if none currently associated.
org.hibernate.engine.SessionImplementor.getFetchProfile
()

use #getLoadQueryInfluencers instead

Returns:

The filter param type
org.hibernate.engine.SessionImplementor.getFilterParameterType
(String
The filter parameter name in the format {FILTER_NAME.PARAMETER_NAME}.
filterParameterName
)

use #getLoadQueryInfluencers instead

Returns:

The filter parameter value.
org.hibernate.engine.SessionImplementor.getFilterParameterValue
(String
The filter parameter name in the format {FILTER_NAME.PARAMETER_NAME}.
filterParameterName
)

use #getLoadQueryInfluencers instead

org.hibernate.engine.SessionImplementor.setFetchProfile(String
The internal fetch profile name to use
name
)

use #getLoadQueryInfluencers instead

Returns:

Value for property 'source'.
org.hibernate.event.AbstractPreDatabaseOperationEvent.getSource
()

Use getSession instead

org.hibernate.hql.ast.HqlSqlWalker.WithClauseVisitor.WithClauseVisitor(FromElement fromElement)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.HqlSqlWalker.WithClauseVisitor.applyParameterSpecifications(ParameterContainer parameterContainer)

Deprecated as a consequence of ParameterContainer being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.HqlSqlWalker.WithClauseVisitor.getReferencedFromElement()

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.HqlSqlWalker.WithClauseVisitor.joinFragment

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.HqlSqlWalker.WithClauseVisitor.referencedFromElement

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.HqlSqlWalker.generateSyntheticDotNodeForNonQualifiedPropertyRef(AST property, FromElement fromElement)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.HqlSqlWalker.handleWithFragment(FromElement fromElement, AST hqlWithNode)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.AbstractSelectExpression.getFromElement()

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.ComponentJoin

Deprecated as a consequence of FromElement being deprecated.

org.hibernate.hql.ast.tree.ComponentJoin.ComponentFromElementType.ComponentFromElementType(FromElement fromElement)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.ComponentJoin.ComponentJoin(FromClause fromClause, FromElement origin, String alias, String componentPath, ComponentType componentType)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.ConstructorNode.getDataType()

(tell clover to ignore this method)

org.hibernate.hql.ast.tree.ConstructorNode.getFromElement()

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.DotNode.getImpliedJoin()

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.DotNode.impliedJoin

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.DotNode.setImpliedJoin(FromElement elem)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromClause.addCollectionJoinFromElementByPath(String path, FromElement destination)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromClause.addDuplicateAlias(String alias, FromElement element)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

Returns:

FromElement - The new FROM element.
org.hibernate.hql.ast.tree.FromClause.addFromElement
(String
The reference to the class.
path
,
AST
The alias AST.
alias
)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromClause.addImpliedFromElement(FromElement element)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromClause.addJoinByPathMap(String path, FromElement destination)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromClause.findCollectionJoin(String path)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromClause.findFromElementBySqlAlias(String sqlAlias)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromClause.findFromElementByUserOrSqlAlias(String userAlias, String sqlAlias)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromClause.findIntendedAliasedFromElementBasedOnCrazyJPARequirements(String specifiedAlias)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromClause.findJoinByPath(String path)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromClause.findJoinByPathLocal(String path)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

Returns:

The from-element assigned the given alias, or null if none.
org.hibernate.hql.ast.tree.FromClause.getFromElement
(String
The alias by which to locate the from-element.
aliasOrClassName
)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromClause.getFromElement()

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromClause.promoteJoin(FromElement elem)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromClause.registerFromElement(FromElement element)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElement

Deprecated as a consequence of ParameterContainer being deprecated.

org.hibernate.hql.ast.tree.FromElement.FromElement(FromClause
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 FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElement.addDestination(FromElement fromElement)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElement.getOrigin()

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElement.getRealOrigin()

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElement.origin

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElement.setOrigin(FromElement origin, boolean manyToMany)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElementFactory.FromElementFactory(FromClause fromClause, FromElement origin, String path)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElementFactory.FromElementFactory(FromClause fromClause, FromElement origin, String path, String classAlias, String[] columns, boolean implied)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElementFactory.addFromElement()

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElementFactory.createAndAddFromElement(String className, String classAlias, EntityPersister entityPersister, EntityType type, String tableAlias)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElementFactory.createCollection(QueryableCollection queryableCollection, String role, int joinType, boolean fetchFlag, boolean indexed)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElementFactory.createCollectionElementsJoin(QueryableCollection queryableCollection, String collectionName)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElementFactory.createCollectionJoin(JoinSequence collectionJoinSequence, String tableAlias)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElementFactory.createComponentJoin(ComponentType type)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElementFactory.createElementJoin(QueryableCollection queryableCollection)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElementFactory.createEntityAssociation(String role, String roleAlias, int joinType)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElementFactory.createEntityJoin(String entityClass, String tableAlias, JoinSequence joinSequence, boolean fetchFlag, boolean inFrom, EntityType type)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElementFactory.createFromElement(EntityPersister entityPersister)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElementFactory.createFromElementInSubselect(String path, String pathAlias, FromElement parentFromElement, String classAlias)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElementFactory.createJoin(String entityClass, String tableAlias, JoinSequence joinSequence, EntityType type, boolean manyToMany)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElementFactory.createManyToMany(String role, String associatedEntityName, String roleAlias, Queryable entityPersister, EntityType type, int joinType)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElementFactory.evaluateFromElementPath(String path, String classAlias)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElementFactory.initializeAndAddFromElement(FromElement element, String className, String classAlias, EntityPersister entityPersister, EntityType type, String tableAlias)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElementFactory.initializeJoin(String path, FromElement destination, JoinSequence joinSequence, String[] columns, FromElement origin, boolean manyToMany)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElementFactory.origin

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElementType.FromElementType(FromElement fromElement, EntityPersister persister, EntityType entityType)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElementType.FromElementType(FromElement fromElement)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromElementType.fromElement

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromReferenceNode.fromElement

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromReferenceNode.getFromElement()

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

Returns:

an implied join created by this from reference.
org.hibernate.hql.ast.tree.FromReferenceNode.getImpliedJoin
()

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.FromReferenceNode.setFromElement(FromElement fromElement)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.IdentNode.getNakedPropertyType(FromElement fromElement)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.IdentNode.locateSingleFromElement()

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.ImpliedFromElement

Deprecated as a consequence of FromElement being deprecated.

org.hibernate.hql.ast.tree.MethodNode.fromElement

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.MethodNode.getFromElement()

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.QueryNode.getFromElement()

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.SelectClause.addCollectionFromElement(FromElement fromElement)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.SelectClause.renderNonScalarIdentifiers(FromElement fromElement, int nonscalarSize, int j, SelectExpression expr, ASTAppender appender)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.SelectClause.renderNonScalarProperties(ASTAppender appender, FromElement fromElement, int nonscalarSize, int k)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

Returns:

The FROM element.
org.hibernate.hql.ast.tree.SelectExpression.getFromElement
()

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.SqlFragment

Deprecated as a consequence of ParameterContainer being deprecated.

org.hibernate.hql.ast.tree.SqlFragment.fromElement

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.SqlFragment.getFromElement()

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.tree.SqlFragment.setFromElement(FromElement fromElement)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

Returns:

AST - A single node tree.
org.hibernate.hql.ast.util.ASTUtil.create
(ASTFactory
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.
org.hibernate.hql.ast.util.ASTUtil.getConstantName
(Class<T>
The class which defines the constant
owner
,
int
The value of the constant.
value
)

Use #getTokenTypeName instead

org.hibernate.hql.ast.util.ColumnHelper.ColumnHelper()

(tell clover to filter this out)

org.hibernate.hql.ast.util.JoinProcessor.addJoinNodes(QueryNode query, JoinSequence join, FromElement fromElement)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.util.JoinProcessor.processDynamicFilterParameters(final String sqlFragment, final ParameterContainer container, final HqlSqlWalker walker)

Deprecated as a consequence of ParameterContainer being deprecated. See corresponding docs for further information.

org.hibernate.hql.ast.util.SyntheticAndFactory.addWhereFragment(JoinFragment joinFragment, String whereFragment, QueryNode query, FromElement fromElement, HqlSqlWalker hqlSqlWalker)

Deprecated as a consequence of FromElement being deprecated. See corresponding docs for further information.

Returns:

The wrapped type.
org.hibernate.id.IdentifierGeneratorHelper.createNumber
(long
The primitive value to wrap.
value
,
Class<T>
The Java numeric type in which to wrap the value.
clazz
)

Use the holders instead.

Returns:

The built optimizer
org.hibernate.id.enhanced.OptimizerFactory.buildOptimizer
(String
The optimizer type, either a short-hand name or the Optimizer class name.
type
,
Class<T>
The generated value java type
returnClass
,
int
The increment size.
incrementSize
)

Use buildOptimizer(String, Class, int, long) instead

org.hibernate.id.factory.IdentifierGeneratorFactory.setDialect(Dialect
The dialect
dialect
)

The intention is that Dialect should be required to be specified up-front and it would then get ctor injected.

org.hibernate.lob.ReaderInputStream

Should not be used anymore.

org.hibernate.mapping.Collection.setOwner(PersistentClass
The owner
owner
)

Inject the owner into constructor.

org.hibernate.metadata.ClassMetadata.setIdentifier(Object
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 setIdentifier(Object, Serializable, SessionImplementor) instead.

org.hibernate.persister.entity.EntityPersister.resetIdentifier(Object
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 resetIdentifier(Object, Serializable, Object, SessionImplementor) instead

org.hibernate.persister.entity.EntityPersister.setIdentifier(Object
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 setIdentifier(Object, Serializable, SessionImplementor) instead.

org.hibernate.proxy.dom4j.Dom4jProxy.setAttributeValue(String
is the name of the attribute whose value is to be added or updated
name
,
String
is the attribute's value
value
)

org.hibernate.proxy.dom4j.Dom4jProxy.setAttributeValue(QName
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.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer

Per HHH-5451 support for cglib as a bytecode provider has been deprecated.

org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyInstance(Class<T> factory, CGLIBLazyInitializer instance)

Deprecated as a consequence of CGLIBLazyInitializer being deprecated. See corresponding docs for further information.

org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory

Per HHH-5451 support for cglib as a bytecode provider has been deprecated.

org.hibernate.proxy.pojo.cglib.SerializableProxy

Per HHH-5451 support for cglib as a bytecode provider has been deprecated.

Returns:

LockMode
org.hibernate.sql.Select.getLockMode
()

Instead use getLockOptions

Returns:

this object
org.hibernate.sql.Select.setLockMode
(LockMode lockMode)

Instead use setLockOptions

Returns:

The rendered ORDER BY template.
org.hibernate.sql.Template.renderOrderByStringTemplate
(String
The order-by fragment to render.
orderByFragment
,
Dialect
The SQL dialect being used.
dialect
,
SQLFunctionRegistry
The SQL function registry
functionRegistry
)

Use renderOrderByStringTemplate(String, ColumnMapper, SessionFactoryImplementor, Dialect, SQLFunctionRegistry) instead

org.hibernate.tool.hbm2ddl.SchemaExport.SchemaExport(Configuration
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

org.hibernate.tool.instrument.cglib.InstrumentTask

Per HHH-5451 support for cglib as a bytecode provider has been deprecated; use org.hibernate.tool.instrument.javassist.InstrumentTask instead

org.hibernate.tuple.ElementWrapper.setAttributeValue(String
is the name of the attribute whose value is to be added or updated
name
,
String
is the attribute's value
value
)

org.hibernate.tuple.ElementWrapper.setAttributeValue(QName
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.
org.hibernate.tuple.entity.EntityTuplizer.getIdentifier
(Object
The entity from which to extract the identifier value.
entity
)

Use getIdentifier(Object, SessionImplementor) instead.

Returns:

The instantiated entity.
org.hibernate.tuple.entity.EntityTuplizer.instantiate
(Serializable
The identifier value for the entity to be instantiated.
id
)

Use instantiate(Serializable, SessionImplementor) instead.

org.hibernate.tuple.entity.EntityTuplizer.resetIdentifier(Object
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 resetIdentifier(Object, Serializable, Object, SessionImplementor) instead

org.hibernate.tuple.entity.EntityTuplizer.setIdentifier(Object
The entity to inject with the identifier value.
entity
,
Serializable
The value to be injected as the identifier.
id
)

Use setIdentifier(Object, Serializable, SessionImplementor) instead.

org.hibernate.type.CharBooleanType.getFalseString()

Pass the true/false values into constructor instead.

org.hibernate.type.CharBooleanType.getTrueString()

Pass the true/false values into constructor instead.

org.hibernate.type.SerializableToBlobType

Deprecated as a consequence of AbstractLobType being deprecated.

Returns:

Object
org.hibernate.usertype.UserType.nullSafeGet
(ResultSet
a 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.hibernate.usertype.UserType.nullSafeSet(PreparedStatement
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.hibernate.util.JDBCExceptionReporter.logWarnings(SQLWarning
The warning to log
warning
,
String
The prologue message
message
)

Use walkWarnings instead