ObjectDB ObjectDB

Internal Website Search

101-110 of 200 resultsRefresh

Pooling of EntityManagers

call entityManager.clear() does the first level cache is empty then? If not does fetching an object, wich ... -managers in embeddet mode. best regards Arne Arne Arne Stocker If you call clear then you empty ... an empty one. However, i will test it. thanks again Arne Arne Arne Stocker

Different behavior with persist() and queried instances?

db and the list of the object is marked as empty - Now close the entity manager and create a new ... the transaction -> FAIL, the list of the object is still set to empty in db eventhough it is filled Btw ... .makeDirty(object, "listPropertyName"); doesn't change it, the list is still empty in db after commit

"where in" query

why this result returns an empty set? List<Prez> results; TypedQuery<Prez> prezs = em.createQuery ... was an exception rather than an empty result set. Version 2.3.2 fixes the exception - please try it. If you still get an empty set with the new version - try to modify the following test case (that works

Selective merge/cascade of detatched entity

, 1000, 100);                 Salesman emptied = redistributeTargets(salesmen);                 System.out.println("Salesman " + emptied + " now has targets:" + emptied.getCompanyTargets

Low performance when getting grove roots

Tsichevski Done as you suggested. Now the query result is always empty :-( Regards, Vladimir tsichevski ... order to understand the empty results. Does it happen also with a new database file that is created

problem with lazy loading - unittest project attached

, one entity with 2 related entities. if i use EAGER the test pass, if not the related entity list is empty ... a detached Foo instance and the collection looks empty. support Support thanks for your help

com.objectdb.o.InternalException: java.lang.NullPointerException

, even an empty database with that schema may be useful for reproducing the issue. support Support ... . Pablo Berra Pablo Berra The suggestion on #6 above is to create a new empty database and then persist 2 empty instances of the relevant classes, rather than to use a production database and delete

ObjectDB 2.5.4

Added empty implementation of new JPA 2.1 methods. Implemented new JPA 2.1 EntityManagerFactory methods: createEntityManager, unwrap. Improved retrieving persistent string fields by using "".intern() for empty strings. Fixed a bug in queries on composed embedded primary key (issue #1301).

spuriously objectdb objects have null references

the difference (after detachment) between a collection that is really empty and a collection ... . If you just prefer an empty collection instead of null it wouldn't be difficult to enable such an option

Eager load Map

the database) the map is empty. Looking at the database through objectdb explorer shows the map contents ... is empty so nothing is printed to the console. If you uncomment the 2 lines after the "find

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