kingbase

kingbase使用问题

乱码问题

创建gb18030的数据库,可以解决。

更换驱动

不支持10

错误

1
pgjdbc: autodetected server-encoding to be ISO-8859-1, if the message is not readable, please check database logs and/or host, port, dbname, user, password, pg_hba.conf

错误

1
See nested exception: org.postgresql.util.PSQLException: ERROR: 关系 "qrtz_triggers" 不存在

查询数据库编码

1
SELECT pg_encoding_to_char(encoding) FROM pg_database WHERE datname = 'your_database_name';

对模式xx权限不够

1
Caused by: org.postgresql.util.PSQLException: ERROR: 对模式 cems 权限不够