• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: SQL Exeption Error upgrading to mysql 5.6.41
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SQL Exeption Error upgrading to mysql 5.6.41


  • Subject: Re: SQL Exeption Error upgrading to mysql 5.6.41
  • From: Gino Pacitti <email@hidden>
  • Date: Sun, 14 Oct 2018 12:46:44 +0100

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 <email@hidden>
> wrote:
>
> We got the same problem. Any solution yet?
>
> Best regards,
> Daniel Bietenbeck
>
>
>> Am 14.10.2018 um 13:06 schrieb Gino Pacitti <email@hidden
>> <mailto:email@hidden>>:
>>
>> 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      (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>>
>> This email sent to email@hidden
>> <mailto:email@hidden>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden
> <mailto:email@hidden>)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden <mailto:email@hidden>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: SQL Exeption Error upgrading to mysql 5.6.41 - SOLVED
      • From: Gino Pacitti <email@hidden>
References: 
 >SQL Exeption Error upgrading to mysql 5.6.41 (From: Gino Pacitti <email@hidden>)
 >Re: SQL Exeption Error upgrading to mysql 5.6.41 (From: Daniel Bietenbeck <email@hidden>)

  • Prev by Date: Re: SQL Exeption Error upgrading to mysql 5.6.41
  • Next by Date: Re: SQL Exeption Error upgrading to mysql 5.6.41 - SOLVED
  • Previous by thread: Re: SQL Exeption Error upgrading to mysql 5.6.41
  • Next by thread: Re: SQL Exeption Error upgrading to mysql 5.6.41 - SOLVED
  • Index(es):
    • Date
    • Thread