Useful Resource :

https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-reference-configuration-properties.html



> On 14 Oct 2018, at 15:02, Gino Pacitti <ginok...@mac.com> wrote:
> 
> use sendFractionalSeconds=false in the connection string :)
> 
>> On 14 Oct 2018, at 12:46, Gino Pacitti <ginok...@mac.com> wrote:
>> 
>> Im looking and looking but the error seems to be here:
>> 
>> Invocations of setNanos() are illegal.
>> java.lang.IllegalStateException: com.webobjects.foundation.NSTimestamp is an 
>> immutable object.  Invocations of setNanos() are illegal.
>>      at com.webobjects.foundation.NSTimestamp.setNanos(NSTimestamp.java:1299)
>>      at 
>> com.mysql.jdbc.TimeUtil.adjustTimestampNanosPrecision(TimeUtil.java:519)
>>      at 
>> com.mysql.jdbc.PreparedStatement.setTimestampInternal(PreparedStatement.java:4282)
>>      at 
>> com.mysql.jdbc.PreparedStatement.setTimestamp(PreparedStatement.java:4245)
>>      at 
>> com.mysql.jdbc.PreparedStatement.setObject(PreparedStatement.java:3591)
>> 
>>> On 14 Oct 2018, at 12:45, Daniel Bietenbeck <daniel.bietenb...@froebus.de> 
>>> wrote:
>>> 
>>> We got the same problem. Any solution yet?
>>> 
>>> Best regards,
>>> Daniel Bietenbeck
>>> 
>>> 
>>>> Am 14.10.2018 um 13:06 schrieb Gino Pacitti <ginok...@mac.com>:
>>>> 
>>>> I just updated my mysql server on linux and columns which are DATETIME and 
>>>> when I am using NSTimestamp for Qualifiers for a query (plus any inserts 
>>>> with a NSTimestamp) are causing errors:
>>>> 
>>>> com.webobjects.foundation.NSTimestamp is an immutable object. Invocations 
>>>> of setNanos() are illegal.
>>>> 
>>>> I have the latest mysql-connector 5.1.47 and it was all working fine but 
>>>> after the upgrade to server all date inserts or queries are failing?
>>>> 
>>>> Anyone have similar or can point me in the right direction…
>>>> 
>>>> Gino
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
>>>> Help/Unsubscribe/Update your Subscription:
>>>> https://lists.apple.com/mailman/options/webobjects-dev/daniel.bietenbeck%40froebus.de
>>>> 
>>>> This email sent to daniel.bietenb...@froebus.de
>>> 
>>> 
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/ginokris%40me.com
>>> 
>>> This email sent to ginok...@me.com
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/ginokris%40me.com
>> 
>> This email sent to ginok...@me.com
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/ginokris%40me.com
> 
> This email sent to ginok...@me.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to