postgresql - Table names are encoded incorrectly -
i'm using grails 2.4.3 on tomcat 7.0 postgresql 9.4. have domain object called iteration
. if run grails without tomcat, iteration
table created. when try run war inside tomcat, ıteration
table created instead of iteration
.
i did not set in tomcat configuration files or tomcat service enable utf-8 encoding.
what may cause problem occur?
edit: here production settings in datasource.groovy:
production { datasource { dbcreate = "" url = "jdbc:postgresql://localhost:5432/db" driverclassname = "org.postgresql.driver" username = "postgres" password = "password" dialect = "net.kaleidos.hibernate.postgresqlextensionsdialect" logsql = false properties { jmxenabled = true initialsize = 5 maxactive = 50 minidle = 5 maxidle = 25 maxwait = 10000 maxage = 10 * 60000 timebetweenevictionrunsmillis = 1800000 minevictableidletimemillis = 1800000 validationquery = "select 1" validationquerytimeout = 3 validationinterval = 15000 testonborrow = true testwhileidle = true testonreturn = false jdbcinterceptors = "connectionstate" } } }
Comments
Post a Comment