Revision 38055 branches/v2_0_0_prep/extensions/org.gvsig.oracle/src/org/gvsig/fmap/dal/store/oracle/OracleStoreProvider.java
OracleStoreProvider.java | ||
---|---|---|
782 | 782 |
*/ |
783 | 783 |
} |
784 | 784 |
// limit offset |
785 |
|
|
786 |
if (System.currentTimeMillis() - lastPrint > 2000) { |
|
787 |
logger.info("Executing SQL: " + sql.toString()); |
|
785 |
|
|
786 |
sqlCount++; |
|
787 |
|
|
788 |
if (System.currentTimeMillis() - lastPrint > 5000) { |
|
789 |
logger.info("Executing SQL # " + sqlCount + ": " + sql.toString()); |
|
788 | 790 |
lastPrint = System.currentTimeMillis(); |
789 | 791 |
} |
790 | 792 |
|
... | ... | |
792 | 794 |
} |
793 | 795 |
|
794 | 796 |
private static long lastPrint = 0; |
797 |
private static long sqlCount = 0; |
|
795 | 798 |
|
796 | 799 |
private Object coerce(FeatureAttributeDescriptor att, Object v) throws CoercionException { |
797 | 800 |
|
Also available in: Unified diff