自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 Python Flask学习day1

学习第一天

2023-11-25 18:02:44 28

原创 错误记录:You have an error in your SQL syntax; check the manual that corresponds to your MySQL

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition, price) values (101, '买', 40, '南京', '东', 300.0)' at lin...

2020-05-07 21:02:37 276

原创 错误记录:[SSH] Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from transaction

这个错我试了很多: 方法一:spring配置文件中加上 <!-- 配置事务通知 <tx:advice id="txAdvice" transaction-manager="transactionManager"> <tx:attributes > --> <!-- 事务管理策略,...

2020-04-28 22:06:43 332

原创 错误记录:A different object with the same identifier value was already associated with the session :

Session session = getHibernateTemplate().getSessionFactory().getCurrentSession();//获取当前session session(entity);//解决游离态对象,该方法应该是根据游离态对象的OID,执行select语句,将游离态对象转成了持久化对象, 之后update() 原博客 ...

2020-04-28 21:50:38 346

转载 错误记录 :

Encountered " <ILLEGAL_CHARACTER> "\u00a0 "" at line 1,column 11 空格跟空格也是不一样的,分类如下 \u00A0:不间断空格,主要用在office中,让一个单词在结尾处不会换行显示 \u0020:半角空格(英文符号),代码中常用的 \u3000:全角空格(中文符号),中文文章中使用 参考如下: 作者:鲸夕起 链...

2020-04-21 22:19:09 372

原创 记录Unable to load configuration. - Class: java.net.AbstractPlainSocketImpl File: AbstractPlainSocketI

记录Unable to load configuration. - Class: java.net.AbstractPlainSocketImpl File: AbstractPlainSocketImp 没有在本地形成struts-2.3.dtd文件,所以只有在联网情况下通过http://struts.apache.org/dtds/struts-2.3.dtd去找。把它改为2.1的就可以在联网...

2020-04-16 12:58:35 451

原创 Positional parameter are considered deprecated; use named parameters or JPA-style positional paramet

建议使用命名参数或JPA占位符来代替老的占位符。 老的占位符为: String hql="from Loginusers u where u.userName=?"; Session session=this.getSessionFactory().openSession(); //获得session对象 Query query=session.createQuery(hql...

2020-04-04 16:58:19 264

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除