nhibernate-core
nhibernate-core copied to clipboard
NHibernate Object Relational Mapper
There is an interesting situation when is needed that a UNIQUE CONSTRAINT to take into account a WHERE clause. eg for _SQL Server 2008_: ``` CREATE UNIQUE NONCLUSTERED INDEX idx_yourcolumn_notnull...
It would be nice to have a nuget package with nhibernate test suite so we can support testing of 3rd party drivers.
Hi, I've run into a significant performance problem. Profiling is showing a large amount of time spent running a fairly simple DELETE query: The Query definition is: DELETE FROM [SchemaName].[TableName]...
The SQLiteDialect stores Date, DateTime, and Time types in TEXT fields. The conversion from DateTime to text is done using the current culture of the local computer instead of the...
Fix for #3525 The actual fix was adding a new HQL function "secondtruncated", which is used if it is available, otherwise it falls back to the old "second". Another option...
While working with DateOnly and TimeOnly support I realized that the ObjectToSQLString method of ILiteralType is quite problematic. **AbstractStringType**: `"'" + (string)value + "'"` - SQL injection - No N-prefix...
Again, something I stumbled upon when working with TimeOnly. Everything worked fine, until I ran the tests on PostgreSQL. The issue is that the `seconds` HQL method yields an `extract(second...