A setParameter function in a Typehander with a MappedTypes annotation for boolean @MappedTypes({boolean.class, Boolean.class}) that used preparedStatement.setInt has caused the problem.
setParameter
@MappedTypes({boolean.class, Boolean.class})
preparedStatement.setInt