--- ServerPreparedStatement.java 2014-10-17 08:05:36.000000000 +0200 +++ src/com/mysql/jdbc/ServerPreparedStatement.java 2015-02-18 18:02:58.000000000 +0100 @@ -132,6 +132,7 @@ this.isSet = false; this.value = null; this.isLongData = false; + this.isNull = false; this.longBinding = 0L; this.floatBinding = 0; @@ -2169,10 +2170,10 @@ binding.value = TimeUtil.changeTimezone(this.connection, sessionCalendar, targetCalendar, x, tz, this.connection.getServerTimezoneTZ(), rollForward); - - binding.isNull = false; - binding.isLongData = false; } + + binding.isNull = false; + binding.isLongData = false; } } }