I'm experimenting problems with
CreateSQLQuery and parameters list.
When I use SetParameterList in the restrictions NHibernate throw an exception:
Code:
System.NullReferenceException: Object reference not set to an instance of an object.
at NHibernate.Driver.OracleDataClientDriver.GenerateParameter(IDbCommand command, String name, Parameter parameter, Dialect dialect)
at NHibernate.Driver.DriverBase.GenerateCommand(Dialect dialect, SqlString sqlString)
at NHibernate.Impl.BatcherImpl.Generate(SqlString sqlString)
If I comment this restriction everything is OK. Any suggestion????
NHibernate 1.2.0 Alpha
OracleDialect