Skip to content

Commit

Permalink
Add test cases for MetaDataLoaderConnection (#33234)
Browse files Browse the repository at this point in the history
* Add test cases for NullsOrderType

* Add test cases for MetaDataLoaderConnection

* Add test cases for MetaDataLoaderConnection
  • Loading branch information
terrymanu authored Oct 13, 2024
1 parent 3789f06 commit b4046f7
Show file tree
Hide file tree
Showing 2 changed files with 406 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,31 @@ public void commit() throws SQLException {
connection.commit();
}

@Override
public void rollback() throws SQLException {
connection.rollback();
}

@Override
public void rollback(final Savepoint savepoint) throws SQLException {
connection.rollback(savepoint);
}

@Override
public Savepoint setSavepoint() throws SQLException {
return connection.setSavepoint();
}

@Override
public Savepoint setSavepoint(final String name) throws SQLException {
return connection.setSavepoint(name);
}

@Override
public void releaseSavepoint(final Savepoint savepoint) throws SQLException {
connection.releaseSavepoint(savepoint);
}

@Override
public void close() throws SQLException {
connection.close();
Expand Down Expand Up @@ -225,40 +250,15 @@ public int getHoldability() throws SQLException {
}

@Override
public Savepoint setSavepoint() throws SQLException {
return connection.setSavepoint();
}

@Override
public Savepoint setSavepoint(final String name) throws SQLException {
return connection.setSavepoint(name);
}

@Override
public void rollback() throws SQLException {
connection.rollback();
}

@Override
public void rollback(final Savepoint savepoint) throws SQLException {
connection.rollback(savepoint);
}

@Override
public void releaseSavepoint(final Savepoint savepoint) throws SQLException {
connection.releaseSavepoint(savepoint);
public Blob createBlob() throws SQLException {
return connection.createBlob();
}

@Override
public Clob createClob() throws SQLException {
return connection.createClob();
}

@Override
public Blob createBlob() throws SQLException {
return connection.createBlob();
}

@Override
public NClob createNClob() throws SQLException {
return connection.createNClob();
Expand All @@ -269,6 +269,16 @@ public SQLXML createSQLXML() throws SQLException {
return connection.createSQLXML();
}

@Override
public Array createArrayOf(final String typeName, final Object[] elements) throws SQLException {
return connection.createArrayOf(typeName, elements);
}

@Override
public Struct createStruct(final String typeName, final Object[] attributes) throws SQLException {
return connection.createStruct(typeName, attributes);
}

@Override
public boolean isValid(final int timeout) throws SQLException {
return connection.isValid(timeout);
Expand All @@ -294,16 +304,6 @@ public Properties getClientInfo() throws SQLException {
return connection.getClientInfo();
}

@Override
public Array createArrayOf(final String typeName, final Object[] elements) throws SQLException {
return connection.createArrayOf(typeName, elements);
}

@Override
public Struct createStruct(final String typeName, final Object[] attributes) throws SQLException {
return connection.createStruct(typeName, attributes);
}

@Override
public void abort(final Executor executor) throws SQLException {
connection.abort(executor);
Expand Down
Loading

0 comments on commit b4046f7

Please sign in to comment.