Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VAR_STRING / STRING handling in ColumnType.scala #64

Open
rdegraafwhizzkit opened this issue Jun 30, 2016 · 0 comments
Open

VAR_STRING / STRING handling in ColumnType.scala #64

rdegraafwhizzkit opened this issue Jun 30, 2016 · 0 comments

Comments

@rdegraafwhizzkit
Copy link

ColumnType.scala gives us some errors on VAR_STRING and STRING values. Data stored in these kinds of columns seems to be typically byte[]. Implicit conversion using

column.valueOption[String].getOrElse("")

fails. We now use a (imperfect) patched version which is attached. Imperfect by means that it assumes UTF-8 as encoding, something that should be read from the database column definition in the future.

ColumnType.scala.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant