Dear all,
COUNT(*) is now returning Int64, which creates a pretty straightforward problem with ASP.NET. I fetch the object count and set grids VirtualItemCount to the value, which in turn uses PagedDataSource. PagedDataSource.VirtualCount This is Int32, so paging through billions of results isn't quite there yet.
I found that I can do
factory.Dialect.Functions["count"] = new ClassicCountFunction();
Is this the recommended way of doing this?
Is there a way to specify this in a .config file?
Thx
-dB.
Hibernate version: 1.2 beta 3
|