{"height":"190","image_url":null,"url":"https://omiend.hatenablog.jp/entry/2016/11/10/164055","width":"100%","author_url":"https://blog.hatena.ne.jp/omiend/","blog_url":"https://omiend.hatenablog.jp/","title":"ScalikeJDBC\u3067DDD\u7684\u306a","published":"2016-11-10 16:40:55","blog_title":"the industrial","description":"\u5927\u3057\u305f\u3053\u3068\u3067\u306f\u306a\u3044\u306e\u3060\u3051\u3069\u3001\u4fbf\u5229\u305d\u3046\u3060\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002 Long\u5024\u3067\u3042\u308b\u5f93\u696d\u54e1ID\u3092\u660e\u793a\u7684\u306b\u578b\u3068\u3057\u3066\u4fdd\u6301\u3057\u305f\u3044\u30cb\u30fc\u30ba\u304c\u3042\u308b\u3068\u3057\u3066\u3001\u3053\u3093\u306a case class \u304c\u3042\u3063\u305f\u3068\u3059\u308b\u3002 case class EmployeeId(value: Long) SQL\u306eWHERE\u53e5\u3092\u7d44\u307f\u7acb\u3066\u308b\u969b\u3001\u4e0b\u8a18\u306e\u69d8\u306b\u306a\u308b val where = sqls.eq(Employees.e.employeeId, employeeId.value) \u3053\u306e .value \u304c\u3061\u3087\u3063\u3068\u7169\u308f\u3057\u3044\u306a\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3060\u3051\u3069\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a implicit conversion \u3092\u5b9a\u7fa9\u3057\u3066\u304a\u304f\u3068 implicit val intParame\u2026","categories":["PROGRAMMING","Scala"],"author_name":"omiend","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fomiend.hatenablog.jp%2Fentry%2F2016%2F11%2F10%2F164055\" title=\"ScalikeJDBC\u3067DDD\u7684\u306a - the industrial\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","provider_name":"Hatena Blog","provider_url":"https://hatena.blog"}