ObjectDB ObjectDB

Internal Website Search

61-70 of 121 resultsRefresh
12

Post-compile enhancement fails when static Log4j 2.5 based logger used in Entity

a non-static logging variable holder can be used in an @Entity. ObjectDB 2.6.3_04 Apache Log4j2 - 2.5 ... an @Entity for a static logger variable: @Entity public class Element extends [] implements ... comment out that static LOGGER variable init line, the error vanishes and post-compile enhancement
12

An InternalException occurs when gets an result list

more information, including details about the query? The stack trace indicates an unexpected query variable. Are there non entity variables in the query or an entity class with no instances in the database ... is thrown during query compilation in checking the variable type. Could you please check
12

Issue with Casting / Joins

a variable for iteration over map values and currently this is not supported (issue #13 ... idea / solution? About the variable for iterating map values.. Yes I am aware that this isn't supported ... the query string by wrapping the variable with casting (replace). Run the query as a JPQL query. Regarding
12

how to query by properties of onetomany relations? (Error 990)

. You have to use JOIN to define a variable that will iterate over the collection elements ... is replaced internally by defining an implicit JOIN variable. Particularly the following query: SELECT f ... of a collection navigation defines a separate JOIN variable, so this should be taken into
12

Multiple joins did not return expected result

that this query doesn't produce an error? The event variable is defined twice. You should use a unique name for every query variable. support Support Hello, So should I use the query SELECT event1, event2 ... SELECT)? There are more WHERE clauses which must be doubled if I use 2 variables. Thanks Markus
9

Query all objects that implements a given interface - is that possible?

.persistence.PersistenceException Attempt to define unbound variable ('bk') of type Signals.Signal ... ) Caused by: com.objectdb.o.UserException: Attempt to define unbound variable ('bk') of type Signals
2

Strange Error with Criteria API and Sorting

sense, there might not be any "$2" variable. More strangely, when debugging through the error doesn't ... , which is another variable. You can fix this specific query by using Path (which is not a separate variable) instead of Join: //final Join<?, ?> otherJoin = root.join("other"); final Path<Object> otherJoin = root.get("other"); support Support
2

JPQL support for Maps (JPA 2.0)

JPQL 2.0 introduces the ability define FROM variables for map keys and values. Currently ObjectDB supports FROM variables for collection elements. FROM variables for map keys and values are expected to be supported in future versions. support Support Any updates on this issue ? markminnoye Mark
1

unclear syntax for update query

. It should be either with identification variable all the way: Query query = em.createQuery ... "); int updateCount = query.setParameter(p, 100000).executeUpdate(); or with no identification variable
1

Best practise loading big data

:     for (MyStepBlock sb : sbc.stepBlocks) { Java creates a local Iterator variable for the each loop that keeps ... to the root object (to report updates if any). This local variable (the for each iterator) is released in

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