Hibernate/JPA import.sql utf8 characters corrupted

后端 未结 4 1897
感情败类
感情败类 2020-12-31 07:48

I\'m using import.sql to write my development data to DB. I\'m using MySQL Server 5.5 and my persistence.xml is here:



        
4条回答
  •  难免孤独
    2020-12-31 08:12

    I'm using import.sql to populate database on test phase and this link has helped me to solve encoding problem: http://javacimrman.blogspot.ru/2011/07/hibernate-importsql-encoding-when.html.

提交回复
热议问题