We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e1c7fa commit 9a6de94Copy full SHA for 9a6de94
src/NHibernate.Test/NHSpecificTest/GH0000/FixtureByCode.cs
@@ -48,11 +48,6 @@ protected override void OnTearDown()
48
using (var session = OpenSession())
49
using (var transaction = session.BeginTransaction())
50
{
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.
56
session.CreateQuery("delete from System.Object").ExecuteUpdate();
57
58
transaction.Commit();
0 commit comments