ryancarlson/sql2o — pull request #6 by ryancarlson (2013-12-25 23:23:15+00:00)
Title: Handle timestamps

The Joda DateTime parameter should be converted to a Timestamp so the time factor is not lost. Converting to a java.sql.Date loses any time associated with the DateTime.

If it's desired to just save a Date, then a joda LocalTime should be accepted as a separate parameter and it can be converted to a java.sql.Date.

Should return a DateTime in UTC. Otherwise timezone of the JVM is assumed, which could be problematic.