它仅在流程运行的过程中存在,从这个角度来讲,它是瞬态的。
It is transient in the sense that it exists only during the running of the process.
在非常少见的情况下,存储在会话中的某些对象可能被标记为瞬态的。
In rare cases, some objects stored in a session can be marked transient.
缺省情况下,所有字段在JPA中都是持久性的;但是,您可以将一个字段标注为瞬态的,然后可以使用逻辑派生任何字段。
By default, all fields are persistent in JPA; however, you can mark a field as transient, and then you can derive any field using logic. Below, a query is executed to derive a field.
应用推荐