JDBC character encoding

前端 未结 4 1362
陌清茗
陌清茗 2020-11-29 03:18

I have a Java Web application running on GlassFish 3 and JPA (EclipseLink) on MySQL. The problem I\'m facing is that if I\'m saving entities to the database with the u

4条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-29 03:28

    New version JDBC driver auto detect the characterEncoding. You do not need to set it explicitly.

提交回复
热议问题