About or

  • Search for either of the two terms with uppercase OR. For example, cats OR dogs.
forum_thread

g when using SIZE in combination with date lower parameter

Hello, I have 2 entity types, which I want to query, ParserJob and Tag. Unfortunately there seems to be a bug if I use the lower date select: SELECT j.jobId, SIZE(j.tags) FROM ParserJob j WHERE j.dateCreated < :date This returns a SIZE(j.tags) of 0 Tags, but the only existing ParserJob has 1 Tag. If I run the query: SELECT j.jobId, SIZE(j.tags) FROM ParserJob j WHERE j.dateCreated >= :date I get the correct result (1 Tag). ... Cancel To post a reply and/or subscribe to update notifications - please login . ...

 
issue

Server Deadlock

Our objectdb server completely stopped responding to requests for new connections. The 'server' command also would not respond. A thread dump (attached) shows a deadlock. ... Cancel To post a reply and/or subscribe to update notifications - please login . ...

 
issue

com.objectdb.o.InternalException: null

After an error in a @PrePersist method in an Entity class, the database stopped working. Fortunately this was in development, but still worrying! The Entity class ... Cancel To post a reply and/or subscribe to update notifications - please login . ...

 
issue

Deadlock on Schema Update during Multithreading activity

A possible deadlock was detected when new types are registered during multithreading activity against ObjectDB. Until this issue is fixed, the recommended workaround is to complete registration of all the persistable types before starting any multithreading activity against ObjectDB. A single class can be registered by:     emf.getMetamodel().entity(MyClass.class); All the classes can be registered by: ... Cancel To post a reply and/or subscribe to update notifications - please login . ...

 
forum_thread

Guestbook example from tutorial does not work.

Hi, I have Problems to initialize objectdb in a jee envoirment. I used the Guestbook from the tutorial and try to deploy on Tomcat but i get this error. Caused by: org.apache.tomee.catalina.TomEERuntimeException: org.apache.openejb.OpenEJBException: Creating application failed: /objectdb-2.6.2/tutorials/guestbook-jee6/target/Guestbook: org.apache.openejb.OpenEJBRuntimeException: java.lang.ClassNotFoundException: com.objectdb.jpa.Provider: java.lang.ClassNotFoundException: com.objectdb.jpa.Provider ... Cancel To post a reply and/or subscribe to update notifications - please login . ...

 
issue

Mapped by fields are not initialized by JOIN FETCH in queries

As demonstrated in this forum thread, a mapped by collection field with lazy fetch mode is not initialized in results of a query that uses JOIN FETCH on that collection field (when enhancement is used). ... Cancel To post a reply and/or subscribe to update notifications - please login . ...

 
forum_thread

LEFT (OUTER) JOIN problem when mappedBy is defined

Hi all, I want to get objects with their lists, even when the lists are empty. So I've witten this query: "SELECT i FROM Invoice i LEFT OUTER JOIN i.itemList items" But this query never returns invoices without items! Only invoices with items. When I remove mappedBy from @OneToMany annotation, LEFT JOIN works correctly. Is this normal behaviour? Thank you Michael   Sample application ... Cancel To post a reply and/or subscribe to update notifications - please login . ...

 
forum_thread

Error when I switch to server mode

I was previously using embedded mode without any problem.  Today I tried to switch to server mode, and after connecting and doing some db operations I got this:... Cancel To post a reply and/or subscribe to update notifications - please login . ...

 
forum_thread

Error using query with MAX() function

I have a class that is persisting a Entity that holds remarks and a time. Then when I query for the latest remark I get a internal error when the remark is larger than 1966 chars. Here is a test class and entity that reproduces the problem on my system. ... link between how often I commit and the results of success or failure. If I commit after every update it seems to work. If ... Cancel To post a reply and/or subscribe to update notifications - please login . ...

 
issue

Blank explorer

Objectdb version: 2.6.9_06 OSX Sierra: 10.12.1 (16B2555) java version "1.8.0_66" Java(TM) SE Runtime Environment (build 1.8.0_66-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode) --------------------------------- running ./explorer.sh results in a blank Explorer window with spinning wheel.   ... Cancel To post a reply and/or subscribe to update notifications - please login . ...