- 2024-05-19Revision writing
Onceuponatime,achildlesscouplelongedforababy.Buttheirwishnevercometrue.Andthereisagardenbehindtheirhouse.Oneday,thewifefoundaninvitinglettuceinthegarden.However,frightenedandtimid,thewifecouldn’tgetthislettucei
- 2024-05-13My favorite story
Howclearwasaday!Warmsunlightshoneonthesunwhiletheskywasastranquilandmysteriousassapphire.Irolledintheseahappily.Stillimmersinginhappiness,alargefishingnetcaughtmewhenIwasnotpayingattention.Hearingjoyfulvoice“bi
- 2023-06-06Bean的循环依赖问题
1. 什么是Bean的循环依赖 54A对象中有B属性。B对象中有A属性。这就是循环依赖。我依赖你,你也依赖我。比如:丈夫类Husband,妻子类Wife。Husband中有Wife的引用。Wife中有Husband的引用。packagecom.powernode.spring6.bean;/***什么是Bean的循环依赖54*丈夫类54**
- 2023-04-08如何理解单例模式?
单例模式(SingletonPattern):采取一定的方法保证在整个的软件系统中,对某个类只能存在一个对象实例,并且该类只提供一个取得其对象实例的方法。通俗点来讲:就是一个男人只能有一个老婆,一个女人只能有一个老公单例模式一共有8种方式实现,下面一一举例:1、饿汉式(静态常量属性)实现步
- 2023-02-19Hibernate annotation 联合主键
Hibernateannotation联合主键 packagecom.hibernate.entity;importjava.io.Serializable;importjavax.persistence.Entity;importjavax.persistence.GeneratedValu
- 2023-01-20python 字符串格式化
一、%1#%d%f%s2#%ndn为位置的数量,n>0正数居右,n<0正数居左3#%f默认保留小数点后6位,%.nf,n为保留小数点后几位4print("%s有%2d个老婆,每个老婆要给%f两"%
- 2022-10-17sqlalchemy.exc.noforeignkeyserror: could not determine join condition between parent/child tables on
错误提示:sqlalchemy.exc.noforeignkeyserror:couldnotdeterminejoinconditionbetweenparent/childtablesonrelationshipwife.wife-therearenoforeignkey