Metal fillings conduct heat into the tooth, leading to temperature sensitivity. Both composite and ceramic fillings are better insulators than metal fillings. They protect you from temperature sensitivity. However, composite fillings are soft, and sometimes this softness can lead to pressure sensitivity. Usually, this is because the fillings were used for a cavity that is too large for them.
Ceramic fillings, on the other hand, are hard, and protect your tooth from pressure sensitivity. If you have sensitive fillings, replacing them with ceramic fillings will usually fix the problem.