We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No exception
java.lang.NullPointerException at com.orientechnologies.orient.jdbc.OrientJdbcStatement.mayCleanForSpark(OrientJdbcStatement.java:363) at com.orientechnologies.orient.jdbc.OrientJdbcStatement.execute(OrientJdbcStatement.java:94) at com.orientechnologies.orient.jdbc.OrientJdbcStatement.executeQuery(OrientJdbcStatement.java:121)
package com.test; import com.orientechnologies.orient.core.db.ODatabaseType; import com.orientechnologies.orient.core.db.OrientDB; import com.orientechnologies.orient.core.db.OrientDBConfig; import com.orientechnologies.orient.jdbc.OrientDataSource; import org.testng.annotations.Test; import java.sql.Connection; import java.sql.SQLException; import java.sql.Statement; public class OrientMemDbTest { @Test public void testJdbcStatement() throws SQLException { final String serverUser = "admin"; final String serverPassword = "admin"; final String dbName = "test"; OrientDB orientDB = new OrientDB("embedded:.", serverUser, serverPassword, OrientDBConfig.defaultConfig()); orientDB.create(dbName, ODatabaseType.MEMORY); OrientDataSource ods = new OrientDataSource(orientDB, dbName); Connection connection = ods.getConnection(serverUser, serverPassword); Statement statement = connection.createStatement(); statement.executeQuery("SELECT FROM V"); } }
The text was updated successfully, but these errors were encountered:
Hi @eirikur-as
I'm checking it, I'll let you know ASAP
Thanks
Luigi
Sorry, something went wrong.
Fix JDBC connection with OrientDataSource(orientDB, dbName)
67b54b4
Resolves: #8831
03833fa
I just pushed a fix, the snapshot will be available in a few hours. It will be released with v 3.0.19
luigidellaquila
No branches or pull requests
OrientDB Version: 3.0.18
Java Version: 8
OS: Ubuntu 18.04
Expected behavior
No exception
Actual behavior
Steps to reproduce
The text was updated successfully, but these errors were encountered: