CloneSet1473


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6230.976statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1723
src/NHibernate/Persister/Collection/NamedQueryCollectionInitializer.cs
2626
src/NHibernate/Persister/Entity/NamedQueryLoader.cs
Clone Instance
1
Line Count
7
Source Line
23
Source File
src/NHibernate/Persister/Collection/NamedQueryCollectionInitializer.cs

                        if (log.IsDebugEnabled)
                        {
                                log.Debug(string.Format("initializing collection: {0} using named query: {1}", persister.Role, queryName));
                        }

                        //TODO: is there a more elegant way than downcasting?
                        AbstractQueryImpl query = (AbstractQueryImpl) session.GetNamedSQLQuery(queryName);


Clone Instance
2
Line Count
6
Source Line
26
Source File
src/NHibernate/Persister/Entity/NamedQueryLoader.cs

                        if (log.IsDebugEnabled)
                        {
                                log.Debug(string.Format("loading entity: {0} using named query: {1}", persister.EntityName, queryName));
                        }

                        AbstractQueryImpl query = (AbstractQueryImpl) session.GetNamedQuery(queryName);


Clone AbstractionParameter Count: 3Parameter Bindings

if (log.IsDebugEnabled)
{
   log.Debug(string.Format( [[#variable28abbc20]], persister. [[#variable289cd520]], queryName));
}
//TODO: is there a more elegant way than downcasting?
AbstractQueryImpl query = (AbstractQueryImpl)session. [[#variable289a4ca0]](queryName);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#28abbc20]]
"loading entity: {0} using named query: {1}" 
12[[#28abbc20]]
"initializing collection: {0} using named query: {1}" 
21[[#289cd520]]
EntityName 
22[[#289cd520]]
Role 
31[[#289a4ca0]]
GetNamedQuery 
32[[#289a4ca0]]
GetNamedSQLQuery