--------------------------------------------------------------数据库迁移出现乱码解决方法----------------------------------------------------------
SSH框架实行数据库Mysql,SqlServer,Oracle迁移,持久层时SqlServer,Oracle进行O/R Map映射时数据库不会发生乱码问题,Mysql要遇到O/R Map映射乱码问题,只需在hibernate.cfg.xml增加<property name="connection.characterEncoding">utf8</property>属性:方可以解决!数据库本身属性造成的。。。