Which Java class in the new java.time package shall be used to mapped timestamp?

Vernon E <[email protected]> Tue, 11 Mar 2014 21:54:36 +0000 (UTC)
Newsgroups gmane.comp.db.postgresql.interfaces
Message-ID <1821595371.107318.1394574876616.JavaMail.mail@webmail16>
I have tried both LocalDateTime (without time zone informatio) and ZonedDateTime (with time zone information) in the new java.time package and get a same error:

column "registeration_datetime" is of type timestamp without time zone but expression is of type bytea
Hint: You will need to rewrite or cast the expression.

Which class I shall use?