摘要:
有一个sql用union拼接的如下: tb1表中不存在这个字段所以用'' as NewNametb2,tb3中有这了个字段是varchar的查询以一直报错:StringIndexOutOfBoundsException: String index out of range: 01.但是每个selec 阅读全文
摘要:
开始保存时不能提交数据报错: org.hibernate.HibernateException: Could not obtain transaction-synchronized Session for current thread 然后加@Transactional 注解,保存数据不成功,被回滚 阅读全文