사용자 도구

사이트 도구


java:hibernate:test

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판 양쪽 다음 판
java:hibernate:test [2016/09/18 16:07]
kwon37xi
java:hibernate:test [2016/09/18 16:09]
kwon37xi
줄 44: 줄 44:
         // configuration.addAnnotatedClass(ClassName) 형태로 @Entity들 추가         // configuration.addAnnotatedClass(ClassName) 형태로 @Entity들 추가
  
-        configuration.setProperty("hibernate.show_sql", "true");+        configuration.setProperty("hibernate.show_sql", "false");  // logger 에서 로깅할것.
         configuration.setProperty("hibernate.format_sql", "true");         configuration.setProperty("hibernate.format_sql", "true");
-        configuration.setProperty("hibernate.hbm2ddl.auto", "update"); 
         configuration.setProperty("hibernate.dialect", "org.hibernate.dialect.H2Dialect");         configuration.setProperty("hibernate.dialect", "org.hibernate.dialect.H2Dialect");
         configuration.setProperty("hibernate.connection.driver_class", "org.h2.Driver");         configuration.setProperty("hibernate.connection.driver_class", "org.h2.Driver");
java/hibernate/test.txt · 마지막으로 수정됨: 2016/09/24 15:11 저자 kwon37xi