commit
db60b2b5c9
|
@ -79,6 +79,12 @@
|
||||||
<version>1.2.58</version>
|
<version>1.2.58</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>mysql</groupId>
|
||||||
|
<artifactId>mysql-connector-java</artifactId>
|
||||||
|
<version>5.1.49</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
|
|
@ -411,7 +411,6 @@ public class RestfulConnection implements Connection {
|
||||||
public void setSchema(String schema) throws SQLException {
|
public void setSchema(String schema) throws SQLException {
|
||||||
if (isClosed())
|
if (isClosed())
|
||||||
throw new SQLException(CONNECTION_IS_CLOSED);
|
throw new SQLException(CONNECTION_IS_CLOSED);
|
||||||
|
|
||||||
synchronized (RestfulConnection.class) {
|
synchronized (RestfulConnection.class) {
|
||||||
this.database = schema;
|
this.database = schema;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue