Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TemplateFlushMode Enumeration

Enumeration for the various Hibernate flush modes.

[Visual Basic]
Public Enum TemplateFlushMode
public enum TemplateFlushMode


Member Name Description
NeverNever flush is a good strategy for read-only units of work.
AutoAutomatic flushing is the default mode for a Hibernate Session.
Eager Eager flushing leads to immediate synchronization with the database, even if in a transaction.
Commit Flushing at commit only is intended for units of work where no intermediate flushing is desired, not even for find operations that might involve already modified instances.


Namespace: Spring.Data.NHibernate

Assembly: Spring.Data.NHibernate20 (in Spring.Data.NHibernate20.dll)

See Also

Spring.Data.NHibernate Namespace