ObjectDB Database Search

51-100 of 200 results

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

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

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

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

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 annotations

Objectdb ignores not null annotations

"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

NullPointerException: Cannot invoke "com.objectdb.o.RFV.S()" because "" is null

: Cannot invoke "com.objectdb.o.RFV.S()" because " " is null java.lang.NullPointerException: Cannot invoke "com.objectdb.o.RFV.S()" because " " is null at com.objectdb.o.PLN.ZG(PLN.java:564) at com.objectdb.o

[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

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

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

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  

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null

.ArrayIndexOutOfBoundsException: null java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method

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

Update query null error

%" and objectsInCharge.nodePath like "%MARAS%" both result in: Query Execution Error ===================== null Query

javax.persistence.criteria.CriteriaBuilder

( Expression  x,  Expression  y) Create an expression that returns null if all its arguments evaluate to null , and the value of the first non- null argument otherwise. Parameters: x ... ;x, Y y) Create an expression that returns null if all its arguments evaluate to null

javax.persistence.EntityManager

. If there is no entity graph with the specified name, null is returned. Parameters: graphName - name ... there. Parameters: entityClass - entity class primaryKey - primary key Return: the found entity instance or null ... is null Since: JPA 1.0 T find (Class  entityClass, Object primaryKey,  LockModeType

javax.persistence.criteria.CriteriaBuilder$Coalesce

null if all its arguments evaluate to null , and the value of its first non- null argument ... to test whether the expression is not null . Return: predicate testing whether the expression is not null Inherited from: Expression Since: JPA 2.0 Predicate isNull () Create a predicate to test

javax.persistence.criteria.ParameterExpression

String getName () Return the parameter name, or null if the parameter is not a named parameter or ... the parameter position, or null if the parameter is not a positional parameter. Return: position of parameter ... Since: JPA 2.0 Predicate isNotNull () Create a predicate to test whether the expression is not null . Return

javax.persistence.criteria.Subquery

) over the grouping items, or null if no restrictions have been specified. Return: having clause predicate ... Predicate isNotNull () Create a predicate to test whether the expression is not null . Return: predicate testing whether the expression is not null Inherited from: Expression Since: JPA 2.0 Predicate

javax.persistence.criteria.Expression

to test whether the expression is not null . Return: predicate testing whether the expression is not null Since: JPA 2.0 Predicate isNull () Create a predicate to test whether the expression is null . Return: predicate testing whether the expression is null Since: JPA 2.0

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

.entity.Project [ null ](TEST: project 1) INFO: RequestBean []: Persisted: com.greensoft.entity.Project [1](TEST: project 1) INFO: RequestBean []: Created: com.greensoft.entity.Source [ null ](TEST: source ... []: Created: com.greensoft.entity.Project [ null ](TEST: project 2) INFO: RequestBean []: Persisted: com

javax.persistence.StoredProcedureQuery

Since: JPA 2.0 LockModeType getLockMode () Get the current lock mode for the query. Returns null ... : a list of the results or null is the next item is not a result set Throws: QueryTimeoutException ... the REF_CURSOR parameter was registered with the query. Return: the result or null if the next item

javax.persistence.criteria.AbstractQuery

(s) over the grouping items, or null if no restrictions have been specified. Return: having clause ... to the where clause restriction(s), or null if no restrictions have been specified. Return: where clause ... , or null if no selection has been set. Return: selection item Since: JPA 2.0 AbstractQuery groupBy

CriteriaBuilder.nullLiteral(resultClass) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Expression nullLiteral (   Class  resultClass ) Create an expression for a null literal with the given type. Parameters: resultClass - type of the null literal Return: null expression literal Since: JPA 2.0

CriteriaBuilder.coalesce(x,y) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Expression coalesce (    Expression  x,     Expression  y ) Create an expression that returns null if all its arguments evaluate to null , and the value of the first non- null argument otherwise. Parameters

CriteriaBuilder.coalesce(x,y) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Expression coalesce (    Expression  x,    Y y ) Create an expression that returns null if all its arguments evaluate to null , and the value of the first non- null argument otherwise. Parameters: x

javax.persistence.AttributeOverride

AssociationOverride Since: JPA 1.0 Public Annotation Attributes Column column default null (Required ... is defined in the embeddable class or mapped superclass. Since: JPA 1.0 String name default null (Required

javax.persistence.ConstructorResult

) } ) } ) See Also: SqlResultSetMapping ColumnResult Since: JPA 2.1 Public Annotation Attributes ColumnResult [] columns default null ... order. Since: JPA 2.1 Class targetClass default null (Required) The class whose constructor is to be invoked. Since: JPA 2.1

