Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CrudRepository 수정 사항 #1

Open
dongx0915 opened this issue Aug 4, 2023 · 0 comments
Open

CrudRepository 수정 사항 #1

dongx0915 opened this issue Aug 4, 2023 · 0 comments

Comments

@dongx0915
Copy link
Member

  1. BaseEntity 인터페이스 생성
  • Entity 클래스들은 BaseEntity를 implements 하드록 함
  • Crud의 제네릭 타입을 BaseEntity의 하위 타입으로 지정해주면 Entity가 아닌 다른 타입이 들어오는 것을 제한할 수 있음
  1. Sql Injection 처리
  • 쿼리를 동적으로 생성할 때 이스케이프 처리가 없음
  • 주의 필요
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant