Home » Search

About null

11-20 of 200Refresh
Forum
16

c.o.jpa.type.EntityTypeImpl.getIdType() returns null

fails     EntityType type = metamodel.entity(domainClass);     if (type == null ... the debugger is i can see this member m_idType is null type EntityTypeImpl  (id=57) m_attrMap ... ,T>  (id=96) m_idType null m_superType null m_sysType Class (package.Foo) (id=49) m_versionAttr
Forum
16

Null returned by Persistence.createEntityManagerFactory

Hi, So I'm currently having an issue where createEntityManagerFactory returns null. When I run ... get an exception. The exception is ultimately caused by a null pointer on the line "em = emf.createEntityManager ... but it never returns null: public static EntityManagerFactory createEntityManagerFactory(String
Forum
16

NULL prefered in ORDER BY?

Hi! Is there a way to NOT prefer NULL in Order BY? I.e. assume this: @Entity class Hint ... entries, some do have a hint assigned, some do not (NULL). Now when I do something like SELECT FROM ... one points to Hint{name=A}, second one to Hint{name=B} and third one to NULL: Test 3 (with hint
Forum
16

@OneToOne query issue with OR and IS NULL

is the owner. Now I persisted 2 entities of type A. In the first one, the member "another" is null... in the second one "another" is set. Now I want to query "select from A where another is null OR ... the entity A were "another" is not null. Could someone help where to find my mistake?! Many thanks in
Forum
16

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 ... ());         }         em.persist(a);     }     // - selecting records, where simpleField is null
Issue
16

spuriously objectdb objects have null references

from time to time we have in a multi threaded environment objects where all the references are null ... ){ } } } ...   the reference definitions are (for the null references above): ... @OneToMany(fetch ... replaces lazy loaded collections that have not been loaded with null values. Detached objects
Forum
16

@OneToMany(fetch = FetchType.LAZY) list is always null

to J2EE. parent.getChildren() returns null. Here is a simple example: Bean: @Named("test ... .getParent().getChildren() == null) { child.getParent().setChildren(new ArrayList ... the getter of the array of the child entity, the array becomes null. public class ByteData
Issue
16

NULL reference, how to remove

):     More information is needed about this NULL reference. Can we have access to the database? What happens when you try to access the containing entity object? How many such null references do you have? Do you have any idea what operation could be related to these specific actions that made them NULL
Forum
16

pm.newObjectIdInstance returns null

) throws PersistenceLayerException { MyClass myclass = null; try{ Object ... ){ } return myclass; } objectid is coming back as null.  Does this problem ... , and if this fails a null is returned. You can check that operation directly: Class c
Forum
16

Unexpected internal exception during set field of an Embeddable to null

clearOriginalValue() {         originalValue = null;     } } Can you read the problem from the stack ... (SignalValueImpl signalvalueimpl, String s) { if(signalvalueimpl.__odbTracker != null ... string of the Pointer itself - only from the instanceValue!         originalValue = null