public void configure(Configuration cfg) {
super.configure( cfg );
cfg.setProperty( Environment.USE_QUERY_CACHE, "true" );
cfg.setProperty( Environment.CACHE_REGION_PREFIX, "criteriaquerytest" );
cfg.setProperty( Environment.USE_SECOND_LEVEL_CACHE, "true" );
cfg.setProperty( Environment.GENERATE_STATISTICS, "true" );
public void configure(Configuration cfg) {
super.configure( cfg );
cfg.setProperty( Environment.USE_QUERY_CACHE, "true" );
cfg.setProperty( Environment.CACHE_REGION_PREFIX, "foo" );
cfg.setProperty( Environment.USE_SECOND_LEVEL_CACHE, "true" );
cfg.setProperty( Environment.GENERATE_STATISTICS, "true" );
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/criteria/CriteriaQueryTest.java
|
|
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/iterate/IterateTest.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public void configure(Configuration cfg) {↵ | | 1 | public void configure(Configuration cfg) {↵
|
2 | super.configure( cfg );↵ | | 2 | super.configure( cfg );↵
|
3 | cfg.setProperty( Environment.USE_QUERY_CACHE, "true" );↵ | | 3 | cfg.setProperty( Environment.USE_QUERY_CACHE, "true" );↵
|
4 | cfg.setProperty( Environment.CACHE_REGION_PREFIX, "criteriaquerytest" );↵ | | 4 | cfg.setProperty( Environment.CACHE_REGION_PREFIX, "foo" );↵
|
5 | cfg.setProperty( Environment.USE_SECOND_LEVEL_CACHE, "true" );↵ | | 5 | cfg.setProperty( Environment.USE_SECOND_LEVEL_CACHE, "true" );↵
|
6 | cfg.setProperty( Environment.GENERATE_STATISTICS, "true" );↵ | | 6 | cfg.setProperty( Environment.GENERATE_STATISTICS, "true" );↵
|
7 | | | 7 |
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |