1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.shardingsphere.driver.jdbc.unsupported;
19
20 import org.apache.shardingsphere.driver.jdbc.adapter.WrapperAdapter;
21
22 import java.sql.SQLException;
23 import java.sql.SQLFeatureNotSupportedException;
24 import java.sql.Statement;
25
26
27
28
29 public abstract class AbstractUnsupportedOperationStatement extends WrapperAdapter implements Statement {
30
31 @Override
32 public final void closeOnCompletion() throws SQLException {
33 throw new SQLFeatureNotSupportedException("closeOnCompletion");
34 }
35
36 @Override
37 public final boolean isCloseOnCompletion() throws SQLException {
38 throw new SQLFeatureNotSupportedException("isCloseOnCompletion");
39 }
40
41 @Override
42 public final void setCursorName(final String name) throws SQLException {
43 throw new SQLFeatureNotSupportedException("setCursorName");
44 }
45 }