Skip to content

Commit 9a6de94

Browse files
committedJan 16, 2023
test
1 parent 4e1c7fa commit 9a6de94

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed
 

‎src/NHibernate.Test/NHSpecificTest/GH0000/FixtureByCode.cs

-5
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,6 @@ protected override void OnTearDown()
4848
using (var session = OpenSession())
4949
using (var transaction = session.BeginTransaction())
5050
{
51-
// The HQL delete does all the job inside the database without loading the entities, but it does
52-
// not handle delete order for avoiding violating constraints if any. Use
53-
// session.Delete("from System.Object");
54-
// instead if in need of having NHbernate ordering the deletes, but this will cause
55-
// loading the entities in the session.
5651
session.CreateQuery("delete from System.Object").ExecuteUpdate();
5752

5853
transaction.Commit();

0 commit comments

Comments
 (0)