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 Java arrays are used as prepared statement parameters:
valoperatorIds=List(1L, 2L, 3L)
valoperatorIdArray= operatorIds.toArray.map(long2Long)
SQL""" SELECT o.* FROM "operators" AS o WHERE "operatorId" = any($operatorIdArray)"""
Anorm Version
2.6.x
Operating System (Ubuntu 15.10 / MacOS 10.10 / Windows 10)
Mac OS 12.5
JDK
Library Dependencies
"org.postgresql" % "postgresql" % "42.4.1"
Expected Behavior
When Java arrays are used as prepared statement parameters:
The computed SQL type of array elements should be a
BIGINT
(like in PostgreSQL documentation).Actual Behavior
The computed SQL type of array elements is
NUMERIC
.The text was updated successfully, but these errors were encountered: