While building application using Scala, Slick. We wanted to use java.util.date instead of the java.sql.date as sql date losses time information. As soon we introduced java.util.date in Slick Table it started throwing exception, No matching Shape found. Slick does not know how to map the given types.
While investigation, I found that Slick does not have a implicit mapping for the java.util.date, So i decided to write my own mapping for the same. I am writing this blog hoping this may help some buddy else in case they want to use java.util.date in the Slick Tables.
Slick mapping for java.util.date