SSH
yasinzhang
不会,我可以学;落后,我可以追赶;跌倒,我可以站起来;我一定行。
展开
-
hibernate插入数据出现乱码
解决办法:<property name="hibernate.connection.url">jdbc:mysql://localhost:3306/hibernate</property>需要在后面添加两句,改为:<property name="hibernate.connection.url">jdbc:mysql://localhost:3306...原创 2019-10-12 11:11:31 · 136 阅读 · 0 评论 -
hibernate中报错could not execute statement
解决办法:将数据库方言中MySQL后面加个5,应该是与数据库的版本有关。<property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>改为:<property name="hibernate.dialect">org.hibernate.dialect...原创 2019-10-12 11:00:45 · 888 阅读 · 0 评论