Skip to content

Commit 7e75671

Browse files
authored
Update SQLExecutor.java
1 parent 9c73e74 commit 7e75671

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

APIJSONORM/src/main/java/apijson/orm/SQLExecutor.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -65,35 +65,35 @@ public interface SQLExecutor {
6565
* @throws SQLException
6666
*/
6767
default ResultSet executeQuery(@NotNull SQLConfig config) throws Exception {
68-
return executeQuery(config, null);
69-
}
68+
return executeQuery(config, null);
69+
}
7070
ResultSet executeQuery(@NotNull SQLConfig config, String sql) throws Exception;
7171

7272
/**执行增、删、改
7373
* @param config
7474
* @return
7575
* @throws SQLException
7676
*/
77-
default int executeUpdate(@NotNull SQLConfig config) throws Exception {
78-
return executeUpdate(config, null);
79-
}
77+
default int executeUpdate(@NotNull SQLConfig config) throws Exception {
78+
return executeUpdate(config, null);
79+
}
8080
int executeUpdate(@NotNull SQLConfig config, String sql) throws Exception;
8181

8282

8383
/**判断是否为JSON类型
84-
* @param config
85-
* @param rsmd
86-
* @param position
87-
* @param lable
88-
* @return
89-
*/
84+
* @param config
85+
* @param rsmd
86+
* @param position
87+
* @param lable
88+
* @return
89+
*/
9090
boolean isJSONType(@NotNull SQLConfig config, ResultSetMetaData rsmd, int position, String lable);
9191

9292

9393
Connection getConnection(@NotNull SQLConfig config) throws Exception;
9494
default Statement getStatement(@NotNull SQLConfig config) throws Exception {
95-
return getStatement(config, null);
96-
}
95+
return getStatement(config, null);
96+
}
9797
Statement getStatement(@NotNull SQLConfig config, String sql) throws Exception;
9898

9999
int getTransactionIsolation();

0 commit comments

Comments
 (0)