Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

HibernateAccessor.FetchSize Property

Gets or sets the fetch size for this HibernateTemplate.

[Visual Basic]
Public MustOverride Property FetchSize() As Integer
   Public Get
   End Get
   Public Set
   End Set
End Property
public abstract int FetchSize { public get; public set; }

Property Value

The size of the fetch.


This is important for processing large result sets: Setting this higher than the default value will increase processing speed at the cost of memory consumption; setting this lower can avoid transferring row data that will never be read by the application.

Default is 0, indicating to use the driver's default.

See Also

HibernateAccessor Class | Spring.Data.NHibernate Namespace