roscopeco / ormdroid

ORMDroid is a simple ORM persistence framework for your Android applications.
http://roscopeco.github.io/ormdroid/
Apache License 2.0
86 stars 24 forks source link

Date mapping incorrect #11

Closed Arvoreen closed 11 years ago

Arvoreen commented 11 years ago

The 'time' value for a Java Date object is a long. So when retrieving it from the database, we need to use 'c.getLong()' instead of 'c.getInt()'

roscopeco commented 11 years ago

Many thanks for this. Changes merged.