int platformClobType = databasePlatform.getClobDbType(); int platformBlobType = databasePlatform.getBlobDbType();
/** * Create the DefaultTypeManager. */ public DefaultTypeManager(ServerConfig config, BootupClasses bootupClasses) { int clobType = config == null ? Types.CLOB : config.getDatabasePlatform().getClobDbType(); int blobType = config == null ? Types.BLOB : config.getDatabasePlatform().getBlobDbType(); this.checkImmutable = new CheckImmutable(this); this.reflectScalarBuilder = new ReflectionBasedTypeBuilder(this); this.compoundTypeMap = new ConcurrentHashMap<Class<?>, CtCompoundType<?>>(); this.typeMap = new ConcurrentHashMap<Class<?>, ScalarType<?>>(); this.nativeMap = new ConcurrentHashMap<Integer, ScalarType<?>>(); this.extraTypeFactory = new DefaultTypeFactory(config); initialiseStandard(clobType, blobType); initialiseJodaTypes(); if (bootupClasses != null) { initialiseCustomScalarTypes(bootupClasses); initialiseScalarConverters(bootupClasses); initialiseCompoundTypes(bootupClasses); } }
/** * Create the DefaultTypeManager. */ public DefaultTypeManager(ServerConfig config, BootupClasses bootupClasses) { int clobType = config == null ? Types.CLOB : config.getDatabasePlatform().getClobDbType(); int blobType = config == null ? Types.BLOB : config.getDatabasePlatform().getBlobDbType(); this.checkImmutable = new CheckImmutable(this); this.reflectScalarBuilder = new ReflectionBasedTypeBuilder(this); this.compoundTypeMap = new ConcurrentHashMap<Class<?>, CtCompoundType<?>>(); this.typeMap = new ConcurrentHashMap<Class<?>, ScalarType<?>>(); this.nativeMap = new ConcurrentHashMap<Integer, ScalarType<?>>(); this.extraTypeFactory = new DefaultTypeFactory(config); initialiseStandard(clobType, blobType); initialiseJodaTypes(); if (bootupClasses != null) { initialiseCustomScalarTypes(bootupClasses); initialiseScalarConverters(bootupClasses); initialiseCompoundTypes(bootupClasses); } }