나는이 기술들의 마녀를 더 잘 결정할 프로젝트를 만들고있다. 누구나 최대 절전 모드 핵심, 최대 절전 모드 주석 및 최대 절전 모드 엔터티 관리자 (다른 각자의 이점에 대한 장점) 간의 주요 차이점을 일반적으로 설명 할 수 있습니다 .. 최대 절전 모드 대 JPA?hibernate core, Hibernate annotations 또는 hibernate entity manager
1
A
답변
0
HibernateCore - 이름이 말하는 것처럼, 모두를위한 핵심 - xml 파일을 통해 개체 매핑
최대 절전 모드 주석 - Hibernate의 - 당신이 당신의 엔티티 주석 필드 등
는 EntityManager의 주석 클래스를 매핑 할 수 있습니다이 추가적으로 구성 요소 JPA2 표준의 구현.
나는 개인적으로 annotatios와 함께 Hibernate core를 사용한다. 그러나 모든 새로운 프로젝트가 참여할 것이므로, JPA2와 같은 방식으로 최대 절전 모드를 사용할 것이다.
관련 문제
- 1. java.lang.NoClassDefFoundError : org/hibernate/annotations/Entity
- 2. hibernate annotations
- 3. Hibernate Annotations 메타 데이터
- 4. hibernate annotations 컴파일 오류
- 5. Hibernate java.lang.ClassNotFoundException : Annotations
- 6. liquibase 및 hibernate annotations
- 7. Hibernate annotations double []
- 8. Hibernate Annotations 자바 맵
- 9. JPA annotations = EJB3 annotations = Hibernate annotations?
- 10. javax.persistence. *에 상응하는 hibernate. * annotations
- 11. Hibernate Entity Manager : 결과 세트 매핑
- 12. Hibernate Transaction Manager 호
- 13. hibernate annotations : 순서를 유지하는리스트 매핑
- 14. Hibernate annotations : 1 대 1
- 15. Hibernate Validator 5 Hibernate 3.5와의 버전 호환성
- 16. Hibernate annotations - 날짜를 매핑 할 수 없습니다.
- 17. Hibernate Annotations 패키지 스캔이 작동하지 않는다.
- 18. Hibernate Annotations 프라이 머리 키가없는 테이블의 ID
- 19. Hibernate Tools : Mappings and Annotations Fail
- 20. Entity Manager Hibernate/Spring Roo 오류 - TypedQuery를 만들 수 없습니다.
- 21. hibernate-search와 hibernate-core의 비교
- 22. ehcache가있는 Hibernate 4에는 ehcache-core 라이브러리가 필요합니까?
- 23. Spring, Hibernate, JUnit Annotated Entity
- 24. Hibernate Interceptor
- 25. Hibernate MySQL
- 26. Hibernate HQL 또는 Criteria
- 27. Hibernate Validator - 또는 조건
- 28. Hibernate 객체가 매핑되지 않았습니다.
- 29. Hibernate 질의는
- 30. Hibernate Core 매일/매주 빌드 메이븐 저장소
귀하의 답변을 주셔서 감사합니다, 사실 나는 각 하나의 정의를 알고 있지만 .. 내가 알고 싶은 것은 장점이며 왜 내가 다른 하나의 기술을 사용해야 만합니까? 코드의 이식성에 관한 내용을 읽었습니다. 그리고 다른 것들 .. – Developer007
JPA를 고수하면 코드를 건드리지 않고 구현간에 전환 할 수 있습니다. 나는 그것이 가장 중요한 이점이라고 생각한다 (그리고 나는 정말로 다른 것을 지적 할 수 없다). 표준화되어 있으므로 더 유연하고 기능적이어야하며 버그가 적습니다. (IMHO) – Antoniossss
잘 보입니다. – Developer007