Revision 46492
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/AppendOperation.java | ||
---|---|---|
132 | 132 |
this.clearBatch(); |
133 | 133 |
} |
134 | 134 |
JDBCUtils.closeQuietly(this.preparedStatement); |
135 |
this.connection.closeQuietly(); |
|
136 |
this.connection = null; |
|
135 |
if( this.connection!=null ) { |
|
136 |
this.connection.closeQuietly(); |
|
137 |
this.connection = null; |
|
138 |
} |
|
137 | 139 |
this.preparedStatement = null; |
138 | 140 |
this.sqlbuilder = null; |
139 | 141 |
this.insertSQL = null; |
Also available in: Unified diff