{"title":"\u3010Hibernate\u3011NativeQuery.setProperties \u3067\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u30bb\u30c3\u30c8\u306bPOJO\u3092\u4f7f\u3046","author_url":"https://blog.hatena.ne.jp/tmg1998/","height":"190","blog_url":"https://tmg0525.hatenadiary.jp/","author_name":"tmg1998","description":"hibernate \u306eSQL\u5b9f\u884c\u6642\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30bb\u30c3\u30c8\u306bPOJO\u304c\u4f7f\u3048\u305f\u306e\u304c\u4fbf\u5229\u305d\u3046\u3060\u304b\u3089\u30e1\u30e2\u3063\u3066\u304a\u304f org.hibernate.query.NativeQuery.setProperties()\u3092\u4f7f\u3046\u3053\u3068\u3067\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u30bb\u30c3\u30c8\u306bPOJO\u304c\u4f7f\u3048\u308b // Dao.java @Override public void insert(People people) { Session session = sessionFactory.getCurrentSession(); NativeQuery query = session.createNativeQuery(\"insert into people\u2026","image_url":null,"width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftmg0525.hatenadiary.jp%2Fentry%2F2019%2F08%2F08%2F123335\" title=\"\u3010Hibernate\u3011NativeQuery.setProperties \u3067\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u30bb\u30c3\u30c8\u306bPOJO\u3092\u4f7f\u3046 - TIL\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","published":"2019-08-08 12:33:35","categories":["java","hibernate"],"blog_title":"TIL","type":"rich","url":"https://tmg0525.hatenadiary.jp/entry/2019/08/08/123335","provider_url":"https://hatena.blog","provider_name":"Hatena Blog"}