이 콘텐츠는 선택한 언어로 제공되지 않습니다.
12.5.7. The SessionFactory Registry
12.5.7.1. SessionFactory Registry 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
While it is best practice to treat instances of all the registry types as targeting a given
org.hibernate.SessionFactory
, the instances of services in this group explicitly belong to a single org.hibernate.SessionFactory
.
The difference is a matter of timing in when they need to be initiated. Generally they need access to the
org.hibernate.SessionFactory
to be initiated. This special registry is org.hibernate.service.spi.SessionFactoryServiceRegistry