the error is thrown by the Oracle driver. It seems that the setDouble method of the driver is checking the size of the number and if it is to large for the db column type it rejects it. Maybe this is also related to the bug with infinite number handling as reported in the Oracle forum. Can you check the version of your driver and if it is version 11.2.0.4.0 and if that is the case try version 11.2.0.3.0 instead.