Skip to content

JPA의 Entity는 왜 기본 생성자를 가져야 하는가? #11

@suhyunsim

Description

@suhyunsim

JPA 2.0

  • The no-argument constructor is a requirement (tools like Hibernate use reflection on this constructor to instantiate objects).
  • 엔티티는 반드시 파라미터가 없는 (no-arg) public 또는 protected 생성자가 있어야 한다.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions