[
http://opensource.atlassian.com/projects/roller/browse/ROL-1454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_13820
]
Anil Gangolli commented on ROL-1454:
------------------------------------
Try it using a regular ampersand "&" not "&" for the JDBC URL in the
properties file. I don't think you need the XML escape in the plain properties
file.
> abnormal character with database.configurationType:jdbc but normal with jndi
> ----------------------------------------------------------------------------
>
> Key: ROL-1454
> URL:
> http://opensource.atlassian.com/projects/roller/browse/ROL-1454
> Project: Roller
> Issue Type: Improvement
> Components: Database Access & Data Model
> Affects Versions: 4.0
> Environment: tomcat + jdk1.5
> Reporter: tian, scott
> Assignee: Roller Unassigned
>
> When I set database.configurationType to jdbc, the characters saving to
> database are abnormal.
> But with setting database.configurationType to jndi, It's normal.
> I used the same jdbc settings for both jndi and jdbc:
> database.jdbc.driverClass=com.mysql.jdbc.Driver
> database.jdbc.connectionURL=jdbc:mysql://localhost:3306/roller?useUnicode=true&characterEncoding=utf-8&mysqlEncoding=utf8
> database.jdbc.username=scott
> database.jdbc.password=tiger
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/roller/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira