File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/engine/NamedSQLQueryDefinition.java | File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/engine/NamedSQLQueryDefinition.java | |||
Method name: void NamedSQLQueryDefinition(String, NativeSQLQueryReturn[], List, boolean, String, Integer, Integer, FlushMode, CacheMode, boolean, String, Map, boolean)
|
Method name: void NamedSQLQueryDefinition(String, String, List, boolean, String, Integer, Integer, FlushMode, CacheMode, boolean, String, Map, boolean)
|
|||
Number of AST nodes: 4 | Number of AST nodes: 4 | |||
1 | super(↵ | 1 | super(↵ | |
2 | query.trim(), /* trim done to workaround stupid oracle bug that cant handle whitespaces before a { in a sp */↵ | 2 | query.trim(), /* trim done to workaround stupid oracle bug that cant handle whitespaces before a { in a sp */↵ | |
3 | cacheable,↵ | 3 | cacheable,↵ | |
4 | cacheRegion,↵ | 4 | cacheRegion,↵ | |
5 | timeout,↵ | 5 | timeout,↵ | |
6 | fetchSize,↵ | 6 | fetchSize,↵ | |
7 | flushMode,↵ | 7 | flushMode,↵ | |
8 | cacheMode,↵ | 8 | cacheMode,↵ | |
9 | readOnly,↵ | 9 | readOnly,↵ | |
10 | comment,↵ | 10 | comment,↵ | |
11 | parameterTypes↵ | 11 | parameterTypes↵ | |
12 | );↵ | 12 | );↵ | |
13 | this.queryReturns = queryReturns;↵ | 13 | this.resultSetRef = resultSetRef;↵ | |
14 | this.querySpaces = querySpaces;↵ | 14 | this.querySpaces = querySpaces;↵ | |
15 | this.callable = callable; | 15 |
| |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 1 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are declared in the same class |
Number of node comparisons | 11 |
Number of mapped statements | 3 |
Number of unmapped statements in the first code fragment | 1 |
Number of unmapped statements in the second code fragment | 1 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |
---|---|---|---|---|
1 | super(query.trim(), cacheable, cacheRegion, timeout, fetchSize, flushMode, cacheMode, readOnly, comment, parameterTypes); | 1 | super(query.trim(), cacheable, cacheRegion, timeout, fetchSize, flushMode, cacheMode, readOnly, comment, parameterTypes); | |
| 2 | this.resultSetRef = resultSetRef; | ||
2 | this.queryReturns = queryReturns; | | ||
3 | this.querySpaces = querySpaces; | 3 | this.querySpaces = querySpaces; | |
4 | this.callable = callable; | 4 | this.callable = callable; |
Row | Violation |
---|