站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

Deprecated List (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


Deprecated API

Deprecated Fields
org.hibernate.cache.TreeCacheProvider.CONFIG_RESOURCE
          use org.hibernate.cfg.Environment.CACHE_PROVIDER_CONFIG 
org.hibernate.cache.OptimisticTreeCacheProvider.CONFIG_RESOURCE
          use Environment.CACHE_PROVIDER_CONFIG 
org.hibernate.FetchMode.EAGER
          use FetchMode.JOIN 
org.hibernate.FetchMode.LAZY
          use FetchMode.SELECT 
org.hibernate.FlushMode.NEVER
          use FlushMode.MANUAL instead. 
 

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)
          consider using HQL delete statements 
org.hibernate.classic.Session.delete(String, Object[], Type[])
          consider using HQL delete statements 
org.hibernate.classic.Session.delete(String, Object, Type)
          consider using HQL delete statements 
org.hibernate.classic.Session.filter(Object, String)
          use Session.createFilter(Object, String).Query.list() 
org.hibernate.classic.Session.filter(Object, String, Object[], Type[])
          use Session.createFilter(Object, String).setXYZ.Query.list() 
org.hibernate.classic.Session.filter(Object, String, Object, Type)
          use Session.createFilter(Object, String).setXYZ.Query.list() 
org.hibernate.classic.Session.find(String)
          use Session.createQuery(java.lang.String).Query.list() 
org.hibernate.classic.Session.find(String, Object[], Type[])
          use Session.createQuery(java.lang.String).setXYZ.Query.list() 
org.hibernate.classic.Session.find(String, Object, Type)
          use Session.createQuery(java.lang.String).setXYZ.Query.list() 
org.hibernate.dialect.Dialect.getCreateSequenceStrings(String)
          Use Dialect.getCreateSequenceString(String, int, int) instead 
org.hibernate.hql.ast.tree.ConstructorNode.getDataType()
          (tell clover to ignore this method) 
org.hibernate.classic.Session.iterate(String)
          use Session.createQuery(java.lang.String).Query.iterate() 
org.hibernate.classic.Session.iterate(String, Object[], Type[])
          use Session.createQuery(java.lang.String).setXYZ.Query.iterate() 
org.hibernate.classic.Session.iterate(String, Object, Type)
          use Session.createQuery(java.lang.String).setXYZ.Query.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.sql.Template.renderWhereStringTemplate(String, String, Dialect)
          Only intended for annotations usage; use Template.renderWhereStringTemplate(String, String, Dialect, SQLFunctionRegistry) instead 
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 Session.merge(Object) 
org.hibernate.classic.Session.saveOrUpdateCopy(Object, Serializable)
          with no replacement 
org.hibernate.classic.Session.saveOrUpdateCopy(String, Object)
          use Session.merge(String, Object) 
org.hibernate.classic.Session.saveOrUpdateCopy(String, Object, Serializable)
          with no replacement 
org.hibernate.proxy.dom4j.Dom4jProxy.setAttributeValue(QName, String)
            
org.hibernate.tuple.ElementWrapper.setAttributeValue(QName, String)
            
org.hibernate.proxy.dom4j.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.engine.NamedSQLQueryDefinition(String, String, List, boolean, String, Integer, Integer, FlushMode, Map, boolean)
            
org.hibernate.tool.hbm2ddl.SchemaExport(Configuration, Properties)
          properties may be specified via the Configuration object