Revision 43650 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/JDBCUtils.java
JDBCUtils.java | ||
---|---|---|
33 | 33 |
st.execute(sql); |
34 | 34 |
} |
35 | 35 |
|
36 |
public static void execute(Connection connection, String sql) throws SQLException { |
|
37 |
logger.debug("execute SQL: " + sql); |
|
38 |
Statement st = connection.createStatement(); |
|
39 |
st.execute(sql); |
|
40 |
} |
|
41 |
|
|
36 | 42 |
public static ResultSet executeQuery(PreparedStatement st, String sql) throws SQLException { |
37 | 43 |
logger.debug("execute query SQL: " + sql); |
38 | 44 |
ResultSet rs = st.executeQuery(); |
Also available in: Unified diff