CloneSet2519


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10230.959non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110719
src/NHibernate/Cfg/XmlHbmBinding/ClassBinder.cs
210732
src/NHibernate/Cfg/XmlHbmBinding/ClassBinder.cs
Clone Instance
1
Line Count
10
Source Line
719
Source File
src/NHibernate/Cfg/XmlHbmBinding/ClassBinder.cs

                                        if (insertNode == null)
                                                // insertable simply because that is the user did not specify
                                                // anything; just override it
                                                property.IsInsertable = false;
                                        else
                                                // the user specifically supplied insert="true",
                                                // which constitutes an illegal combo
                                                throw new MappingException(
                                                        "cannot specify both insert=\"true\" and generated=\"" + generationName +
                                                                "\" for property: " + propName);


Clone Instance
2
Line Count
10
Source Line
732
Source File
src/NHibernate/Cfg/XmlHbmBinding/ClassBinder.cs

                                        if (updateNode == null)
                                                // updateable only because the user did not specify 
                                                // anything; just override it
                                                property.IsUpdateable = false;
                                        else
                                                // the user specifically supplied update="true",
                                                // which constitutes an illegal combo
                                                throw new MappingException(
                                                        "cannot specify both update=\"true\" and generated=\"" + generationName +
                                                                "\" for property: " + propName);


Clone AbstractionParameter Count: 3Parameter Bindings

if ( [[#variable5eb856c0]]== null)
   // insertable simply because that is the user did not specify
   // updateable only because the user did not specify 
   // anything; just override it
   property. [[#variable5eb85620]]= false;
else
   // the user specifically supplied insert="true",
   // the user specifically supplied update="true",
   // which constitutes an illegal combo
   throw new MappingException( [[#variable5eb855c0]]+ generationName + "\" for property: " + propName);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5eb856c0]]
insertNode 
12[[#5eb856c0]]
updateNode 
21[[#5eb85620]]
IsInsertable 
22[[#5eb85620]]
IsUpdateable 
31[[#5eb855c0]]
"cannot specify both insert=\"true\" and generated=\"" 
32[[#5eb855c0]]
"cannot specify both update=\"true\" and generated=\""