EntityManager.find(entityClass,primaryKey) - JPA Method

instance or null if the entity does not exist Throws: IllegalArgumentException - if the first argument does not denote an entity type or the second argument is is not a valid type for that entity's primary key or is null Since: JPA 1.0

EntityManager.find(entityClass,primaryKey,properties) - JPA Method

: the found entity instance or null if the entity does not exist Throws: IllegalArgumentException - if the first argument does not denote an entity type or the second argument is is not a valid type for that entity's primary key or is null Since: JPA 2.0

EntityManager.find(entityClass,primaryKey,lockMode) - JPA Method

mode Return: the found entity instance or null if the entity does not exist Throws ... a valid type for that entity's primary key or is null TransactionRequiredException

javax.jdo.spi.JDOImplHelper

for this class, or null if there isn't one. Since: JDO 1.0 Collection getRegisteredClasses () Returns ... - the StateManager which will own the new instance. Return: the new instance, or null if the class is not ... is null , no key values are copied. The new instance has its jdoFlags set to LOAD_REQUIRED . Parameters

javax.jdo.spi.StateInterrogation

StateInterrogation returns Boolean. If the return value is null then the StateInterrogation does not recognize the parameter as being handled by it. A non- null return value indicates that the implementation ... StateInterrogation is given the parameter until one of them returns a non- null value, which is passed

javax.jdo.Query

parameter is null , the variable is unset, effectively making the variable named in the variableDeclaration unbound. If the trimmed value is the empty String, or the parameter is null , then JDOUserException ... the parameter is null , then the candidate collection is the extent of the candidate class. The String

javax.jdo.spi.PersistenceCapable

instances return null . The ObjectId may be serialized and later restored, and used with a PersistenceManager ... instances return null . This method always delegates to the StateManager if it is non- null . Return ... for datastore identity, or if the class is abstract, null is returned. For classes using single field

javax.jdo.JDOHelper

of classes that do not implement PersistenceCapable return null . The ObjectId may be serialized and later ... and instances of classes that do not implement PersistenceCapable return null . Parameters: pc ... to the getPersistenceManagerFactory method that takes a Map of overrides and a Map of properties, passing null as

javax.jdo.PersistenceManagerFactory

be configured. If the ConnectionFactory property is set (non- null ) then all other Connection properties including ConnectionFactoryName are ignored; otherwise, if ConnectionFactoryName is set (non- null ... is set (non- null ) then ConnectionFactory2Name is ignored. Operational state ( PersistenceManager

JDOHelper.getPersistenceManagerFactory(overrides,name,resourceLoader,pmfLoader) - JDO Static Method

.EntityManagerFactory cast to a PersistenceManagerFactory . If the name given is null or consists ... the PMF properties, the name of the PMF, or the persistence unit name, in that order; if name is null ... PersistenceManagerFactory} . resourceLoader - the class loader to use to load properties file resources; must be non- null

Query.addSubquery(sub,variableDeclaration,candidateCollectionExpression,parameters) - JDO Method

variable. If the subquery parameter is null , the variable is unset, effectively making the variable named ... is null , then JDOUserException is thrown. The candidateCollectionExpression is the expression from ... is the empty String, or the parameter is null , then the candidate collection is the extent

javax.jdo.annotations.Embedded

"" The column in the embedded object used to judge if the embedded object is null . Since: JDO 2.1 String nullIndicatorValue default "" The value in the null column to interpret the object as being null

javax.jdo.annotations.Extension

"extension". Since: JDO 2.1 Public Annotation Attributes String key default null The key for the extension (required). Since: JDO 2.1 String value default null The value for the extension (required). Since: JDO 2.1 String vendorName default null Vendor that the extension applies to (required). Since: JDO 2.1

javax.jdo.annotations.NullValue

JDO Enum NullValue java.lang.Object ∟  java.lang.Enum ∟  javax.jdo.annotations.NullValue Enumeration of the " null -value" behavior values. This corresponds to the " null -value" attribute ... - if this enum type has no constant with the specified name NullPointerException - if the argument is null Method

javax.jdo.annotations.Persistent

"" Null indicator column for this member. Used for nested embedded fields or properties to indicate whether the embedded instance should have a null value. Since: JDO 2.1 NullValue nullValue default NullValue.NONE Behavior when this member contains a null value. Since: JDO 2.1 PersistenceModifier

PersistenceCapable.jdoReplaceStateManager(sm) - JDO Method

, if the instance is not already owned by a StateManager. If the parameter is null ... is not null , and the security manager approves the change, then the jdoFlags field will be reset to LOAD_REQUIRED. Parameters: sm - The StateManager which will own this instance, or null to reset