Code example for Connection

Methods: prepareCall

0
	 * 
	 * @param conn a {@link java.sql.Connection} object. 
	 * @throws java.sql.SQLException if any. 
	 */ 
	public CreateDatabaseObjects(final Connection conn) throws SQLException {
		CallableStatement cs = conn.prepareCall(createTableStmt);
		cs.execute();
		cs = conn.prepareCall(alterTableStmt1);
		cs.execute();
		cs = conn.prepareCall(alterTableStmt2);
		cs.execute();
		cs.close();
	} 
} 
Contextual code suggestions in your IDE  Get Codota for Java