iss-deweloper / iss

Informational Screens System
MIT License
1 stars 0 forks source link

Not possible to add polish letters in the content name #22

Closed iss-deweloper closed 8 years ago

iss-deweloper commented 9 years ago

Polish letters in a content name (local content) causes exception:

java.sql.SQLException: Incorrect string value: '\xC4\x85tek' for column 'contentTitle' at row 1 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1086) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2617) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2778) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2834) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2156) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2441) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2366) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2350) at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:187)

iss-deweloper commented 9 years ago

It's related to database configuration...

iss-deweloper commented 8 years ago

Use the "iss.sql" file to create database before first run.