Whiteship
  • Home
  • 인프런 강의
  • Java
  • Spring
  • JPA
  • SDE Tips
Subscribe
Tagged

Spring configuration

A collection of 1 post

hibernate configuration

1-3. 기본 설정 하기

src 폴더에 파일 두 개를 생성합니다. 하나는 log4j.properties 하나는 database.properties 입니다. log4j.properties파일은 logging과 관련된 설정파일이고 database.properties는 db 연결을 설정하는 것과 관련된 설정파일 같습니다. database.properties의 내용은 다음과 같습니다. ## data source jdbc connection#db.driver=org.postgresql.Driverdb.url=jdbc:postgresql:webapp2db.username=postgresdb.password=webapp2 # # hibernate#

  • 백기선
백기선 Dec 27, 2006 • 4 min read
Whiteship © 2022
Powered by Ghost