Internal Website Search
51-94 of 94 resultsCascading makeTransient cache should work independently on the DB as if it contained transient objects. However those instances ... an instance transient the reference to that instance from its com.objectdb.o.ENT should become week or soft ... is loaded, the instances reachable via loaded fields is made transient . The state of fields in | |
General Performance Issues Illustrated with a Specific Method.Table; import javax.persistence.Temporal; import javax.persistence. Transient ; import lk.gov.health ... .TemporalType.TIMESTAMP) private Date retiredAt; private String retireComments; // // @ Transient private boolean ageCalculated = false; @ Transient private int ageMonths; @ Transient private int ageDays | |
evictAll() behavior) and there is a result OBJECTDB OUTPUT: main--testDbProvisioning Cache size before COMMIT/BEGIN= 1 transient transient Cache size after COMMIT/BEGIN= 2630 transient transient Cache size after pm.evict = 2630   | |
Searching lists within objects of a literal. Test 7 fails because the query is executed using an index and the transient value ( Attribute.getValue() ) is unavailable. Using transient fields in queries is inefficient and very risky ... are populated via the getters. So yes, objectdb shouldn't allow queries on transient fields | |
Pre-detach loading: retrieval by navigation not working in if statement addition to the persistent fields my entities have transient computation methods, and calling ... a transient expert system value, which should then be consistently re-computated once detached and used in ... : @ Transient public Float getNLA_m2_LightingZone() { Float sum = 0f; if (getL_LightingZone() != null | |
Database corrupted after schema change { private String tableId; private transient boolean ... ;private transient boolean isEditable = false; } @MappedSuperclass public abstract class BDOWA extends BDO ... ; private transient boolean saving; private Date | |
Class fields selection to store Herve Ferreira All the non static non final non transient fields in a persistence capable class ... but for the other 39 non persistent fields. Alternatively, you may: Define the other 39 fields as transient (but then they will be transient also in serialization). Annotate the other 39 fields using | |
Enforce Second Level cache In my application I have an entity with few transient Collection fields, these are constantly updateing very fast and access to those fields is needs to be fast too, thus I dont persist ... , including transient . The 2nd level cache keeps only the data from the db as byte[] , so transient | |
embedded objects marked final not persisted. Discovered that embedded objects marked final are not persisted. I'm not exactly sure why that should the case. Is this a bug? dmoshal David Moshal Final fields are treated as transient regardless of their type. If you mean that declaring the embeddable class as transient causes | |
Queries are slow on a large database messageName; private String messageDetail; private transient LogTestRunImpl logTestRun; private transient LogEntryImpl logEntryImpl; ... And I use such query: Query query = pm.newQuery(MessageImpl | |
JDOHelper.isDetached failure ? cannot tell the difference between a detached object and a transient object, so any detached object is considered as transient . It is not practical to support it for non enhanced classes, without causing | |
javax.persistence.Embeddable for the entity. Note that the Transient annotation may be used to designate the non-persistent state | |
Soft Reference Object Cache Recommendation of its elements private transient SoftReference softReferenceData; I use StoreCallback | |
ObjectDB Server Connection Permissions you could create transient entities for data that does require additional business logic | |
Beginners questions" which looks like this: public class Pojo { private transient boolean changed=false; public boolean | |
openejb jpa jaas module serialVersionUID = -7516039939801615889L; private transient static Settings instance; public static Settings | |
NullPointerException in ENH.g(ENH.java:401).Participant: transient (non entity class), used as the field type of Event.participants. com | |
makeTransient() not working on Embedded class objects are not managed by their own and cannot change state from managed to transient . support Support | |
JPA 2.1 and AttributeConverter own adapter for storing property, which is File and URL class. Bot01 Frantisek Novak You can use a transient | |
final fields persistence.) Thoughts? gsaxena888 Gautam Saxena Final fields are transient in JPA/JDO by default | |
NullPointerException while setting a new property value removeCompleted; //some other @ Transient properties // 2 constructors //.. } Can somebody help me? Thank | |
Attempt to store an instance of a non persistable type java.net.URL also as transient to keep my public contract. But it would be nice to have URLs stored directly.   | |
Class loading problem with private packages in OSGi environment transient fields of the private non-exported types. Would that a new issue with your solution? btc_es | |
Relationships and tracking changes this: public class Pojo { private transient boolean changed=false; public boolean isChanged(){ return changed | |
NegativeArraySizeException on commiting a transaction itself was not corrupted though, because when I tried to make a copy of it (I made it transient | |
Performance issue in a query due to internal calls visitRefs and visitKeyRefs TreeSet stepNumbers = new TreeSet (); @Basic private String sheetUID; @ Transient private StepNumberCache | |
Time Sequence Object Command DB. Method commands are generally used to trigger creation of transient objects.  | |
Add Type level permissions to ObjectDB Server you could create transient entities for data that does require additional business logic though. ThreaT | |
javax.persistence.PersistenceException Attempt to store an instance of a non persistable type java.net.URL whether it is a valid URL $url string and storing it. I can return getURL also as transient | |
ObjectDB 2.2.9 persistent array fields with parameterized type . Added error on using transient fields (or properties | |
ClearCallback.jdoPreClear() - JDO Method JDO Method in javax.jdo.listener.ClearCallback void jdoPreClear () Called before the values in the instance are cleared. Transient fields should be cleared in this method. Associations between this instance and others in the runtime environment should be cleared. This method is not modified by the enhancer. Since: JDO 2.0 | |
PersistenceManager.deletePersistent(pc) - JDO Method JDOUserException if the instance is transient or is managed by another PersistenceManager . Parameters: pc - a persistent instance Since: JDO 1.0 | |
PersistenceManager.makePersistentAll(pcs) - JDO Method JDO Method in javax.jdo.PersistenceManager Collection makePersistentAll ( Collection pcs ) Make a Collection of instances persistent. Parameters: pcs - a Collection of instances Return: the parameter instance for parameters in the transient or persistent state, or | |
javax.jdo.listener.ClearCallback JDO Interface ClearCallback This interface is used to notify instances of clear events. Since: JDO 2.0 Public Methods void jdoPreClear () Called before the values in the instance are cleared. Transient fields should be cleared in this method. Associations between this instance and others in | |
javax.jdo.spi.StateInterrogation the associated PersistenceManager . Transient non-transactional instances return null . Instances unknown by | |
StateInterrogation.getPersistenceManager(pc) - JDO Method JDO Method in javax.jdo.spi.StateInterrogation PersistenceManager getPersistenceManager ( Object pc ) Return the associated PersistenceManager if there is one. Transactional and persistent instances return the associated PersistenceManager . Transient non-transactional instances | |
PersistenceCapable.jdoGetObjectId() - JDO Method that represents the JDO identity. Transient instances return null. The ObjectId may be serialized and later | |
PersistenceCapable.jdoMakeDirty(fieldName) - JDO Method in this API, then the field marked dirty is the field declared by the most derived class. Transient | |
javax.jdo.InstanceCallbacks void jdoPreClear () Called before the values in the instance are cleared. Transient fields | |
PersistenceCapable.jdoIsNew() - JDO Method JDO Method in javax.jdo.spi.PersistenceCapable boolean jdoIsNew () Tests whether this object has been newly made persistent. Instances that have been made persistent in the current transaction return true. Transient instances return false. Return: true if this instance was made persistent in | |
PersistenceCapable.jdoIsDetached() - JDO Method JDO Method in javax.jdo.spi.PersistenceCapable boolean jdoIsDetached () Tests whether this object has been detached. Instances that have been detached return true. Transient instances return false. Return: true if this instance is detached. See Also: javax.jdo.JDOHelper.isDetached (Object pc) Since: JDO 2.0 | |
PersistenceCapable.jdoIsDeleted() - JDO Method JDO Method in javax.jdo.spi.PersistenceCapable boolean jdoIsDeleted () Tests whether this object has been deleted. Instances that have been deleted in the current transaction return true. Transient instances return false. Return: true if this instance was deleted in the current transaction | |
PersistenceCapable.jdoIsTransactional() - JDO Method JDO Method in javax.jdo.spi.PersistenceCapable boolean jdoIsTransactional () Tests whether this object is transactional. Instances whose state is associated with the current transaction return true. Transient instances return false. Return: true if this instance is transactional. See Also: javax | |
PersistenceCapable.jdoIsDirty() - JDO Method JDO Method in javax.jdo.spi.PersistenceCapable boolean jdoIsDirty () Tests whether this object is dirty. Instances that have been modified, deleted, or newly made persistent in the current transaction return true. Transient instances return false. Return: true if this instance has been modified in |