# 객체와 테이블 매핑

엔티티 매핑 소개

1. 객체와 테이블 매핑: @Entity, @Table
2. 필드와 컬럼 매핑: @Column
3. 기본 키 매핑: @Id
4. 연관관계 매핑: @ManyToOne,@JoinColumn

* 기본 생성자 필수 구현\
  JPA를 구현한 라이브러리들이 리플렉션이나 다양한 기술들을 써서 객체를 프록싱하는데 이 때 객체를 동적으로 생성하는 등 작업이 가능하게 하기 위해

1. @Entity
2. @Table


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://heunnajo.gitbook.io/jpa-basic/4./untitled.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
