Package org.geotools.jdbc.util
Class SqlUtil
Object
SqlUtil
Builder class for creating prepared statements.
- Author:
- Justin Deoliveira, OpenGeo
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprepare
(Connection conn, String sql) static void
runScript
(InputStream stream, Connection cx) static void
runScript
(InputStream stream, Connection cx, Map<String, String> properties)
-
Constructor Details
-
SqlUtil
public SqlUtil()
-
-
Method Details
-
runScript
- Throws:
SQLException
-
runScript
public static void runScript(InputStream stream, Connection cx, Map<String, String> properties) throws SQLException- Throws:
SQLException
-
prepare
public static SqlUtil.PreparedStatementBuilder prepare(Connection conn, String sql) throws SQLException - Throws:
SQLException
-
prepare
- Throws:
SQLException
-