The ISessionFactoryImplementor type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | Close |
Destroy this SessionFactory and release all resources
connection pools, etc). It is the responsibility of the application
to ensure that there are no open Sessions before calling
close().
(Inherited from ISessionFactory.) |
![]() | CloseConnection |
Release an ADO.NET connection
|
![]() | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) |
![]() | Evict | Overloaded. |
![]() | EvictCollection | Overloaded. |
![]() | EvictQueries | Overloaded. |
![]() | GetAllClassMetadata |
Get all ClassMetadata as a IDictionary from Type
to metadata object
(Inherited from ISessionFactory.) |
![]() | GetAllCollectionMetadata |
Get all CollectionMetadata as a IDictionary from role name
to metadata object
(Inherited from ISessionFactory.) |
![]() | GetClassMetadata |
Get the ClassMetadata associated with the given entity class
(Inherited from ISessionFactory.) |
![]() | GetCollectionMetadata |
Get the CollectionMetadata associated with the named collection role
(Inherited from ISessionFactory.) |
![]() | GetCollectionPersister |
Get the persister object for a collection role
|
![]() | GetCurrentSession |
Obtains the current session.
(Inherited from ISessionFactory.) |
![]() | GetEntityPersister | Overloaded. |
![]() | GetFilterDefinition |
Obtain the definition of a filter by name.
(Inherited from ISessionFactory.) |
![]() | GetIdentifierGenerator |
Get the identifier generator for the hierarchy
|
![]() | GetIdentifierPropertyName | |
![]() | GetIdentifierType | |
![]() | GetImplementors |
Get the names of all persistent classes that implement/extend the given interface/class
|
![]() | GetImportedClassName |
Get a class name, using query language imports
|
![]() | GetPropertyType | |
![]() | GetQueryCache |
Get a particular named query cache, or the default cache
|
![]() | GetResultSetMapping | |
![]() | GetReturnTypes |
Get the return types of a query
|
![]() | OpenConnection |
Obtain an ADO.NET connection
|
![]() | OpenDatabinder |
Create a new databinder.
(Inherited from ISessionFactory.) |
![]() | OpenSession | Overloaded. |
Properties
Name | Description | |
---|---|---|
![]() | BatchSize | |
![]() | ConnectionProvider |
Get the IConnectionProvider used.
(Inherited from ISessionFactory.) |
![]() | CurrentSessionContext |
Gets the ICurrentSessionContext instance attached to this session factory.
|
![]() | DefaultSchema |
Get the database schema specified in hibernate.default_schema
|
![]() | DefinedFilterNames |
Obtain a set of the names of all filters defined on this SessionFactory.
(Inherited from ISessionFactory.) |
![]() | Dialect |
Get the SQL Dialect
(Inherited from ISessionFactory.) |
![]() | FetchSize | |
![]() | IsBatchUpdateEnabled |
Gets a boolean indicating if the sql statement should be prepared. The value
is calculated from hibernate.adonet.batch_size if the value exists and greater than 0.
|
![]() | IsGetGeneratedKeysEnabled |
Is PreparedStatement.getGeneratedKeys supported (Java-specific?)
|
![]() | Isolation |
Gets the IsolationLevel an IDbTransaction should be set to.
|
![]() | IsOuterJoinedFetchEnabled |
Is outerjoin fetching enabled?
|
![]() | IsQueryCacheEnabled |
Is query caching enabled?
|
![]() | IsScrollableResultSetsEnabled |
Are scrollable ResultSets supported?
|
![]() | IsShowSqlEnabled |
Are we logging SQL to the console?
|
![]() | Items |
This collections allows external libraries
to add their own configuration to the NHibernate session factory.
This is needed in such cases where the library is tightly coupled to NHibernate, such
as the case of NHibernate Search
(Inherited from ISessionFactory.) |
![]() | MaximumFetchDepth |
Maximum depth of outer join fetching
|
![]() | QueryCache |
Get the default query cache
|
![]() | Settings | (Inherited from ISessionFactory.) |
![]() | SQLFunctionRegistry | |
![]() | TransactionFactory |