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

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


Deprecated API

Deprecated Classes
net.sf.hibernate.id.CounterGenerator
          use IncrementGenerator instead 
net.sf.hibernate.cache.JCSCache
          JCS support will be removed in version 2.1.1 
net.sf.hibernate.cache.JCSCacheProvider
          JCS support will be removed in version 2.1.1 
net.sf.hibernate.type.PersistentEnumType
          Support for PersistentEnums will be removed in 2.2 
 

Deprecated Interfaces
net.sf.hibernate.PersistentEnum
          Support for PersistentEnums will be removed in 2.2 
 

Deprecated Fields
net.sf.hibernate.cfg.Environment.C3P0_VALIDATE_CONNECTION
          use C3P0_IDLE_TEST_PERIOD 
net.sf.hibernate.cfg.Environment.QUERY_IMPORTS
            
net.sf.hibernate.cfg.Environment.STATEMENT_CACHE_SIZE
          Hibernate no longer has a built-in prepared statement cache 
net.sf.hibernate.cfg.Environment.USE_JDBC_BATCH
            
net.sf.hibernate.cfg.Environment.USE_OUTER_JOIN
          use hibernate.max_fetch_depth=0 
 

Deprecated Methods
net.sf.hibernate.cfg.Configuration.addJar(String)
          use addJar(java.io.File) 
net.sf.hibernate.Hibernate.association(Class)
          use Hibernate.entity() 
net.sf.hibernate.Hibernate.enum(Class)
          Support for PersistentEnums will be removed in 2.2 
net.sf.hibernate.type.EntityType.getPersistentClass()
          use getAssociationClass() 
net.sf.hibernate.LazyInitializationException.getRoot()
          use getCause() 
net.sf.hibernate.type.Type.hasNiceEquals()
          we are not using this anymore 
net.sf.hibernate.Criteria.returnMaps()
          use setResultTransformer(Criteria.ALIAS_TO_ENTITY_MAP) 
net.sf.hibernate.Criteria.returnRootEntities()
          use setResultTransformer(Criteria.ROOT_ENTITY) 
net.sf.hibernate.Query.setEnum(int, Object)
          Support for PersistentEnums will be removed in 2.2 
net.sf.hibernate.Query.setEnum(String, Object)
          Support for PersistentEnums will be removed in 2.2