diff --git a/dbms/src/test/java/org/polypheny/db/jdbc/JdbcConnectionTest.java b/dbms/src/test/java/org/polypheny/db/jdbc/JdbcConnectionTest.java index 9883c539cc..f5294f8929 100644 --- a/dbms/src/test/java/org/polypheny/db/jdbc/JdbcConnectionTest.java +++ b/dbms/src/test/java/org/polypheny/db/jdbc/JdbcConnectionTest.java @@ -49,7 +49,8 @@ import org.polypheny.db.TestHelper; import org.polypheny.db.TestHelper.JdbcConnection; import org.polypheny.jdbc.PolyConnection; -import org.polypheny.jdbc.ProtoInterfaceServiceException; +import org.polypheny.jdbc.PrismInterfaceClient; +import org.polypheny.jdbc.PrismInterfaceServiceException; import org.polypheny.jdbc.jdbctypes.PolyphenyBlob; import org.polypheny.jdbc.jdbctypes.PolyphenyClob; @@ -336,7 +337,7 @@ public void abortNotSupportedTest() throws SQLException { @Test public void setInvalidNamespaceTest() { String namespaceName = "nonexistentNamespace"; - assertThrows( ProtoInterfaceServiceException.class, () -> { + assertThrows( PrismInterfaceServiceException.class, () -> { try ( JdbcConnection jdbcConnection = new JdbcConnection( true ) ) { Connection connection = jdbcConnection.getConnection(); connection.setSchema( namespaceName ); diff --git a/dbms/src/test/java/org/polypheny/db/jdbc/JdbcDdlTest.java b/dbms/src/test/java/org/polypheny/db/jdbc/JdbcDdlTest.java index 62425fad4c..1057b888d6 100644 --- a/dbms/src/test/java/org/polypheny/db/jdbc/JdbcDdlTest.java +++ b/dbms/src/test/java/org/polypheny/db/jdbc/JdbcDdlTest.java @@ -35,7 +35,7 @@ import org.polypheny.db.TestHelper; import org.polypheny.db.TestHelper.JdbcConnection; import org.polypheny.db.type.PolyType; -import org.polypheny.jdbc.ProtoInterfaceServiceException; +import org.polypheny.jdbc.PrismInterfaceServiceException; @SuppressWarnings({ "SqlDialectInspection", "SqlNoDataSourceInspection" }) @@ -446,7 +446,7 @@ public void notNullTest() throws SQLException { boolean failed = false; try { statement.executeUpdate( "INSERT INTO ddltest(tprimary) VALUES ( null, null, null, null, null, 1, null, null, null, null, null )" ); - } catch ( ProtoInterfaceServiceException e ) { + } catch ( PrismInterfaceServiceException e ) { failed = true; } assertTrue( failed ); diff --git a/plugins/proto-interface/src/main/java/org/polypheny/db/protointerface/PIClient.java b/plugins/proto-interface/src/main/java/org/polypheny/db/protointerface/PIClient.java index fedf51e511..b11b6c28d2 100644 --- a/plugins/proto-interface/src/main/java/org/polypheny/db/protointerface/PIClient.java +++ b/plugins/proto-interface/src/main/java/org/polypheny/db/protointerface/PIClient.java @@ -67,7 +67,7 @@ public PIClient( public Transaction getCurrentOrCreateNewTransaction() { synchronized ( this ) { if ( currentTransaction == null || !currentTransaction.isActive() ) { - currentTransaction = transactionManager.startTransaction( catalogUser.id, namespace.id, false, "ProtoInterface" ); + currentTransaction = transactionManager.startTransaction( catalogUser.id, namespace.id, false, "PrismInterface" ); } return currentTransaction; }