I have a MySQL InnoDB table which contains a column of type 'double'. I am trying to use ConnectorJ to insert a row with the java value of 'NaN' into the column of type 'double'. I have added the allowNanAndInf=true flag to my JDBC connection string, but MySQL continues to throw an exception that 'NaN' is invalid.
Does anyone have any suggestions about what else might be causing the table to reject the 'NaN' value? Is there a better data type for my column? (it needs to support decimals - such as 3.2323)
Thanks.
Does anyone have any suggestions about what else might be causing the table to reject the 'NaN' value? Is there a better data type for my column? (it needs to support decimals - such as 3.2323)
Thanks.