[CONJ-254] Error in boolean when using scala anorm string interpolation Created: 2016-02-17  Updated: 2016-02-20  Resolved: 2016-02-20

Status: Closed
Project: MariaDB Connector/J
Component/s: Other
Affects Version/s: 1.3.2, 1.3.1, 1.3.3, 1.3.4, 1.3.5
Fix Version/s: 1.3.6

Type: Task Priority: Major
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None


 Description   

Boolean value when using the scala anorm string interpolation on boolean value, always return true.

working examples :
SQL(s"select * from examples where id = $id")
SQL"select * from examples where id = #$id".

error :
SQL"select * from examples where id = $id".

Using option "useServerPrepStmts=false" correct the problem.



 Comments   
Comment by Diego Dupin [ 2016-02-20 ]

done with commit https://github.com/MariaDB/mariadb-connector-j/commit/16ad03767a0f1b3a39b1ef867e69122e47e4451d

Generated at Thu Feb 08 03:14:19 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.