title: How to map java.time.LocalTime with milliseconds to a java.sql.Time with miliseconds
body: <p>How can I convert a <code>java.time.LocalTime</code> with fractions of second (micro/milli/nano) to a <code>java.sql.Time</code>?</p>
  
  <p>I know that since 2.x version of <code>spring-data-jpa</code> those types (JSR310) have their custom converters that maps to legacy <code>java.sql.Date</code> and <code>java.sql.Timestamp</code> but i'm having a lot of problems with the fraction of a second part of a <code>LocalTime</code>. </p>