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

From: Vernon E <vwu98034(at)lycos(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Which Java class in the new java.time package shall be used to mapped timestamp?
Date: 2014-03-11 21:54:36
Message-ID: 1821595371.107318.1394574876616.JavaMail.mail@webmail16
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

<div>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:</div>
<div>&nbsp;</div>
<div>
<pre>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.<br /><br />Which class I shall use?<br /><br /><br /><br /></pre>
</div>

Attachment Content-Type Size
unknown_filename text/html 436 bytes

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message David Wall 2014-03-11 22:37:46 Re: Which Java class in the new java.time package shall be used to mapped timestamp?
Previous Message alexandros_e 2014-03-07 20:38:47 C++ read int array with libpqxx