Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

microservice use mysql-docker insert unicode throw SQLException #4887

Closed
anjia0532 opened this issue Jan 17, 2017 · 1 comment
Closed

microservice use mysql-docker insert unicode throw SQLException #4887

anjia0532 opened this issue Jan 17, 2017 · 1 comment
Milestone

Comments

@anjia0532
Copy link
Contributor

exception like this

java.sql.SQLException: Incorrect string value: '\xF0\x9F\x92\x94' for column 'xxx' at row 1  
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)  
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)  
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)  
    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)  
    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)  
    at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2620)  
    at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1662)  
    at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1581) 

PR #4886

@jdubois
Copy link
Member

jdubois commented Jan 17, 2017

Closing as Pr is merged.

@jdubois jdubois closed this as completed Jan 17, 2017
@jdubois jdubois modified the milestone: 4.0.0 Feb 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants