Code example for Connection

Methods: prepareCall

	 *            A string representing a MySQL procedure query. 
	 * @throws SQLException 
	 *             If for some reason the query fails. 
	public void call(String procedureQuery) throws SQLException {
		CallableStatement cStmt = databaseConnection.prepareCall("{call "
				+ procedureQuery + "}");
	 * Commits all the work done in this connection. This may fail if the 
	 * connection is already closed. The connection will be closed if the commit 
	 * is done. 
	public void commit() { 
		try { 
		} catch (SQLException e) {
Stop searching for code, let great code find you!  Add Codota to your java IDE