Deprecated API

Deprecated Fields
org.hibernate.FetchMode.EAGER
          use FetchMode.JOIN 
org.hibernate.FetchMode.LAZY
          use FetchMode.SELECT 
 

Deprecated Methods
org.hibernate.classic.Session.createSQLQuery(String, String[], Class[])
          will be replaced with a more Query like interface in later release 
org.hibernate.classic.Session.createSQLQuery(String, String, Class)
          will be replaced with a more Query like interface in later release 
org.hibernate.classic.Session.delete(String)
          use createQuery() 
org.hibernate.classic.Session.delete(String, Object[], Type[])
          use createQuery() 
org.hibernate.classic.Session.delete(String, Object, Type)
          use createQuery() 
org.hibernate.classic.Session.filter(Object, String)
          use createQuery() 
org.hibernate.classic.Session.filter(Object, String, Object[], Type[])
          use createQuery() 
org.hibernate.classic.Session.filter(Object, String, Object, Type)
          use createQuery() 
org.hibernate.classic.Session.find(String)
          use createQuery(query).list() 
org.hibernate.classic.Session.find(String, Object[], Type[])
          use createQuery(query).setParameters(values,types).find() instead Binding an array of values to "?" parameters in the query string. 
org.hibernate.classic.Session.find(String, Object, Type)
          use createQuery(query).setParameter(value,type).list() Bind a value to a "?" parameter in the query string. 
org.hibernate.hql.ast.tree.ConstructorNode.getDataType()
          (tell clover to ignore this method) 
org.hibernate.classic.Session.iterate(String)
          use createQuery(query).iterate() 
org.hibernate.classic.Session.iterate(String, Object[], Type[])
          use createQuery(query).setParameters(values,types).iterate() 
org.hibernate.classic.Session.iterate(String, Object, Type)
          use createQuery(query).setParameter(value,type).iterate() 
org.hibernate.Session.reconnect()
          Manual reconnection is only needed in the case of application-supplied connections, in which case the Session.reconnect(java.sql.Connection) for should be used. 
org.hibernate.classic.Session.save(Object, Serializable)
          declare identifier properties for all classes 
org.hibernate.classic.Session.save(String, Object, Serializable)
          declare identifier properties for all classes 
org.hibernate.classic.Session.saveOrUpdateCopy(Object)
          use org.hibernate.Session#merge(Object) 
org.hibernate.classic.Session.saveOrUpdateCopy(Object, Serializable)
          use org.hibernate.Session#merge(Object, java.io.Serializable) 
org.hibernate.classic.Session.saveOrUpdateCopy(String, Object)
          use org.hibernate.Session#merge(String, Object) 
org.hibernate.classic.Session.saveOrUpdateCopy(String, Object, Serializable)
          use org.hibernate.Session#merge(String, Object, java.io.Serializable) 
org.hibernate.proxy.Dom4jProxy.setAttributeValue(QName, String)
            
org.hibernate.tuple.ElementWrapper.setAttributeValue(QName, String)
            
org.hibernate.proxy.Dom4jProxy.setAttributeValue(String, String)
            
org.hibernate.tuple.ElementWrapper.setAttributeValue(String, String)
            
org.hibernate.classic.Session.update(Object, Serializable)
          declare identifier properties for all classes 
org.hibernate.classic.Session.update(String, Object, Serializable)
          declare identifier properties for all classes 
 

Deprecated Constructors
org.hibernate.tool.hbm2ddl.SchemaExport(Configuration, Properties)
          properties may be specified via the Configuration object