You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hrm-attendance/WEB-INF/prop/weaver_enableMultiLangEncod...

8 lines
1.5 KiB
Properties

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#enableSQLParser 1代表开启sql解析模式其他值代表不开启默认不开启。在本地数据库(即ecology/WEB-INF/prop/weaver.properties文件中配置的数据库)为sqlserver 的情况下可将执行的sql转化为预处理模式以实现国际化。此功能必须需配合将sqlserevr数据库的varchar字段类型改成nvarchar字段类型才能起作用。
enableSQLParser=0
#enableMultiLangEncoding 1代表开启unicode转码其他值代表不开启默认不开启。在本地数据库为sqlserever且未开启sql解析模式情况下或者本地数据库为oracle字符集不为AL32UTF8情况下将存储或查询的sql参数更改为unicode编码以实现国际化避免对数据库底层编码的依赖。注意在本地数据库为sqlserver且开启了sql解析模式的情况下同时开启unicode转码将采用sql解析模式实现国际化。
enableMultiLangEncoding=0
#nativeDBPoolnameList 开启以上国际化实现方案后此处用于对数据源的配置则必须进行相应配置需将所有使用oa数据库的数据源配置一下。在"后端应用中心-集成中心-数据源设置"中非oa数据库可根据ip+端口号+数据库实例名 唯一确定)的数据源名称一定不能配置与 servername一般都是 ecology相同的数据源名称否则将出现异常 .其他使用OA数据库的数据源则需要配置在nativeDBPoolnameList的内容中格式:datasourcename1,datasourcename2,datasourcename3
nativeDBPoolnameList=ecology