Package org.hibernate.type

Class BasicTypeRegistry

    • Constructor Detail

    • Method Detail

      • getRegisteredType

        public <J> BasicType<J> getRegisteredType​(String key)
      • getRegisteredType

        public <J> BasicType<J> getRegisteredType​(Type javaType)
      • getRegisteredType

        public <J> BasicType<J> getRegisteredType​(Class<J> javaType)
      • resolve

        public <J> BasicType<J> resolve​(Class<J> javaType,                                int sqlTypeCode)
      • resolve

        public <J> BasicType<J> resolve​(Type javaType,                                int sqlTypeCode)
      • resolve

        public <J> BasicType<J> resolve​(JavaType<J> javaType,                                int sqlTypeCode)
      • resolve

        public <J> BasicType<J> resolve​(JavaType<J> javaType,JdbcType jdbcType,Supplier<BasicType<J>> creator)
        Find an existing BasicType registration for the given JavaType and JdbcType combo or create (and register) one.
      • register

        public void register​(BasicType<?> type)
      • unregister

        public void unregister​(String... keys)
      • addTypeReferenceRegistrationKey

        @Internalpublic void addTypeReferenceRegistrationKey​(String typeReferenceKey,String... additionalTypeReferenceKeys)
      • isPrimed

        public boolean isPrimed()
      • primed

        public void primed()
      • addPrimeEntry

        public void addPrimeEntry​(BasicType<?> type,String legacyTypeClassName,String[] registrationKeys)