A bearing assembly is proposed which includes a rotational speed detector
including a sensor and a sensor holder made of steel. The sensor is
adapted to be snap-fitted in the sensor holder. The sensor holder is
subjected to cationic electrocoating to improve its corrosion resistance,
thereby preventing the sensor from separating from the sensor holder
after long use of the bearing assembly. This improves the reliability of
the entire bearing assembly.