...Hibernate持久化对象的三个状态 02月14日 关键词: 旅程对象状态三个 Hibernate中的对象有3中状态,瞬时对象(TransientObjects)、持久化对象(PersistentObjects)和...
基于6个网页-相关网页
例如,上一次我们看到了,不能划分对象的生命周期会导致,在试图将元数据关联到瞬时对象时出现意外的对象保持。
For example, last time we saw how failing to demarcate an object's lifecycle could cause unintentional object retention when trying to associate metadata with transient objects.
有多方面的考虑(版本控制,瞬时对象,枚举常量时,使用对象序列化等),所以我建议做一些阅读的主题。
There are a number of considerations (versioning, transient objects, Enum constants, etc.) when using object serialization, so I would suggest you do some reading about the subject.
我们没有修改会话对象中保存瞬时信息的代码。
We did not make changes to the code that stores transient information in session objects.
应用推荐