Internal Website Search

21-30 of 200 resultsRefresh

pm.newObjectIdInstance returns null

makeTransient, MyContext context) throws PersistenceLayerException { MyClass myclass = null ... is coming back as null.  Does this problem seem obvious to you? Thanks Brian does is to search for an ID class, and if this fails a null

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

something else related to J2EE. parent.getChildren() returns null. Here is a simple example: Bean: null) { child ... without calling the getter of the array of the child entity, the array becomes null.

Unexpected internal exception during set field of an Embeddable to null

() {         originalValue = null;     } }null && signalvalueimpl.__odbTracker.beforeModifyMember(1 ... itself - only from the instanceValue!         originalValue = null;  

Missing (null) elements in eager loaded references

, because an element is null which is! not null.   Example1: Element.getChildren.get(0).getCosts ... () throws an NullPointer because the DataElement at index 0 is not yet present and thus null. But if I ... being fetched eager the elements are yet not loaded from the db and thus are null?

failure to enforce NOT NULL for java.lang.String

.setUsername(null); //try { tr.begin(); em.persist(r); tr.commit ... with username=null. the target/ directory is wiped out by `mvn clean` so i am certain a schema ... [username]) failed: Attempt to reuse an existing value (null) (error 613) at com.objectdb.jpa

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 ... , the problem was that i'm savin an empty string "" (not null) elnll002 Facundo Curti

Missing Data on Retrieval (0, null values)

; resultlist2  Bad - many null and 0 Values. Secound try: List<Object> resultList1 = em ... ;- same behaviour.       harald77 Harald The null

NOT NULL not working

"> SELECT u FROM Unit u WHERE u.lastPosition IS NOT NULL returns no datasets.  SELECT FROM Unit u where u.lastPosition IS NULL

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 ... ) an object with a null primary key. Build 2.4.4_17 may provide a better error message in this case. support Support

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. null) System.out.println("getSequence 1 returned null"); // it should never be null pm