本帖最后由 shary 于 2012-6-4 15:45 编辑
我创建域或者部门的时候,不能填写中文,如果是中文出错:could not execute query
英文的域或部门 无问题
db是mysql的,基于windows系统的。
我的mysq配置:
[client]
default-character-set=utf8
port=3306
[server]
default-character-set=utf8
[mysql]
default-character-set=utf8
# SERVER SECTION
# ----------------------------------------------------------------------
#
# The following options will be read by the MySQL Server. Make sure that
# you have installed the server correctly (see above) so it reads this
# file.
#
[mysqld]
default-character-set=utf8
# The TCP/IP Port the MySQL Server will listen on
port=3306
。。。。。。
hibernate和proxool配置;
jdbc-0.proxool.driver-class=com.mysql.jdbc.Driver
jdbc-0.proxool.driver-url=jdbc:mysql://localhost:3306/obpm?useUnicode=true&characterEncoding=utf8
jdbc-0.user=root
jdbc-0.password=123456 |