About ORDER BY

forum_thread

One transaction or two?

If I have a large number of objects to delete and then add to a PersistenceManager is it more efficient to do everything in one transaction or two? Currently my code looks like this: ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

@ElementCollection query returning extra result per element in collection

Hi, ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

@Convert is not supported?

Does objectdb jpa implementation support @Convert annotation? (convertion of property before persistance and vice versa)   for example @Convert(converter = MyConverter.class) private Date date;   I've wrote a test on this, and seems that my Converters methods are not executed at all (like annotation doesent exist) ... same currency object..." so this could be achieved by JPA lifecycle events. ObjectDB Support ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ...

 
issue

[ObjectDB 2.6.0_04] Unexpected exception (Error 990) com.objectdb.jpa.JpaQuery.getResultList

Hello, the following exception appears when we execute a query:   ... 2.6.0_04] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.7.0_71 (on Windows 7 6.1). Please report ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ...

 
forum_thread

Connecting to a remote objectdb server

I am trying to configure my application in a client-server objectdb setup via tcp/ip. So I first made sure that the remote objectdb server is running using telnet from my local.  $ telnet db.mydomain.com 6136 (worked fine, is able to connect...) My db was configured below: <server>   <connection port="6136" max="100" />   <data path="objectdb://db.mydomain.com/db" /> </server> ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

Server closes if large query runs out of memory

We are using ObjectDB in production, and have found what we thing to be a serious problem:  the objectdb server can run out of memory and stop if a query deals with too many objects. This isn't the behaviour we expected for a product that we want to use to deliver 24/7 high-volume data collection. ObjectDB surely has some idea of the sizes of objects that it persists and retrieves, and so should be able to fail safely if it finds too many objects being retrieved to fit into memory. There must be some alternative to crashing! ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

Feature Request: Improved ObjectDB Explorer

ObjectDB explorer is mainly designed as database viewer, not editor. However, I think it can be improved to function as a capable editor also, and I think this will make ObjectDB an even better product. ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
issue

Server crash - Mismatch client-server protocol prefix

We've been having a problem where our ObjectDB server goes unresponsive every 2 days or so.  I've reviewed the server-side logs, and there are no events logged shortly before the crash.  Once the server gets in this state, it is unresponsive to bin/server.sh restart; I have had to reboot the entire server on which it's running.  The only recorded symptom is a client-side error (which fortunately gets auto-mailed to me): ... at java.lang.Thread.run(Thread.java:679) Caused by: com.objectdb.o.UserException: Mismatch client-server protocol prefix ... The database file will not help here, but just verify by running the Doctor that it is healthy. A thread dump of the server ...

 
forum_thread

Criteria Query results in a NoResultException instead of returning object

When I run the following code    ... java.lang.Thread.run(Thread.java:662) Caused by: com.objectdb.o._NoResultException: No matching results for a unique ... returns "name" but this cannot be determined by the code you posted. In this is the case - could you please post a complete ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ...

 
forum_thread

Externalising persistence.xml properties in Glassfish?

Hi, ... 'javax.persistence.jdbc.url' be supplied by the server. Currently, I'm doing all sorts of tricks with maven and file ... That is the easiest solution.  Another way might be by setting a system variable with the url and another one with the ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ...