Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JDBC 参数 #309

Open
Bpazy opened this issue Oct 24, 2023 · 0 comments
Open

JDBC 参数 #309

Bpazy opened this issue Oct 24, 2023 · 0 comments

Comments

@Bpazy
Copy link
Owner

Bpazy commented Oct 24, 2023

JDBC 参数列表

配置KEY 功能描述 默认值
allowLoadLocalInfile 允许加载本地 Infile false
allowLoadLocalInfileInPath 允许在路径中加载本地 Infile null
allowSourceDownConnections 允许源下行连接 false
allowReplicaDownConnections 允许副本关闭连接 false
readFromSourceWhenNoReplicas 没有副本时从源读取 false
allowMultiQueries 允许多查询 false
allowNANandINF 允许 NaN 和 INF false
allowUrlInLocalInfile 在本地 Infile 中允许 Url false
alwaysSendSetIsolation 始终发送设置隔离 true
autoClosePstmtStreams 自动关闭 Pstmt 流 false
autoDeserialize 自动反序列化 false
autoGenerateTestcaseScript 自动生成测试用例脚本 false
autoReconnect 自动重连 false
autoReconnectForPools 自动重新连接池 false
autoSlowLog 自动慢日志 true
blobsAreStrings blob 是字符串 false
functionsNeverReturnBlobs 函数从不返回 Blob false
blobSendChunkSize blob 发送块大小 1024 * 1024
cacheCallableStmts 缓存可调用语句 false
cachePrepStmts 缓存准备语句 false
cacheResultSetMetadata 缓存 RS 元数据 false
cacheServerConfiguration 缓存服务端配置 false
callableStmtCacheSize 可调用的 Stmt 缓存大小 100
characterEncoding 字符编码 null
characterSetResults 字符集结果 null
clientInfoProvider 客户信息提供者 com.mysql.cj.jdbc.CommentClientInfoProvider
clobberStreamingResults 流结果 false
clobCharacterEncoding clob 字符编码 null
compensateOnDuplicateKeyUpdateCounts 对重复的密钥更新计数进行补偿 false
connectionCollation 连接整理 null
connectionLifecycleInterceptors 连接生命周期拦截器 null
connectTimeout 连接超时 10000
continueBatchOnError 批处理出错继续 true
createDatabaseIfNotExist 如果不存在则创建数据库 false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant