ssh2环境下的hibernate搜索中文乱码问题解决

 
关键配置如下:
 
<property name= "hibernateProperties">
      <props>
        <prop key= "hibernate.query.factory_class">
          org.hibernate.hql.classic.ClassicQueryTranslatorFactory
        </prop>
        <prop key= "hibernate.dialect">
          org.hibernate.dialect.MySQLDialect
        </prop>
        <prop key= "hibernate.show_sql"> false</prop>
      </props>
    </property>
 
 

你可能感兴趣的:(Hibernate,职场,休闲)