Skip to content

Commit dc36a0a

Browse files
committed
Exec/AbstractStatementExecutor.cs: Fix for NH-3255 from srillaert.
1 parent f53e9fc commit dc36a0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NHibernate/Hql/Ast/ANTLR/Exec/AbstractStatementExecutor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ protected virtual void DropTemporaryTableIfNecessary(IQueryable persister, ISess
183183
{
184184
var commandText = new SqlString("delete from " + persister.TemporaryIdTableName);
185185
ps = session.Batcher.PrepareCommand(CommandType.Text, commandText, new SqlType[0]);
186-
ps.ExecuteNonQuery();
186+
session.Batcher.ExecuteNonQuery(ps);
187187
}
188188
catch (Exception t)
189189
{

0 commit comments

Comments
 (0)