Date mapping incorrect

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()'