Revision 38188 branches/v2_0_0_prep/extensions/org.gvsig.oracle/src/org/gvsig/fmap/dal/store/oracle/OracleStoreProvider.java
OracleStoreProvider.java | ||
---|---|---|
787 | 787 |
|
788 | 788 |
sqlCount++; |
789 | 789 |
|
790 |
if (System.currentTimeMillis() - lastPrint > 5000) {
|
|
790 |
if (System.currentTimeMillis() - lastPrint > TIME_GAP) {
|
|
791 | 791 |
logger.info("Executing SQL # " + sqlCount + ": " + sql.toString()); |
792 | 792 |
lastPrint = System.currentTimeMillis(); |
793 | 793 |
} |
... | ... | |
795 | 795 |
return sql.toString(); |
796 | 796 |
} |
797 | 797 |
|
798 |
private static int TIME_GAP = 10000; |
|
798 | 799 |
private static long lastPrint = 0; |
799 | 800 |
private static long sqlCount = 0; |
800 | 801 |
|
Also available in: Unified diff