Package org.gvsig.fmap.dal.store.jdbc2
Class JDBCUtils
java.lang.Object
org.gvsig.fmap.dal.store.jdbc2.JDBCUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddBatch(PreparedStatement st, String sql) static voidclose(Connection conn) static voidstatic voidcloseQuietly(Connection conn) static voidcloseQuietly(ResultSet resulSet) static voidstatic voidexecute(Connection connection, String sql) static voidexecute(Connection connection, List<String> sqls) static voidexecute(PreparedStatement st, String sql) static voidstatic int[]executeBatch(PreparedStatement st, String sql) static ResultSetexecuteQuery(PreparedStatement st, String sql) static ResultSetexecuteQuery(Statement st, String sql) static intexecuteUpdate(PreparedStatement st, String sql) static intexecuteUpdate(Statement st, String sql) static StringgetConnId(Connection conn) static Stringstatic Stringstatic String
-
Method Details
-
getConnId
-
getConnId
-
getConnId
-
getHexId
-
executeQuery
- Throws:
SQLException
-
execute
- Throws:
SQLException
-
execute
- Throws:
SQLException
-
execute
- Throws:
SQLException
-
executeQuery
- Throws:
SQLException
-
execute
- Throws:
SQLException
-
executeUpdate
- Throws:
SQLException
-
executeUpdate
- Throws:
SQLException
-
executeBatch
- Throws:
SQLException
-
addBatch
- Throws:
SQLException
-
closeQuietly
-
closeQuietly
-
closeQuietly
-
close
-
closeQuietly
-