/** * Map the UUID appropriately based on native DB support and ServerConfig.DbUuid. */ public void config(boolean nativeUuidType, ServerConfig.DbUuid dbUuid) { if (nativeUuidType && dbUuid.useNativeType()) { put(DbType.UUID, UUID_NATIVE); } else if (dbUuid.useBinary()) { put(DbType.UUID, get(DbType.BINARY).withLength(16)); } else { put(DbType.UUID, get(DbType.VARCHAR).withLength(40)); } } }
put(DbType.JSONVARCHAR, JSON_VARCHAR_PLACEHOLDER); put(DbType.UUID, get(DbType.VARCHAR).withLength(40));