File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java | File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/persister/entity/SingleTableEntityPersister.java | |||
Method name: void AbstractCollectionPersister(Collection, CollectionRegionAccessStrategy, Configuration, SessionFactoryImplementor)
|
Method name: void SingleTableEntityPersister(PersistentClass, EntityRegionAccessStrategy, SessionFactoryImplementor, Mapping)
|
|||
Number of AST nodes: 9 | Number of AST nodes: 9 | |||
1 | indexContainsFormula = false;↵ | |||
2 | indexColumnIsSettable = null;↵ | |||
3 | indexFormulaTemplates = null;↵ | |||
4 | indexFormul↵ | 1 | forceDiscriminator = false;↵ | |
2 | discriminatorInsertable = false;↵ | |||
3 | discriminatorColumnName = null;↵ | |||
5 | as = null;↵ | 4 | discriminatorAlias = null;↵ | |
6 | indexType = null;↵ | 5 | discriminatorType = null;↵ | |
7 | indexColumnNames = null;↵ | 6 | ↵ | |
8 | indexColumnAliases = null;↵ | |||
9 | baseIndex = 0;↵ | |||
10 | indexNodeNam↵ | 7 | discriminatorValue = null;↵ | |
8 | discriminatorSQLValue = null;↵ | |||
9 | discriminatorFormula = null;↵ | |||
11 | e = null; | 10 | discriminatorFormulaTemplate = null; | |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 1 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in different classes |
Number of node comparisons | 64 |
Number of mapped statements | 3 |
Number of unmapped statements in the first code fragment | 6 |
Number of unmapped statements in the second code fragment | 6 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
116 | indexContainsFormula = false; |
| 135 | forceDiscriminator = false; | ||||||||||||
117 | indexColumnIsSettable = null; | | ||||||||||||||
118 | indexFormulaTemplates = null; | | ||||||||||||||
119 | indexFormulas = null; | | ||||||||||||||
| 136 | discriminatorInsertable = false; | ||||||||||||||
| 138 | discriminatorAlias = null; | ||||||||||||||
120 | indexType = null; |
| 139 | discriminatorType = null; | ||||||||||||
121 | indexColumnNames = null; | | ||||||||||||||
122 | indexColumnAliases = null; | | ||||||||||||||
123 | baseIndex = 0; | | ||||||||||||||
124 | indexNodeName = null; |
| 137 | discriminatorColumnName = null; | ||||||||||||
| 140 | discriminatorValue = null; | ||||||||||||||
| 141 | discriminatorSQLValue = null; | ||||||||||||||
| 142 | discriminatorFormula = null; | ||||||||||||||
| 143 | discriminatorFormulaTemplate = null; |
Row | Violation |
---|---|
1 | Expression indexContainsFormula is a field being modified, and thus it cannot be parameterized |
2 | Expression forceDiscriminator is a field being modified, and thus it cannot be parameterized |
3 | Expression indexType is a field being modified, and thus it cannot be parameterized |
4 | Expression discriminatorType is a field being modified, and thus it cannot be parameterized |
5 | Expression indexNodeName is a field being modified, and thus it cannot be parameterized |
6 | Expression discriminatorColumnName is a field being modified, and thus it cannot be parameterized |