<div>I have tried both LocalDateTime (without time zone informatio) and ZonedDateTime (with time zone information) in
thenew java.time package and get a same error:</div><div> </div><div><pre>column "registeration_datetime" is of type
timestampwithout time zone but expression is of type bytea Hint: You will need to rewrite or cast the expression.<br
/><br/>Which class I shall use?<br /><br /><br /><br /></pre></div>