How to use DateTime in Slick2.0?

后端 未结 2 1585
逝去的感伤
逝去的感伤 2021-01-17 21:20

I want to use DateTime in Slick 2.0 model. I use jodatime:

I added the dependencies in Build.scala:

   \"joda-time\" % \"jo         


        
2条回答
  •  梦毁少年i
    2021-01-17 22:17

    Take a look at https://github.com/tototoshi/slick-joda-mapper or you must create your own type mapper

提交回复
热议问题