å æ¥ã [twitter:@seratch]ããããæãã¦ããã ããQuerydslããããè¯ãã£ãã®ã§è¨äºã¨ãã¦æ¸ãã¾ãã http://www.querydsl.com/ JPAã«ãããèª²é¡ JPAã§ã¯JPQLã¨Criteriaã¨ããäºã¤ã®ã¯ã¨ãªè¨è¿°è¨èªãããã¾ãã ããããªããããããã使ãåæã¨ããæå³ã§ã¯é£ã®ãããã®ã§ããã JPQL JPQLã¯ä»¥ä¸ã®ãããªãSQLã©ã¤ã¯ãªã¯ã¨ãªè¨è¿°è¨èªã§ãã select new com.github.megascus.EmployeeBean(e.code, e.name, e.age) from Employee as e where name like 's%'SQLã©ã¤ã¯ã«è¨è¿°ãããã¨ãã§ãããããSQLãç解ã§ãã人ã«ã¨ã£ã¦ã¯ç解ããããã¨ããå©ç¹ãããã¾ãã ããããªãããJPQLèªä½ã¯ãã ã®æååã§å®ç¾©ããå¿ è¦ãããã¾ãã ãã®ã
{{#tags}}- {{label}}
{{/tags}}