본문 바로가기
카테고리 없음

2. Requirements

by juniKang 2023. 1. 17.

https://docs.spring.io/spring-data/jdbc/docs/current/reference/html/#requirements

 

Spring Data JDBC - Reference Documentation

Example 10. Repository definitions using domain classes with annotations interface PersonRepository extends Repository { … } @Entity class Person { … } interface UserRepository extends Repository { … } @Document class User { … } PersonRepository re

docs.spring.io

스프링 데이터 JDBC 바이너리는 JDK 8.0 이상, 스프링 프레임워크 6.0.4 이상이 필요하다.

 

데이터베이스 용어로, 스프링 데이터 JDBC는 특정 제공자 입맛에 맞추는 것이 아니라 추상적으로 공통 SQL 기능을 하는 방언을 필요로 한다. 스프링 Data JDBC는 다음 데이터베이스에 직접적인 지원을 포함한다:

  • DB2
  • H2
  • HSQLDB
  • MariaDB
  • Microsoft SQL Server
  • MySQL
  • Oracle
  • Postgres

만약 다른 데이터베이스를 사용하면, 애플리케이션은 시작될 수 없다. 방언 섹션은 몇몇 케이스에서 어떻게 진행해야 되는지 좀더 디테일한 설명을 담고 있다.

 

댓글