ObjectDB ObjectDB

Internal Website Search

21-30 of 200 resultsRefresh

pm.newObjectIdInstance returns null

) throws PersistenceLayerException { MyClass myclass = null; try{ Object ... ){ } 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 directly

@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 ... 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

clearOriginalValue() {         originalValue = null;     } } Can you read the problem from the stack ... s) { if(signalvalueimpl.__odbTracker != null && signalvalueimpl.__odbTracker ... the instanceValue!         originalValue = null;     }     @Override     public SignalValue

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. Example1 ... () throws an NullPointer because the DataElement at index 0 is not yet present and thus null. But if I run ... loaded from the db and thus are null? Otherwise a cannot explain why sometimes alle data is present

failure to enforce NOT NULL for java.lang.String

(); EntityTransaction tr = em.getTransaction(); Request r = new Request(); r.setUsername(null ... . the DB explorer shows the Request object in the database with username=null. the target/ directory ... .wroth.ws.signup.Request[username]) failed: Attempt to reuse an existing value (null) (error 613

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

Missing Data on Retrieval (0, null values)

" ).getResultList(); -> resultlist2 Bad - many null and 0 Values. Secound try: List<Object> resultList1 = em ... Tested with Version 2.6.7 and 2.4.5 - same behaviour. harald77 Harald The null and 0 values

NOT NULL not working

.lastPosition IS NOT NULL returns no datasets. Is this a bug or am i missing something? mosi0815 Ralph ... you a ticket with the DB. Try this query:  SELECT FROM Unit u where u.lastPosition IS NULL mosi0815

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) [Removed ... an attempt to persist (indirectly via cascading) an object with a null primary key. Build 2.4.4_17

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 ... , it should be testcase.seq if (seq1 == null) System.out.println("getSequence 1 returned null"); // it should never be null pm.currentTransaction().begin(); Thing

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support