title: Which is best data type for phone number in MySQL and what should Java type mapping for it be?
body: <p>I am using MySQL with the Spring JDBC template for my web application. I need to store phone numbers with only digits (10). I am a little bit confused about data type using data type.</p>
  <ol>
  <li>What is the preferable data type for it in MySQL?</li>
  <li>What should be the Java data type in Bean (POJO) classes for that?</li>
  <li>How can I validate that datatype with javax validations/constraints for length and also only digit allowed?</li>
  </ol>