[Spring] Hibernate.cfx.xml이란
Hibernate.cfg.xml은? XML형식의 설정 파일로, Hibernate에서 사용되는 설정을 정의하는 파일입니다. Hiberrnate 구성을 자세하게 제어하고자 할 때 사용됩니다. 데이터베이스 연결 정보, Hibernate의 동작 방식에 대한 설정, 매핑 정보등을 정의 할 수 있습니다. 아래와 같이 예시를 볼수있습니다. com.mysql.cj.jdbc.Driver jdbc:mysql://localhost:3306/your_database your_username your_password org.hibernate.dialect.MySQLDialect 5 20 300 50 3000 true true update cohttp://m.mysql.cj.jdbc.Driver Hibernate에서 사용하는 J..
Backend
2023. 12. 23. 19:23