About transient

manual

JPA Entity Fields

Explains how to define and use primary keys in JPA, including composite and embedded primary keys.... classified into the following five groups: Transient fields Persistent fields Inverse (Mapped ... Version field The first three groups (transient, persistent and inverse fields) can be used in both entity classes ...

 
issue

ObjectDB enhancement fails on "is" form for @Transient boolean isLoaded(), ok for "getter" form @Transient boolean getLoaded()

Older objectdb-2.4.0_06, Java6. For the following (note the use of "is" form) in a class Element I encounter ObjectDB enhancement errors: ... boolean loaded = false ;   @ Transient @ Override public boolean isLoaded ... boolean loaded = false ;   @ Transient @ Override public boolean getLoaded ( ...

 
api-jpa

JPA Annotations for Fields

Reference (JavaDoc) of JPA 2 field annotations, including @Basic, @Embedded, @EmbeddedId, @Version, @Transient, @Enumerated, @MapKeyEnumerated, @Temporal and @MapKeyTemporal.... javax.persistence.Version javax.persistence.Transient Additional annotations (and enum) are designated for ...

 
forum_thread

@MappedSuperclass and @Transient not working as I expected

The problem could be my expectation, since I'm fairly inexperienced with JPA.  But here is the problem: The base class of my entity hierarchy is annotated as @MappedSuperclass, and one of its fields is annotated @Transient.  I expected that when I persist a subclass, no table would be created for the superclass, and the transient field would not appear in any table. The actual result is that there is a table for the superclass.  When I try to examine it in ObjectDB Explorer, it throws a NPE. ... as @MappedSuperclass, and one of its fields is annotated @Transient.  I expected that when I persist a subclass, no table would be created for the superclass, and the transient field would not appear in any table. The actual result is ...

 
forum_thread

@Transient

Hello, I have a persistent class which looks something like this: @Entity public class Test { private String string; private Date date; @Transient private boolean test; // getters/setters } When I persist the class the transient 'boolean test' is stored in the database, maybe I am doing it wrong but I expect... ; private Date date ;   @ Transient private boolean test ;   // ... } When I persist the class the transient 'boolean test' is stored in the database, maybe I am doing it wrong ... is not stored in the database because it's a (annotated) transient field? Regards, Will ...

 
api-jpa

javax.persistence.Transient

Specifies that the property or field is not persistent.(Annotation of JPA)

 
api-jdo

javax.jdo.PersistenceManager

PersistenceManager is the primary interface for JDO-aware application components.(Interface of JDO)

 
forum_thread

Pre-detach loading: retrieval by navigation not working in if statement

objectdb-2.6.3_04 JDK1.7 VM option at runtime: -javaagent:lib/objectdb.jar Experimental mode: objectdb.temp.no-detach NOT USED ... In addition to the persistent fields my entities have transient computation methods, and calling these during the pre-detach loading ... (and usually does) load everything needed to compute a transient expert system value, which should then be consistently re-computated ...

 
api-jdo

ObjectState.TRANSIENT

(Enum Constant of javax.jdo.ObjectState)

 
forum_thread

JPA 2.1 and AttributeConverter

Hello :-). Are there any plans to support JPA 2.1? I would wish to have a support for @AttributeConverter. ... You can use a transient field for the File or URL and convert it from/to byte[] ...