getFilterDefinition(String filterName) Obtain the definition of a filter by name.
Parameters: filterName - The name of the filter for which to obtain the definition.
Destroy this SessionFactory and release all resources (caches,
connection pools, etc). It is the responsibility of the application
to ensure that there are no open Sessions before calling
close().
Evict all entries from the second-level cache. This method occurs outside
of any transaction; it performs an immediate "hard" remove, so does not respect
any transaction isolation semantics of the usage strategy. Use with care.
Evict an entry from the second-level cache. This method occurs outside
of any transaction; it performs an immediate "hard" remove, so does not respect
any transaction isolation semantics of the usage strategy. Use with care.
Evict all entries from the second-level cache. This method occurs outside
of any transaction; it performs an immediate "hard" remove, so does not respect
any transaction isolation semantics of the usage strategy. Use with care.
Evict an entry from the second-level cache. This method occurs outside
of any transaction; it performs an immediate "hard" remove, so does not respect
any transaction isolation semantics of the usage strategy. Use with care.
Evict all entries from the second-level cache. This method occurs outside
of any transaction; it performs an immediate "hard" remove, so does not respect
any transaction isolation semantics of the usage strategy. Use with care.
Evict an entry from the second-level cache. This method occurs outside
of any transaction; it performs an immediate "hard" remove, so does not respect
any transaction isolation semantics of the usage strategy. Use with care.
Get all ClassMetadata as a Map from entityname String
to metadata object
See Also:org.hibernate.metadata.ClassMetadata a map from String an entity name to ClassMetaData since: 3.0 changed key from Class to String
Obtain the definition of a filter by name.
Parameters: filterName - The name of the filter for which to obtain the definition. The filter definition. throws: HibernateException - If no filter defined with the given name.
Note that the second-level cache will be disabled if you
supply a JDBC connection. Hibernate will not be able to track
any statements you might have executed in the same transaction.
Consider implementing your own ConnectionProvider.
Parameters: connection - a connection provided by the application. Session
Create database connection and open a Session on it, specifying an
interceptor.
Parameters: interceptor - a session-scoped interceptor Session throws: HibernateException -
Open a Session on the given connection, specifying an interceptor.
Note that the second-level cache will be disabled if you
supply a JDBC connection. Hibernate will not be able to track
any statements you might have executed in the same transaction.
Consider implementing your own ConnectionProvider.
Parameters: connection - a connection provided by the application. Parameters: interceptor - a session-scoped interceptor Session