You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the field to which @convert is applied is used as a search condition,
if true is returned to the casebuilder statement in select, the @convert is not applied to the parameter in the where statement.
Observed : select case when runsubject0_.Contents_Grade_Cd='' then 1 else 1 end as col_0_0_ from TBL_RUN_SUBJECT runsubject0_ where runsubject0_.Pass_Confirmed_Yn=1
expected behavior : select case when runsubject0_.Contents_Grade_Cd='' then 1 else 1 end as col_0_0_ from TBL_RUN_SUBJECT runsubject0_ where runsubject0_.Pass_Confirmed_Yn='Y'
result : select case when runsubject0_.Contents_Grade_Cd='' then 1 else 1 end as col_0_0_ from TBL_RUN_SUBJECT runsubject0_ where runsubject0_.Pass_Confirmed_Yn=1
If the sample query does not return true to the case builder, @convert is normally applied.
result : select case when runsubject0_.Contents_Grade_Cd='' then 1 else 1 end as col_0_0_ from TBL_RUN_SUBJECT runsubject0_ where runsubject0_.Pass_Confirmed_Yn='Y'
Environment
Querydsl version: 4.2.1
Querydsl module: com.querydsl:querydsl-core:4.2.1
Database: mariadb
JDK: 1.8
The text was updated successfully, but these errors were encountered:
Observed vs. expected behavior
When the field to which @convert is applied is used as a search condition,
if true is returned to the casebuilder statement in select, the @convert is not applied to the parameter in the where statement.
Observed : select case when runsubject0_.Contents_Grade_Cd='' then 1 else 1 end as col_0_0_ from TBL_RUN_SUBJECT runsubject0_ where runsubject0_.Pass_Confirmed_Yn=1
expected behavior : select case when runsubject0_.Contents_Grade_Cd='' then 1 else 1 end as col_0_0_ from TBL_RUN_SUBJECT runsubject0_ where runsubject0_.Pass_Confirmed_Yn='Y'
Steps to reproduce
result : select case when runsubject0_.Contents_Grade_Cd='' then 1 else 1 end as col_0_0_ from TBL_RUN_SUBJECT runsubject0_ where runsubject0_.Pass_Confirmed_Yn=1
If the sample query does not return true to the case builder, @convert is normally applied.
result : select case when runsubject0_.Contents_Grade_Cd='' then 1 else 1 end as col_0_0_ from TBL_RUN_SUBJECT runsubject0_ where runsubject0_.Pass_Confirmed_Yn='Y'
Environment
Querydsl version: 4.2.1
Querydsl module: com.querydsl:querydsl-core:4.2.1
Database: mariadb
JDK: 1.8
The text was updated successfully, but these errors were encountered: