ObjectDB Database Search

51-100 of 176 results

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

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

because the default behaviour is " false "] About Build 2.6.9_02 and the "objectdb.temp ... ; - System.setProperty("objectdb.temp.no-enhancement-crc-check", " false "); - EnumValue ... ("objectdb.temp.no-enhancement-crc-check", " false "); - Methods in EnumValue and BooleanValue defined as

Date field Index is corrupted due to time change

;      return false ;           ... ) {                 return false ... ; @Basic(optional = false )         @Temporal(TemporalType.TIMESTAMP

Help with JPA2 Criteria and conditional operator grouping

.companyId=:p1) AND ($1.conditionOne=true)) AND (($1.conditionTwo= false ) OR ($1.conditionThree= false ... (conditionTwoPath, false ),             builder.equal(conditionThreePath, false )             

Wrong data stored in time only fields

;            return false ;     ... ;     return false ;            ... ;       @Basic(optional = false )       

jakarta.persistence.EntityTransaction.setRollbackOnly()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityTransaction void setRollbackOnly() Mark the current resource transaction so that the only possible outcome of the transaction is for the transaction to be rolled back. Throws: IllegalStateException - if EntityTransaction.isActive is false . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityTransaction.getRollbackOnly()

- if EntityTransaction.isActive is false . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityManager.isJoinedToTransaction()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager boolean isJoinedToTransaction() Determine whether the entity manager is joined to the current transaction. Returns false if the entity manager is not joined to the current transaction or if no transaction is active. Returns: boolean. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.EntityManager.close()

, and EntityManager.isOpen (which returns false ). If this method is called when the entity manager

jakarta.persistence.EntityManagerFactory.close()

, which will return false . Once an EntityManagerFactory has been closed, all its entity managers

jakarta.persistence.OneToMany.orphanRemoval

Jakarta Persistence (JPA) Method in jakarta.persistence.OneToMany boolean orphanRemoval (Optional) Whether to apply the remove operation to entities that have been removed from the relationship and to cascade the remove operation to those entities. Default: false Since: Jakarta Persistence (JPA) 2.0

jakarta.persistence.OneToOne.optional

Jakarta Persistence (JPA) Method in jakarta.persistence.OneToOne boolean optional (Optional) Whether the association is optional. If set to false then a non-null relationship must always exist. Default: true Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.OneToOne.orphanRemoval

Jakarta Persistence (JPA) Method in jakarta.persistence.OneToOne boolean orphanRemoval (Optional) Whether to apply the remove operation to entities that have been removed from the relationship and to cascade the remove operation to those entities. Default: false Since: Jakarta Persistence (JPA) 2.0

jakarta.persistence.criteria.CriteriaBuilder.isMember(Expression,Expression)

will be false . Parameters: elem - element expression collection - expression Returns: is-member predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.isMember(E,Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate isMember (    E elem ,    Expression collection ) Create a predicate that tests whether an element is a member of a collection. If the collection is empty, the predicate will be false

jakarta.persistence.NamedEntityGraph.includeAllAttributes

specified by an attribute node referencing a subgraph. Default: false Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.MapKeyColumn.unique

specified at the table level. Default: false Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.MapKeyColumn.nullable

Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyColumn boolean nullable (Optional) Whether the database column is nullable. Default: false Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.ManyToOne.optional

Jakarta Persistence (JPA) Method in jakarta.persistence.ManyToOne boolean optional (Optional) Whether the association is optional. If set to false then a non-null relationship must always exist. May be used in schema generation to infer that the mapped foreign key column is not null . Default: true Since: Jakarta Persistence (JPA) 1.0

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

Java fails to run when using JMX Remote + ODB agent

.management.jmxremote -Dcom.sun.management.jmxremote.port=16969 -Dcom.sun.management.jmxremote.ssl= false ... .jmxremote.port=16969 -Dcom.sun.management.jmxremote.ssl= false -Dcom.sun.management.jmxremote ... -Dcom.sun.management.jmxremote.port=16969 -Dcom.sun.management.jmxremote.ssl= false -Dcom.sun

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 )  

Wrong select results

where p.confirmed== false ", given me some results with p.confirmed==TRUE. And when I try to do (see image) "select p, p.confirmed  from Player p where p.confirmed== false ", I getting p-confirmed-true and p.confirmed- false . How so? And this problem not only in explorer mastervoland Vladimir Sadovnikov

Wrong data stored in date only fileds

private Date startTime; // Time: time part of startDateTime @Basic(optional = false ) @Temporal ... setStartDateTime(Date startDateTime) { this.startDateTime = startDateTime; } @Basic(optional = false ) @Temporal ... startDate) { this.startDate = startDate; } @Basic(optional = false ) @Temporal(TemporalType.TIME) public

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

Help: After upgrading from 2.2.8_02 to 2.2.8_04, can't perform LIKE query

= false ) OR ($1.conditionThree= false )))) Exception in thread "main" [ObjectDB 2.2.8_04] Unexpected

Broken @ManyToOne reference

= false ) private B b; @Id @Column(length = 36) private String stringId; } @MappedSuperclass public ... ); // false tsichevski Vladimir Tsichevski Point 2 is indeed a bug. Build 2.4.7_09 fixes

Query on primary key is slow when using 'IN'

= '1205450' AND FALSE This query will obviously not find anything, but it still takes 2 minutes to complete. Not being able to use "AND FALSE " makes it awkward to configure the query programmatically if some deeply nested condition is known to always be false . Query plan 1/1 description

boolean field flips after schema update (in class) of another field

We have added a boolean field to a class with default value false . After deployment ... application = null ; @Embeddable public static class Application { private boolean instruction = false ; private boolean registration = false ; private boolean profile = false ; private boolean test = false

Slow query due to scanning multiple indexes

RackPlanogram p WHERE p.rackOID = "826268" AND p.deleted = FALSE Query plan 1/2 description ... ] locating RackPlanogram (p) instances that satisfy: (p.deleted= false ). [Step 2] Scan index eu.extech.quant ... a "deleted = FALSE " condition, which appears to be slowing essentially every query down by 10x or

ODB Server tries to write a log file to a weird location

= "$objectdb/log/odb" max = "8mb" stdout = " false " stderr = " false " / path = "$objectdb/log/odb/archive ... " max = "8mb" stdout = " false " stderr = " false " /              

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

missing merger

users use version-check=" false " and others version-check="true". This is probably not ... also a mixed environment in which some users use version-check=" false " and others version ... users use version-check=" false " and others version-check="true". hgzpincher Hans-Georg

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

NPE at com.objectdb.jpa.JpaQuery.getResultList

findMomentPayloadEntities( false , maxResults, firstResult); } private List findMomentPayloadEntities ... ;    return findMomentPayloadEntities( false , maxResults, firstResult);