ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh

Memory consumption of empty Strings

are empty (""). To avoid unnecessary memory consumption, the String within the entities are initialized like: String firstName = ""; In this case every "empty" attribute shares the same String. But after reloading the entities from objectdb, every empty String has become a new (unique) String object

Empty query results after JAR creation

.jar", I get either empty results or on some cases a "NoResultException" which appears to report ... that can be distributed? Thanks for any help. Marvin.Hansen Marvin Hansen Empty results or NoResultException may be caused by accessing an empty database. In your code you use a relative path

LEFT JOIN FETCH over empty embedded collection returns no results

to my inquiry a few months ago. However, I have run into one problem: if an embedded collection is empty ... of the first collection, the result of the overall query is an empty set. To use the example from ... where bList is empty, the following works (returns my instance of C): SELECT c FROM C c LEFT JOIN FETCH

Possible issue for JPQL IS EMPTY expression

Possible issue for JPQL IS EMPTY comparison expression: SELECT e FROM MyEntity e WHERE e.collection-valued IS EMPTY throws javax.persistence.PersistenceException: Invalid operand type for operator IS EMPTY (error 756) Thanks. Note: It doesn' t work with SIZE(): SELECT e FROM MyEntity e WHERE SIZE(e

@ElementCollection Set<Integer> is emptied sometimes

Support The field is emptied, but not null. So, my @ElementCollection Set<Integer> fields become empty ... and it seemed to don't happen anymore, until 1 day ago, when some fields got empty again (but not null). (basically...an empty HashSet<Integer>). I'm still looking into how could I reproduce

InternalError on query of empty database

.2.8_07 includes an attempt to fix this bug. Please try it. support Support I'm now getting an empty set returned on empty database. Thanks!!!! pedwards Paul Edwards

Empty temporary dat files in the temp folder

of the first one) empty. Or rather pre filled with null. We observed that the directory is cleaned

Handling a case of searching an empty database

Handling a case of searching an empty database

Collections in JPQL and Criteria Queries

. as path expressions - in navigation to persistent collection fields. IS [NOT] EMPTY The IS [NOT] EMPTY operator checks whether a specified collection is empty or not. For example: c.languages IS EMPTY is TRUE if the collection is empty and FALSE otherwise. c.languages IS NOT EMPTY is FALSE

Internal exception: NPE on criteria query with IN clause and empty collection

already narrowed the cause to the fact that I use JPA criteria query API, and I pass an empty collection to IN ... (rootService); cq.where(rootService.get("key").in(templateKeys)); //templateKeys is empty by mistake ... here I guess (at least other JPA providers also throw on empty IN parameter), the exception message

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