Skip to content

Commit 4c7f838

Browse files
authored
Merge pull request #50 from Young-Flash/v3.3.0
update nebula-java to 3.3.0
2 parents 31a72ea + 33fce95 commit 4c7f838

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<dependency>
5252
<groupId>com.vesoft</groupId>
5353
<artifactId>client</artifactId>
54-
<version>3.0-SNAPSHOT</version>
54+
<version>3.3.0</version>
5555
</dependency>
5656

5757
<dependency>

src/main/java/com/vesoft/nebula/jdbc/NebulaConnection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public PreparedStatement prepareStatement(String nGql, int resultSetType,
202202

203203
@Override
204204
public String getSchema() throws SQLException {
205-
return this.graphSpace;
205+
return this.properties.getProperty(NebulaPropertyKey.DBNAME.getKeyName());
206206
}
207207

208208
@Override

src/test/java/RunMeBeforeTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public void createTestGraphSpace() throws SQLException, IOErrorException, AuthFa
8585
poolProperties.put("intervalIdle", 1256);
8686
poolProperties.put("waitTime", 1256);
8787

88-
// when customizedDriver init, it will registers a new instance of itself with the DriverManager.
88+
// when customizedDriver init, it will register a new instance of itself with the DriverManager.
8989
Class.forName("com.vesoft.nebula.jdbc.NebulaDriver");
9090
Connection connection = DriverManager.getConnection(URL, USERNAME, PASSWORD);
9191
Statement statement = connection.createStatement();

0 commit comments

Comments
 (0)