Revision 44750 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.db/org.gvsig.fmap.dal.db.jdbc/src/main/java/org/gvsig/fmap/dal/store/jdbc2/spi/operations/AbstractConnectionOperation.java
AbstractConnectionOperation.java | ||
---|---|---|
61 | 61 |
|
62 | 62 |
protected Object perform_operation() throws Exception { |
63 | 63 |
Object result = null; |
64 |
LOGGER.debug("preparing execution of "+this.getClass().getSimpleName()+".");
|
|
64 |
LOGGER.trace("preparing execution of "+this.getClass().getSimpleName()+".");
|
|
65 | 65 |
if( needTransaction() ) { |
66 | 66 |
try { |
67 | 67 |
if( this.helper.allowNestedOperations() ) { |
... | ... | |
73 | 73 |
} |
74 | 74 |
this.getConnection().setAutoCommit(false); |
75 | 75 |
try { |
76 |
LOGGER.debug("Excuting operation {}.", this.getClass().getSimpleName());
|
|
76 |
LOGGER.trace("Excuting operation {}.", this.getClass().getSimpleName());
|
|
77 | 77 |
result = perform(this.getConnection()); |
78 | 78 |
} catch (Exception ex) { |
79 | 79 |
try { |
... | ... | |
97 | 97 |
} |
98 | 98 |
this.getConnection().setAutoCommit(false); |
99 | 99 |
try { |
100 |
LOGGER.debug("Excuting operation {}.", this.getClass().getSimpleName());
|
|
100 |
LOGGER.trace("Excuting operation {}.", this.getClass().getSimpleName());
|
|
101 | 101 |
result = perform(this.getConnection()); |
102 | 102 |
} catch (Exception ex) { |
103 | 103 |
try { |
... | ... | |
115 | 115 |
} |
116 | 116 |
} else { |
117 | 117 |
try { |
118 |
LOGGER.debug("Excuting operation {}.", this.getClass().getSimpleName());
|
|
118 |
LOGGER.trace("Excuting operation {}.", this.getClass().getSimpleName());
|
|
119 | 119 |
result = perform(this.getConnection()); |
120 | 120 |
} catch (Exception ex) { |
121 | 121 |
throw new RuntimeException("Can't perform operation '"+this.getClass().getSimpleName()+"'.",ex); |
Also available in: Unified diff