registerFunction() ์ธ์ ์์
์ ๋ ๊ฐ์ ๋ฌธ์ ์์๋๋ฐ ๋ค์๊ณผ ๊ฐ์ด migration ํ๋ ๋๋ค์ ์ฐธ๊ณ ํ์๊ธธ.MyH2Dialect.classpublic class MyH2Dialect extends H2Dialect { @Override public void contributeFunctions(FunctionContributions functionContributions) { functionContributions .getFunctionRegistry() .register("group_concat", new StandardSQLFunction("group_concat", StandardBasicTypes.STRING)); } }๊ทผ๋ฐ ์ด์ธ์๋ Member์ @Id @GeneratedValue(strategy = GenerationType.IDENTITY)๋ก ๊ณ ์น๊ณ , persistence.xml์ ๋ค์๊ณผ ๊ฐ์ด ๊ณ ์ณ์ผ ๋ฉ๋๋ค.Member.class@Entity @Getter @Setter public class Member { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; // ์ดํ ์๋ต }persistence.xml ๋ํ pom.xml์ hibernate-entitymanager dependency๋ฅผ 5.6.15.Final ๋ฒ์ ์ถ๊ฐํด์คฌ์ต๋๋ค.h2 ๋ฒ์ ์ 2.2.220 ์ฌ์ฉํ์ต๋๋ค.