I Have a prepared statement
INSERT INTO mst(time) VALUES (?);
where time is of type Timestamp in a PostgreSQL database.
I am inserting a Joda DateTime object, or I should say I am trying to. I can find no way to convert the DateTime ovject into a java.sql.Timestamp. I have read the Joda docs and see no reference to this.
Thanks.