ObjectDB Database Search
1-50 of 74 resultsLogical Operators in JPQL and Criteria API :area Valid operands for the AND operator are TRUE , FALSE , or NULL . The following table shows how the AND operator is evaluated based on its two operands: TRUE FALSE NULL TRUE TRUE FALSE NULL FALSE FALSE FALSE FALSE NULL NULL FALSE NULL NULL represents an unknown value. Therefore, if one operand | |
Database Management Settings " false " ) specifies whether a recovery file is used. The sync attribute ( "true" or " false ... sync= " false " results in much faster database writes, but sync="true" is safer for production ... " or " false " ) specifies whether recording is used. The sync attribute ( "true" or " false " ) specifies | |
Collections in JPQL and Criteria Queries.languages IS EMPTY evaluates to TRUE if the collection is empty and FALSE otherwise. c.languages IS NOT EMPTY evaluates to TRUE if the collection is not empty and FALSE otherwise. SIZE The SIZE ... 'English' , and FALSE otherwise. 'English' NOT MEMBER OF c.languages evaluates to TRUE | |
Strings in JPQL and Criteria Queries: c.name LIKE '_r%' is TRUE for 'Brazil' and FALSE for 'Denmark' . c.name LIKE '%' is always TRUE (for any c.name value). c.name NOT LIKE '%' is always FALSE (for any c.name value). To match a literal ... '%\%' ESCAPE '\' is evaluated to FALSE . In the preceding expressions, the first percent sign | |
JPA Entity Fields EntityWithFieldSettings { @Basic ( optional = false ) Integer field1; @OneToOne ( cascade = CascadeType ... . By default, null values are allowed. Specifying optional= false , as shown for field1 , throws | |
FROM clause (JPQL / Criteria API), CURRENT_TIME, CURRENT_TIMESTAMP,DELETE, DESC, DISTINCT, ELSE, EMPTY, END, ENTRY, ESCAPE, EXISTS, FALSE | |
Index Definition or a unique index if you specify unique="true" . The default value for unique is false | |
jakarta.persistence.PersistenceUnitUtil persistence context is an instance of the given entity class, or false otherwise. This method ... is to be determined entity - entity instance containing the attribute Returns: false if entity's state ... : false if entity's state has not been loaded or if the attribute state has not been loaded, else true | |
jakarta.persistence.ManyToOne = false ) @JoinColumn(name = "CUST_ID", nullable = false , updatable = false ) public Customer ... optional (Optional) Whether the association is optional. If set to false then a non-null relationship | |
jakarta.persistence.EntityTransaction to the database. Throws: IllegalStateException - if isActive is false . RollbackException - if the commit ... whether the transaction has been marked for rollback. Throws: IllegalStateException - if isActive is false ... back the current resource transaction. Throws: IllegalStateException - if isActive is false . PersistenceException | |
jakarta.persistence.PersistenceUtil whose load state is to be determined entity - entity containing the attribute Returns: false if entity's ... : false if the entity has not been loaded, else true. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.MapKeyColumn and to constraints specified at the table level. Default: false Since: Jakarta Persistence (JPA) 1.0 boolean nullable (Optional) Whether the database column is nullable. Default: false Since: Jakarta | |
jakarta.persistence.MapKeyJoinColumn. Default: false Since: Jakarta Persistence (JPA) 1.0 boolean nullable (Optional) Whether the foreign key column is nullable. Default: false Since: Jakarta Persistence (JPA) 1.0 boolean insertable | |
jakarta.persistence.Convert to a basic type , enabling a converter defined autoApply= false , overriding the use of a converter ... : false Since: Jakarta Persistence (JPA) 1.0 Additional JDK methods inherited from java.lang | |
jakarta.persistence.Converter annotation explicitly specifies a different converter . If autoApply = false , the converter applies ... type. Default: false Since: Jakarta Persistence (JPA) 1.0 Additional JDK methods inherited from java | |
jakarta.persistence.EntityManager , except for getProperties , getTransaction , and isOpen (which returns false ). If this method is called when the entity ... . Returns false if the entity manager is not joined to the current transaction or if no transaction | |
General Performance Issues Illustrated with a Specific Method.person.phone1, " + "c.person.address " + ") " + " from Client c " + " where c.retired= false ... .retired= false and ( lower(c.phn)=:q or lower(c.person.localReferanceNo)=:q or lower(c.person.ssNumber ... .address ) from Client c where c.retired= false and ( lower(c.phn)=:q or lower(c.person | |
openejb jpa jaas module.getPassword(); if(password.equals(pass)) { succeeded = true; return true; } else { succeeded = false ; return false ; } } } catch (Exception e) { e.printStackTrace(); //To change body of catch statement use ... | File Templates. succeeded = false ; return false ; } return false ; //To change body of implemented | |
How to avoid NULL values on Embedded entities private Cliente cliente; //Opcional @Basic(optional= false ... ; @Basic(optional= false ) private String calle; @Basic(optional= false ) private int numero; @Basic(optional= false ) private String ciudad;   | |
New to Product & Having An Issue() == null || this.domainId == null) return false ; return this.domainId.equals(obj); } } package test ... ; this.objectId = objectId; } public DomainId() { super(); } @Basic(optional= false ) public String ... = accountId; } @Basic(optional= false ) public String getObjectId() { return objectId; } public void setObjectId | |
jakarta.persistence.Index (Optional) Whether the index is unique. Default: false Since: Jakarta Persistence (JPA) 1.0 String | |
jakarta.persistence.JoinColumn key. Default: false Since: Jakarta Persistence (JPA) 1.0 boolean nullable (Optional | |
jakarta.persistence.NamedEntityGraph can still be fully specified by an attribute node referencing a subgraph. Default: false Since: Jakarta | |
jakarta.persistence.EntityManagerFactory , which will return false . Once an EntityManagerFactory has been closed, all its entity managers are considered | |
Date field Index is corrupted due to time change; return false ;   ... ) { return false ... ; @Basic(optional = false ) @Temporal(TemporalType.TIMESTAMP | |
jakarta.persistence.PersistenceUnitUtil.isLoaded(Object) whose load state is to be determined Returns: false if the entity has not been loaded, else true. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.PersistenceUnitUtil.isLoaded(Object,String) Returns: false if entity's state has not been loaded or if the attribute state has not been loaded, else true. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.PersistenceUnitUtil.isLoaded(E,Attribute) whose load state is to be determined entity - entity instance containing the attribute Returns: false | |
jakarta.persistence.criteria.AbstractQuery.distinct(boolean) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.AbstractQuery AbstractQuery distinct ( boolean distinct ) Specify whether duplicate query results are eliminated. A true value will cause duplicates to be eliminated. A false value will cause duplicates to be retained | |
jakarta.persistence.metamodel.IdentifiableType.hasSingleIdAttribute() Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.IdentifiableType boolean hasSingleIdAttribute() Whether the identifiable type has a single id attribute. Returns true for a simple id or embedded id; returns false for an idclass. Returns: boolean indicating whether the identifiable | |
jakarta.persistence.criteria.Subquery.distinct(boolean) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery Subquery distinct ( boolean distinct ) Specify whether duplicate query results are eliminated. A true value will cause duplicates to be eliminated. A false value will cause duplicates to be retained. If distinct | |
jakarta.persistence.StoredProcedureQuery.execute() Jakarta Persistence (JPA) Method in jakarta.persistence.StoredProcedureQuery boolean execute() Return true if the first result corresponds to a result set, and false if it is an update count or if there are no results other than through INOUT and OUT parameters, if any. Returns: true if first | |
jakarta.persistence.StoredProcedureQuery.hasMoreResults() Jakarta Persistence (JPA) Method in jakarta.persistence.StoredProcedureQuery boolean hasMoreResults() Return true if the next result corresponds to a result set, and false if it is an update count or if there are no results other than through INOUT and OUT parameters, if any. Returns: true | |
Migration problem(columnDefinition = "timestamp default '2020-04-10 20:47:05.967394'", updatable = false ) protected LocalDateTime createdDate; @CreatedBy @Column( updatable = false ) protected Integer createSicil ... .EAGER) @Column(name = "isEnabled", unique = false , nullable = false ) // @Column(columnDefinition | |
Persist not working when ObjectDB and another db is used in the same application (through spring) with different tx managers; false   ... (readOnly = false ) public void addObject() { Transfer transfer = new Transfer();   ... ()); } @Transactional(readOnly = false ) public void addObjectw() { Transfer transfer = new Transfer | |
DB Doctor sets type to "unknown" for new fields like the following fail to change the value from null to false : UPDATE RecordingMetaData AS r SET r.emergency= false WHERE r.emergency IS NULL DB Explorer reports all OK on the update, but a subsequent ... the same result: UPDATE RecordingMetaData AS r SET r.emergency= false WHERE r.emergency=null Updates | |
mapping file is not being loaded; exclude-unlisted-classes to false rather than true . support Support After being pulled away from ... -classes to false . The Metamodel API still returns the empty set when 'getEntities()' is invoked ... configuration element back to false , and ran the original project. The metadata was now accessible | |
Optimistic locking: prevent version increment on entity collection attribute(); // Both these turn out to be false ! assertTrue ... assertTrue(tmpDoc != null); // This turn out to be false ! assertTrue(readings != null); em.close(); emf ... = em.find(Document.class, doc.getId()); // This is false ! assertTrue(finalDoc.getReadings().size | |
Database corrupted after schema change;private transient boolean isEditable = false ; } @MappedSuperclass public abstract class BDOWA extends BDO ... = false 2. modificationTS = 2021-04-16 13:38:57 3. creationTS = 2021-04-16 13:38:03 4. tableId ... #33279 entry 1 has unexpected field count (7 instead of 5) 0. oid = '559770' 1. deleted = false 2 | |
Beginners questions; @ManyToOne @Column(name = "VERLAG_ID") @JoinColumn(name="VERLAG_ID", insertable= false , updatable= false ... " which looks like this: public class Pojo { private transient boolean changed= false ; public boolean | |
failure to enforce NOT NULL for java.lang.String my test cases are indicating that @Basic(optional= false ) and @Persistent(nullValue=NullValue ... (optional= false ) private String username; //@Basic(optional= false )   | |
Disable Evaluation possibility an error if the query returns false . support Support Did something about this changed recently? In 2.9.0_02 it is returning false even when I added new activation key thamal Tomas Hamal No known changes here. support Support | |
Possible cause for "Enhancement of type ... is old and cannot be used"' false , I got the same error that I reported at this new issue report (and for which I provided ... web app (too large to provide here) I however definitely have 'objectdb.temp.no-detach' false and I | |
Schema-Update: Rename superclass and remove one subclass ChildClassB(); entity3.onlyRecordLastStep = false ; em.persist(entity3); em.getTransaction().commit(); em ... public boolean onlyRecordLastStep = false ; protected ChildClassB() { } } Then we rename SuperClass | |
Configure ObjectDB in spring context) look like this org.hibernate.dialect.HSQLDialect thread 10 true false false create-drop I need | |
NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1 the case the id fields are not set if (!(object instanceof AbstractObject)) { return false ... != null && !this.id.equals(other.id))) { return false ; } return true; } @Override public String toString | |
Catching exceptions from online backup backup" , Thread . class ) ; backupQuery . setParameter ( "start" , false ) ;   ... " ) ; backupQuery . setParameter ( "start" , false ) ; Thread | |
After using the enhancer, Lazy loaded collections are no longer loading. They are set as null, nullable= false , updatable= false ) protected List projects = new ArrayList (); public List ... ; } @ManyToOne @JoinColumn(name="account_id", nullable= false ) public Account account; public Account | |
ObjectDB 2.7.2_x Doctor Yields "Index Requires Rebuild" Always CBE You are right. This is a false alarm. The Doctor in 2.7.2 tries to diagnose index issues that have not been handled by previous versions but introduces this false alarm. Could you please try build 2.7.2_04? support Support ObjectDB 2.7.2_04 works as expected. (No more false indexing 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: private boolean loaded = false ; @Transient @Override ... . ... But it is ok using the 'get' getter form: private boolean loaded = false ; @Transient @Override public |