Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
mbasa committed Dec 27, 2024
2 parents dfdd226 + c922170 commit 2e46298
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/main/java/geotheme/db/metaDataCtl.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,17 @@

package geotheme.db;

import java.sql.*;
import java.util.*;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.sql.Timestamp;
import java.sql.Types;
import java.util.Map;

import geotheme.bean.*;
import geotheme.util.*;
import geotheme.bean.metaDataBean;
import geotheme.util.StringCheck;

public class metaDataCtl {

Expand Down Expand Up @@ -460,13 +466,15 @@ public String processDataLatLon(String[][] inData,String tabName) {
finally {
if( stmt != null ) {
try {
conn.commit();
stmt.close();
} catch (SQLException e) {
e.printStackTrace();
}
}
if( pstmt != null ) {
try {
conn.commit();
pstmt.close();
} catch (SQLException e) {
e.printStackTrace();
Expand Down

0 comments on commit 2e46298

Please sign in to comment.