Class BasicTypeRegistry

    • Constructor Detail

      • BasicTypeRegistry

        public BasicTypeRegistry​(TypeConfiguration typeConfiguration)
    • 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> jtdToUse,
                                        int sqlTypeCode)
      • resolve

        public <J> BasicType<J> resolve​(JavaType<J> jtdToUse,
                                        JdbcType stdToUse)
        Find an existing BasicType registration for the given JavaType descriptor and JdbcType descriptor combo or create (and register) one.
      • resolve

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

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

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

        public boolean isPrimed()
      • primed

        public void primed()
      • addPrimeEntry

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