show sql语句可以看到,插入值全部为问号,无法保存,咋回事啊?
<!-- cfg.xml 文件 --> <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/[your DatanasesName]?useUnicode=true&characterEncoding=utf8</property> <!-- 加上 ? 后面的 -->