Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 2 | 0.988 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 230 | src/NHibernate.Test/NHSpecificTest/NH1612/NativeSqlCollectionLoaderFixture.cs |
2 | 15 | 247 | src/NHibernate.Test/NHSpecificTest/NH1612/NativeSqlCollectionLoaderFixture.cs |
| ||||
#endregion #region Tests - corner cases to verify backwards compatibility of NH-1612 patch [Test] public void NativeUpdateQueryWithoutResults() { if ( !(Dialect is MsSql2000Dialect)) { Assert.Ignore("This does not apply to {0}", Dialect); } using (ISession session = OpenSession()) { using (ITransaction tx = session.BeginTransaction()) { session.GetNamedQuery("UpdateQueryWithoutResults").ExecuteUpdate(); tx.Commit(); } } } |
| ||||
[Test] public void NativeScalarQueryWithoutResults() { if ( !(Dialect is MsSql2000Dialect)) { Assert.Ignore("This does not apply to {0}", Dialect); } using (ISession session = OpenSession()) { using (ITransaction tx = session.BeginTransaction()) { // Native SQL Query outcome is not validated against <return-*> // resultset declarations. session.GetNamedQuery("ScalarQueryWithDefinedResultsetButNoResults").ExecuteUpdate(); tx.Commit(); } } } |
| |||
#endregion #region Tests - corner cases to verify backwards compatibility of NH-1612 patch [Test] public void [[#variable2d2b2520]]() { if ( !(Dialect is MsSql2000Dialect)) { Assert.Ignore("This does not apply to {0}", Dialect); } using (ISession session = OpenSession()) { using (ITransaction tx = session.BeginTransaction()) { // Native SQL Query outcome is not validated against <return-*> // resultset declarations. session.GetNamedQuery( [[#variable2d2b2500]]).ExecuteUpdate(); tx.Commit(); } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2d2b2520]] | NativeUpdateQueryWithoutResults |
1 | 2 | [[#2d2b2520]] | NativeScalarQueryWithoutResults |
2 | 1 | [[#2d2b2500]] | "UpdateQueryWithoutResults" |
2 | 2 | [[#2d2b2500]] | "ScalarQueryWithDefinedResultsetButNoResults" |