728x90
@Table
Entity와 매핑할 테이블 지정
속성
속성 | 기능 | 기본값 |
name | 매핑할 테이블 이름 | Entity 이름 사용 |
catalog | DB catalog 매핑 | |
schema | DB schema 매핑 | |
uniqueConstraints (DDL) |
DDL 생성시에 유니크 제약 조건 생성 |
참고
728x90
'Spring' 카테고리의 다른 글
[JPA] @Temporal (1) | 2024.12.20 |
---|---|
[JPA] @Enumerated (0) | 2024.12.09 |
[JPA] @Entity (0) | 2024.12.04 |
[JPA] @Column (0) | 2024.12.02 |
[Spring] @PathVariable (0) | 2024.09.23 |