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

Storing byte[] as BLOB #496

Closed
hamen opened this issue Aug 28, 2015 · 5 comments
Closed

Storing byte[] as BLOB #496

hamen opened this issue Aug 28, 2015 · 5 comments
Assignees
Milestone

Comments

@hamen
Copy link

hamen commented Aug 28, 2015

Hi all
I'm trying to figure out how to store a byte[] as a BLOB.
Right now I get:

Unsupported type of field for StorIOSQLiteColumn annotation,
if you need to serialize/deserialize field of that type -> 
please write your own resolver: Unsupported type: byte[]

Any tip? Thanks.

@artem-zinnatullin
Copy link
Member

Damn, just forgot about blobs (didn't use blobs in sqlite for several years). I'll add it to annotation processor today-tomorrow or if you want to help us a little — you can open a PR, annotation processor is no magic :)

At the moment you can use custom operation resolver.

@hamen
Copy link
Author

hamen commented Aug 28, 2015

Yeah.... BLOB... I know... weird requirements.
Anyhow, thank you. I'll look into it.

@artem-zinnatullin
Copy link
Member

@hamen JFYI I am working on PR, so you can just sit and relax :)

@artem-zinnatullin
Copy link
Member

@hamen just released 1.3.0 with support for byte[] via Annotation Processor, should be available in 10-20 minutes!

@hamen
Copy link
Author

hamen commented Aug 30, 2015

Awesome! First thing in the morning! 😄

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

No branches or pull requests

2 participants