• none: No change to the database structure. (실서버 운영시 기본값)
  • update: Hibernate changes the database according to the given Entity structures. - 변경된 스키마만 적용한다.
  • validate: 변경된 스키마가 있는지 확인만 한다. 만약 변경이 있다면 Application을 종료한다.
  • create: Creates the database every time, but don’t drop it when close. - 시작될 때만 drop하고 다시 생성한다.
  • create-drop: Creates the database then drops it when the SessionFactory closes. - 시작과 종료에서 모두 drop한다.
반응형
블로그 이미지

visualp

c#, java

,