[
https://issues.apache.org/jira/browse/EMPIREDB-300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rainer Döbele closed EMPIREDB-300.
----------------------------------
> Problem with prepared statements when using booleans with SelectInputControl
> ----------------------------------------------------------------------------
>
> Key: EMPIREDB-300
> URL: https://issues.apache.org/jira/browse/EMPIREDB-300
> Project: Empire-DB
> Issue Type: Improvement
> Components: Core
> Affects Versions: empire-db-2.4.7
> Reporter: Jan Glaubitz
> Assignee: Jan Glaubitz
> Priority: Major
> Fix For: empire-db-2.5.0
>
>
> When you use the SelectInputControl for BOOL types (to allow null, yes, no)
> it works as long as you dont use prepared statements.
> When using prepared statements the values "true"/"false" are not converted to
> true/false and the statement fails (postgres: ERROR: column "col" is of type
> boolean but expression is of type character varying Hint: You will need to
> rewrite or cast the expression..
--
This message was sent by Atlassian Jira
(v8.20.1#820001)