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

Uses of Class net.sf.hibernate.cfg.Configuration (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


Uses of Class
net.sf.hibernate.cfg.Configuration

Packages that use Configuration
net.sf.hibernate.cfg   
net.sf.hibernate.collection   
net.sf.hibernate.impl   
net.sf.hibernate.persister   
net.sf.hibernate.tool.hbm2ddl   
 

Uses of Configuration in net.sf.hibernate.cfg
 

Methods in net.sf.hibernate.cfg that return Configuration
 Configuration Configuration.addFile(String xmlFile)
          Read mappings from a particular XML file
 Configuration Configuration.addFile(File xmlFile)
          Read mappings from a particular XML file
 Configuration Configuration.addXML(String xml)
          Read mappings from a String
 Configuration Configuration.addURL(URL url)
          Read mappings from a URL
 Configuration Configuration.addDocument(org.w3c.dom.Document doc)
          Read mappings from a DOM Document
 Configuration Configuration.addInputStream(InputStream xmlInputStream)
          Read mappings from an InputStream
 Configuration Configuration.addResource(String path, ClassLoader classLoader)
          Read mappings from an application resource
 Configuration Configuration.addResource(String path)
          Read mappings from an application resource trying different classloaders.
 Configuration Configuration.addClass(Class persistentClass)
          Read a mapping from an application resource, using a convention.
 Configuration Configuration.addJar(String resource)
          Deprecated. use addJar(java.io.File)
 Configuration Configuration.addJar(File jar)
          Read all mappings from a jar file
 Configuration Configuration.addDirectory(File dir)
          Read all mapping documents from a directory tree.
 Configuration Configuration.setInterceptor(Interceptor interceptor)
          Configure an Interceptor
 Configuration Configuration.setProperties(Properties properties)
          Specify a completely new set of properties
 Configuration Configuration.addProperties(Properties extraProperties)
          Set the given properties
 Configuration Configuration.setProperty(String propertyName, String value)
          Set a property
 Configuration Configuration.configure()
          Use the mappings and properties specified in an application resource named hibernate.cfg.xml.
 Configuration Configuration.configure(String resource)
          Use the mappings and properties specified in the given application resource.
 Configuration Configuration.configure(URL url)
          Use the mappings and properties specified in the given document.
 Configuration Configuration.configure(File configFile)
          Use the mappings and properties specified in the given application file.
protected  Configuration Configuration.doConfigure(InputStream stream, String resourceName)
          Use the mappings and properties specified in the given application resource.
 Configuration Configuration.configure(org.w3c.dom.Document document)
          Use the mappings and properties specified in the given XML document.
protected  Configuration Configuration.doConfigure(org.dom4j.Document doc)
           
 Configuration Configuration.setCacheConcurrencyStrategy(Class clazz, CacheConcurrencyStrategy concurrencyStrategy)
          Set up a cache for an entity class
 Configuration Configuration.setCacheConcurrencyStrategy(String collectionRole, CacheConcurrencyStrategy concurrencyStrategy)
          Set up a cache for a collection role
 Configuration Configuration.setNamingStrategy(NamingStrategy namingStrategy)
          Set a custom naming strategy
 

Uses of Configuration in net.sf.hibernate.collection
 

Constructors in net.sf.hibernate.collection with parameters of type Configuration
OneToManyPersister(Collection collection, Configuration cfg, SessionFactoryImplementor factory)
           
BasicCollectionPersister(Collection collection, Configuration cfg, SessionFactoryImplementor factory)
           
AbstractCollectionPersister(Collection collection, Configuration cfg, SessionFactoryImplementor factory)
           
 

Uses of Configuration in net.sf.hibernate.impl
 

Constructors in net.sf.hibernate.impl with parameters of type Configuration
SessionFactoryImpl(Configuration cfg, Settings settings)
           
 

Uses of Configuration in net.sf.hibernate.persister
 

Methods in net.sf.hibernate.persister with parameters of type Configuration
static CollectionPersister PersisterFactory.createCollectionPersister(Configuration cfg, Collection model, SessionFactoryImplementor factory)
           
 

Uses of Configuration in net.sf.hibernate.tool.hbm2ddl
 

Constructors in net.sf.hibernate.tool.hbm2ddl with parameters of type Configuration
SchemaUpdate(Configuration cfg)
           
SchemaUpdate(Configuration cfg, Properties connectionProperties)
           
SchemaExport(Configuration cfg)
          Create a schema exporter for the given Configuration
SchemaExport(Configuration cfg, Properties connectionProperties)
          Create a schema exporter for the given Configuration, with the given database connection properties.