Search before asking
What happened
我的环境,docker 部署的 dinky-1.2.0, flink-1.20,jdk11 。postgresql 版本 PostgreSQL 17.2 (Debian 17.2-1.pgdg120+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit

报错如下:
2024-12-29 21:12:37 [dinky] 2024-12-29 21:12:37.814 ERROR 59 --- [ XNIO-1 task-3] org.dinky.aop.exception.UnKnownExceptionHandler:
2024-12-29 21:12:37 ### Error querying database. Cause: org.postgresql.util.PSQLException: ERROR: could not determine data type of parameter $1
2024-12-29 21:12:37 ### The error may exist in class path resource [mapper/DocumentMapper.xml]
2024-12-29 21:12:37 ### The error may involve defaultParameterMap
2024-12-29 21:12:37 ### The error occurred while setting parameters
2024-12-29 21:12:37 ### SQL: select count(*) as total from dinky_flink_document a where 1 = 1 and a.name like concat('%', ?, '%')
2024-12-29 21:12:37 ### Cause: org.postgresql.util.PSQLException: ERROR: could not determine data type of parameter $1
2024-12-29 21:12:37 ; bad SQL grammar []; nested exception is org.postgresql.util.PSQLException: ERROR: could not determine data type of parameter $1
2024-12-29 21:12:37 org.springframework.jdbc.BadSqlGrammarException:
2024-12-29 21:12:37 ### Error querying database. Cause: org.postgresql.util.PSQLException: ERROR: could not determine data type of parameter $1
2024-12-29 21:12:37 ### The error may exist in class path resource [mapper/DocumentMapper.xml]
2024-12-29 21:12:37 ### The error may involve defaultParameterMap
2024-12-29 21:12:37 ### The error occurred while setting parameters
2024-12-29 21:12:37 ### SQL: select count(*) as total from dinky_flink_document a where 1 = 1 and a.name like concat('%', ?, '%')
2024-12-29 21:12:37 ### Cause: org.postgresql.util.PSQLException: ERROR: could not determine data type of parameter $1
2024-12-29 21:12:37 ; bad SQL grammar []; nested exception is org.postgresql.util.PSQLException: ERROR: could not determine data type of parameter $1
2024-12-29 21:12:37 at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101) ~[spring-jdbc-5.3.31.jar:5.3.31]
What you expected to happen
不报错,能找到。
How to reproduce
按界面操作可以复现。
Anything else
No response
Version
1.2.0
Are you willing to submit PR?
Code of Conduct
Search before asking
What happened
我的环境,docker 部署的 dinky-1.2.0, flink-1.20,jdk11 。postgresql 版本 PostgreSQL 17.2 (Debian 17.2-1.pgdg120+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
报错如下:
What you expected to happen
不报错,能找到。
How to reproduce
按界面操作可以复现。
Anything else
No response
Version
1.2.0
Are you willing to submit PR?
Code of Conduct