ObjectDB Database Search
51-100 of 200 results@OneToOne query issue with OR and IS NULL "another" is null ... in the second one "another" is set. Now I want to query " select from A where another is null OR another.counter = 0 " What I expected to get where the 2 entities I inserted before. But I always get just the entity A were "another" is not null . Could someone help | |
pm.newObjectIdInstance returns null) throws PersistenceLayerException { MyClass myclass = null ; try{ Object objectid = pm ... (JDOException jdoe){ } return myclass; } objectid is coming back as null . Does this problem ... is to search for an ID class, and if this fails a null is returned. You can check that operation | |
@OneToMany(fetch = FetchType.LAZY) list is always null to J2EE. parent.getChildren() returns null . Here is a simple example: Bean: @Named("test ... (); entityManager.persist(child); if (child.getParent().getChildren() == null ) { child.getParent().setChildren(new ... of the array of the child entity, the array becomes null . public class ByteData { // ... id private byte | |
Unexpected internal exception during set field of an Embeddable to null; protected void clearOriginalValue() { originalValue = null ... .__odbTracker != null && signalvalueimpl.__odbTracker.beforeModifyMember(1)) { signalvalueimpl ... the instanceValue! originalValue = null ;   | |
Missing (null) elements in eager loaded references: Sometimes! only on our server! I get a NullPointer exception, because an element is null which is! not null ... () The getLabel() throws an NullPointer because the DataElement at index 0 is not yet present and thus null ... the elements are yet not loaded from the db and thus are null ? Otherwise a cannot explain | |
failure to enforce NOT NULL for java.lang.String.createEntityManager(); EntityTransaction tr = em.getTransaction(); Request r = new Request(); r.setUsername( null ... the database with username= null . the target/ directory is wiped out by `mvn clean` so i am certain ... : Attempt to reuse an existing value ( null ) (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:279 | |
How to avoid NULL values on Embedded entities Hi there. I'm new on this. trying to learn. I'm trying to make a value non nulleable. So, when I try to upload to the DB this field as null , it give me an error. I tried this, but it didn't work ... clear Edit: Sorry. Solved. The code was working, the problem was that i'm savin an empty string "" (not null ) elnll002 Facundo Curti | |
Missing Data on Retrieval (0, null values) Bad - many null and 0 Values. Secound try: List resultList1 = em.createQuery("SELECT d  ... . harald77 Harald The null and 0 values may be the result of lazy loading | |
NOT NULL not working.lastPosition IS NOT NULL returns no datasets. Is this a bug or am i missing something? mosi0815 Ralph ... send you a ticket with the DB. Try this query: SELECT FROM Unit u where u.lastPosition IS NULL | |
Handling "is null" in where clause Greetings, I was playing aroung with JPQL and have found that there is a problem with "is null " queries. When you use "is null " in where clause, query runs correctly, but results are incorrect. Let me show you an example: - entity @Entity public class EntityA { @Id   | |
null pointer exception in objectdb-2.4.4_06 I have the following stack trace. Is this a null ptr in our code or in the object db code? Failed to commit transaction: (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:279 ... to persist (indirectly via cascading) an object with a null primary key. Build 2.4.4_17 may provide a better error message in this case. support Support | |
Null Exception An user reported me this exception. I am not sure how to reproduce it, but maybe it can help you to solve it somehow. Object DB 2.4.4_05, embedded The important part is: null com.objectdb.o ... ) cz.vity.freerapid.model.DownloadFile.getState(DownloadFile.java:181) (Some null message | |
ManyToMany Set is null Why can the field "contracts" be " null "? ---------- @Entity @Inheritance(strategy = InheritanceType. TABLE_PER_CLASS ) public class Person implements Serializable,Subject { @Id @GeneratedValue private long id; @ManyToMany(fetch = FetchType. EAGER , cascade | |
Bad Backups – Null Error when issuing simple query on backup via ObjectDB Explorer.InternalException: null com.objectdb.o.InternalException at com.objectdb.o.BYR.n(BYR.java:114 | |
removed objects stay with null field values in the reference to null except the primary key. The same behavior is when we delete with a query use entityManager | |
List always null is null always. What can it be? I leave a snapshot in which it can be see clearly: http://i1134 | |
PostUpdate collection null Hello, I have an entity MyEntity with a collection attribute myCollection. I have an EntityListener on MyEntity with a @PostUpdate method. When I try to access myCollection from the PostUpdate method, this collection is null . If I try to access the collection from the PreUpdate method | |
multi thread application, id field sporadically null We are testing objectDB with a multi thread application. Each thread has it's own entityManager created from a common factory. In one thread we receive sometimes an object from the database with the field that is declared as @Id having the value null (what is not correct, we checked | |
query null or by zero error we have the critical problem that we receive a null or by zero (in the log a java.lang.ArithmeticException) error for this query: select o from ObjectNode o where o.currentLocation.nodePath = "/(MG)TOOLPOOL-DMC-125U4/(MP)IN" and o.classIdentifier = '(TP)' database can be download from | |
Objectdb ignores not null annotationsObjectdb ignores not null annotations | |
NULL reference, how to remove; hgzwicker Hans-Georg Zwicker More information is needed about this NULL reference ... such null references do you have? Do you have any idea what operation could be related to these specific actions that made them NULL ? support Support Is there new information regarding this null | |
JDO PersistenceManager.getSequence() returns null sometimes to it. If nothing has yet been persisted, or if the odb file is not newly created, getSequence() returns null . Code ... = pm.getSequence("seq"); // per JDO spec, it should be testcase.seq if (seq1 == null ) System.out.println("getSequence 1 returned null "); // it should never be null pm.currentTransaction().begin | |
"is not null" queries not working with index "is not null "-queries are not working correctly for indexed fields. Following SSCCE creates 1000 entities. A null value is assigned to an indexed field for every second entity. When doing count-queries at the end, wrong results are fetched. import java.io.Serializable; import javax.jdo.annotations | |
Null pointer exception being thrown from within ObjectDB..NullPointerException: null java.lang.NullPointerException at com.objectdb.o.VAR.S(VAR.java:297 ... .createQuery(q); List reportDownloadObjects = null ; try | |
NullPointerException: Cannot invoke "com.objectdb.o.RFV.S()" because " | |
jakarta.persistence.criteria.Predicate Persistence (JPA) 3.2 String getAlias () Return the alias assigned to the tuple element or null ... is not null . Inherited from Expression Returns: predicate testing whether the expression is not null ... whether the expression is null . Inherited from Expression Returns: predicate testing whether the expression is null | |
jakarta.persistence.criteria.CriteriaBuilder.Case to the tuple element or null , if no alias has been assigned. Inherited from TupleElement Returns: alias ... isNotNull () Create a predicate to test whether the expression is not null . Inherited from Expression Returns: predicate testing whether the expression is not null . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.In () Return the alias assigned to the tuple element or null , if no alias has been assigned. Inherited from ... (JPA) 1.0 Predicate isNotNull () Create a predicate to test whether the expression is not null . Inherited from Expression Returns: predicate testing whether the expression is not null . Since: Jakarta | |
jakarta.persistence.criteria.Expression getAlias () Return the alias assigned to the tuple element or null , if no alias has been assigned ... is not null . Returns: predicate testing whether the expression is not null . Since: Jakarta Persistence (JPA) 1.0 Predicate isNull () Create a predicate to test whether the expression is null . Returns | |
jakarta.persistence.criteria.CriteriaBuilder.SimpleCase to the tuple element or null , if no alias has been assigned. Inherited from TupleElement Returns ... whether the expression is not null . Inherited from Expression Returns: predicate testing whether the expression is not null . Since: Jakarta Persistence (JPA) 1.0 Predicate isNull () Create a predicate to test | |
jakarta.persistence.StoredProcedureQuery () Get the current lock mode for the query. Returns null if a lock mode has not been set on the query ... with the query. Overrides Query.getResultList Returns: a list of the results or null is the next item is not ... .getSingleResult Returns: the result or null if the next item is not a result set. Throws | |
InternalException: null/database/issue/new com.objectdb.o.InternalException: null com.objectdb.o.InternalException at com.objectdb | |
Deleting a broken reference that was fixed to null in the Explorer Using version 2.7.4_01, we did a repair. After repair a former link to a missing reference was converted to null . This cannot be deleted using explorer hgzwicker Hans-Georg Zwicker Thank you for this report. Build 2.7.4_02 fixes the issue. support Support | |
After using the enhancer, Lazy loaded collections are no longer loading. They are set as null()); Expected Result, account.getProjects() is not null and should contain a project   | |
[ObjectDB 2.2.5_02] Unexpected exception (Error 990) com.objectdb.o.InternalException: java.lang.NullPointerException: null: null java.lang.NullPointerException at com.objectdb.jpa.type.IdentifiableTypeImpl.initAttributes | |
Update query null error%" and objectsInCharge.nodePath like "%MARAS%" both result in: Query Execution Error ===================== null Query | |
javax.jdo.JDONullIdentityException: The identity must not be null. must not be null . at javax.jdo.identity.SingleFieldIdentity | |
com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null.ArrayIndexOutOfBoundsException: null java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native | |
stress test -> com.objectdb.o.InternalException: null/issue/new com.objectdb.o.InternalException: null com.objectdb.o.InternalException at com.objectdb.o | |
com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null.ArrayIndexOutOfBoundsException: null java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method | |
Internal Exception: null The query SELECT COUNT(t) FROM TrackerUser t WHERE NOT t.username = :username with :username - "admin" leads to the following exception: com.objectdb.o.InternalException: null com.objectdb.o.InternalException at com.objectdb.o.InternalException.f(InternalException.java:236) at com.objectdb.o.WSP.h | |
jakarta.persistence.criteria.Order. Since: Jakarta Persistence (JPA) 1.0 Nulls getNullPrecedence () Return the precedence of null values. Returns: the precedence of null values . Since: Jakarta Persistence (JPA) 3.2 boolean isAscending | |
jakarta.persistence.TypedQuery lock mode for the query. Returns null if a lock mode has not been set on the query object. Inherited ... .getSingleResultOrNull Returns: the result, of type X , or null if there is no result. Throws ... .setTimeout Parameters: timeout - the timeout, in milliseconds, or null to indicate no timeout Returns | |
jakarta.persistence.criteria.AbstractQuery getGroupRestriction () Return the predicate that corresponds to the restriction(s) over the grouping items, or null ... () Return the predicate that corresponds to the where clause restriction(s), or null if no restrictions ... of the query, or null if no selection has been set. Returns: selection item. Since: Jakarta Persistence | |
jakarta.persistence.criteria.CriteriaQuery, or null if no restrictions have been specified. Inherited from AbstractQuery Returns: having clause ... getRestriction () Return the predicate that corresponds to the where clause restriction(s), or null ... Persistence (JPA) 1.0 Selection getSelection () Return the selection of the query, or null | |
jakarta.persistence.Query () Get the current lock mode for the query. Returns null if a lock mode has not been set on the query ... () Execute a SELECT query that returns a single untyped result. Returns: the result, or null ... .query.timeout . Parameters: timeout - the timeout, in milliseconds, or null to indicate no timeout | |
jakarta.persistence.PersistenceUnitUtil until after the database insert has occurred. Returns null if the entity does not yet have an id. Parameters: entity ... until after the database insert has occurred. Returns null if the entity does not yet have an id. Parameters: entity | |
jakarta.persistence.ManyToOne optional (Optional) Whether the association is optional. If set to false then a non- null relationship ... is not null . Default: true Since: Jakarta Persistence (JPA) 1.0 Additional JDK methods inherited from | |
jakarta.persistence.EntityNotFoundException a new EntityNotFoundException exception with null as its detail message. Since: Jakarta Persistence ... exception with null as its detail message. Since: Jakarta Persistence (JPA) 1.0 EntityNotFoundException | |
jakarta.persistence.metamodel.SingularAttribute. Since: Jakarta Persistence (JPA) 1.0 boolean isOptional () Can the attribute be null ? Returns: boolean indicating whether the attribute can be null . See Also: jakarta.persistence.Basic::optional |