hibernate往数据库增删改查的编码问题

<!-- 设置编码方式为utf-8 -->  
<property name="hibernate.connection.characterEncoding">utf-8</property> 
 <!-- 是否根据需要自动建表 --> 
 <property name="hbm2ddl.auto">update</property> 

猜你喜欢

转载自blog.csdn.net/zhang_sheng_nian/article/details/82384333