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
How to Support List like HashMap? #28
Comments
Unfortunately your image doesn't work so I'm not sure what your error is. By default, your data is Serialized using Gson. You will need to make sure your objects are serializable via that library. Alternatively you may create your own Serializer and Deserializer by implementing DataSerializer and DataDeserializer.
|
the Serialized is ok and i am use the Gson also , my mean is if a entity contains a long list ,like SampleBean2 ' entity ,the entity will save as a long json String in DB ,eg : if the list 's size is big than 1000, sqlite will save the String failure. |
Ok. I'll work on changing the DB to store a byte array which would be On Sun, Jan 17, 2016, 2:45 AM longtaoger notifications@github.com wrote:
|
that may be good idea , i tested the hawk can saved more data on once I/O |
Saving as a byte[] is now in the github. You can build your own copy of the library and try that until I publish a new build to sonatype. |
I want save a list in entify like HashMap
public void testSaveEntities2() throws Throwable {
but the result like this
link
How to Support List like HashMap?
The text was updated successfully, but these errors were encountered: