1
0
-1

Hi, I uesd Hashvariable in JdbcFormBinder (eg. select 'string' from tableA where 1=1 or id = #form.tableName.id?sql#), record is empty so hashvariable is not porceeed. correct sql output is 'string' .  But in jdbcbinder, sql contains ? is treated as not set primarykey, so return directly,  actual output is empty.  I wonder how to avoid this problem ?

(I had debuged the platform source code found this problem)

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Simple use the following SQL guide, for example in a process tool:

      select from app_fd_tableA where id = '#form.tableName.id#'

      Read Hash Variable

        CommentAdd your comment...