Connection properties for mysql in docker.

Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/9e20c550
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/9e20c550
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/9e20c550

Branch: refs/heads/master
Commit: 9e20c550ca9873fd54af7068009fbaa9048b79b9
Parents: 4d1d721
Author: Ruslan Ibragimov <rus...@ibragimov.by>
Authored: Tue Dec 6 19:34:45 2016 +0300
Committer: Ruslan Ibragimov <rus...@ibragimov.by>
Committed: Tue Dec 6 19:34:45 2016 +0300

----------------------------------------------------------------------
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/9e20c550/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index a77c5f9..ae73ef6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1352,7 +1352,7 @@
                                                                
<cayenneAdapter>org.apache.cayenne.dba.mysql.MySQLAdapter</cayenneAdapter>
                                                                
<cayenneJdbcUsername>root</cayenneJdbcUsername>
                                                                
<cayenneJdbcPassword></cayenneJdbcPassword>
-                                                               
<cayenneJdbcUrl>jdbc:mysql://${db.host}:${db.port}/cayenne</cayenneJdbcUrl>
+                                                               
<cayenneJdbcUrl>jdbc:mysql://${db.host}:${db.port}/cayenne?useUnicode=true&amp;characterEncoding=UTF-8&amp;generateSimpleParameterMetadata=true</cayenneJdbcUrl>
                                                                
<cayenneJdbcDriver>com.mysql.jdbc.Driver</cayenneJdbcDriver>
                                                        
</systemPropertyVariables>
                                                </configuration>

Reply via email to