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

java.sql.Date versus java.util.Date #51

Closed
j256 opened this issue Sep 12, 2015 · 2 comments
Closed

java.sql.Date versus java.util.Date #51

j256 opened this issue Sep 12, 2015 · 2 comments

Comments

@j256
Copy link
Owner

j256 commented Sep 12, 2015

Is storing and retrieving of java.sql.Date broken?

http://stackoverflow.com/questions/32536482/i-cant-retrieve-data-from-sqlite-db-using-ormlite

@j256
Copy link
Owner Author

j256 commented Sep 14, 2015

Yes it is under Android. This is a problem with Dates in general. Maybe a better solution would be to add valueToString type methods and then some sort of mustBeStoredAsString() method to the persisters that can be adjusted by the DatabaseType.

@j256
Copy link
Owner Author

j256 commented Jun 8, 2016

This has been fixed.

@j256 j256 closed this as completed Jun 8, 2016
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