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
Hi,
I created a simple project to reproduce the error. Just run test to see the problem doobiesqlite.tar.gz
I have a simple table with just a column of type BIGINT and a case class with a Long field
When I check the SELECT it works fine, but the INSERT fails with
INSERT INTO test VALUES (?)
✓ SQL Compiles and TypeChecks
✕ P01 Long → VARCHAR (VARCHAR)
Long is not coercible to VARCHAR (VARCHAR) according to the JDBC
specification. Expected schema type was BIGINT.
It seems that the BIGINT turn out to be a VARCHAR for some reason.
PS Sqllite doesn't have BIGINT, but it's automatically mapped to INTEGER
The text was updated successfully, but these errors were encountered:
Hi,
I created a simple project to reproduce the error. Just run
test
to see the problemdoobiesqlite.tar.gz
I have a simple table with just a column of type
BIGINT
and a case class with aLong
fieldWhen I check the
SELECT
it works fine, but theINSERT
fails withIt seems that the
BIGINT
turn out to be aVARCHAR
for some reason.PS Sqllite doesn't have
BIGINT
, but it's automatically mapped toINTEGER
The text was updated successfully, but these errors were encountered: