Skip to content

Commit 5a2ab0f

Browse files
committed
AbstractSQLConfig.getValue 修饰符 private 改为 protected 方便子类重写来实现兼容 Oracle DATETIME 等类型,对应 POST/PUT to_date(?,'yyyy-mm-dd hh24:mi:ss')
1 parent d662ca3 commit 5a2ab0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2503,7 +2503,7 @@ public String getSQLKey(String key) {
25032503
* 使用prepareStatement预编译,值为 ? ,后续动态set进去
25042504
*/
25052505
private List<Object> preparedValueList = new ArrayList<>();
2506-
private Object getValue(@NotNull Object value) {
2506+
protected Object getValue(@NotNull Object value) {
25072507
if (isPrepared()) {
25082508
preparedValueList.add(value);
25092509
return "?";

0 commit comments

Comments
 (0)