About relation

forum_thread

Getting exception while executing the Query

I have facing a problem when i am executing the query first time, Please find the stack trace below #1 2013-01-17 11:28 I have facing a problem when i am executing the query first time, Please find the stack trace below java. ...

 
issue

ClassCastException: com.objectdb.o.SLV cannot be cast to com.objectdb.o.RSV

Hello, we have found another exception in objectdb.log:   Bug Version: 2.5.0 Priority: Normal Status: Closed Replies: 1 Type:  Bug ...

 
forum_thread

Detaching objects after JOIN FETCH

Hi, I have a question about detaching objects after issuing query with JOIN FETCH. Let's say I have two classes: public class A { @ManyToOne B bClass } public class B { @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL) List<A> aClasses; } Now, I want to fetch all B classes with all A classes skipping lazy loading: ... B (this is the case in my code), detached objects from relation are not visible. I should add mappedBy in the example above, ...

 
manual

Server User List

Explains how to define and set users, directories and permissions in the ObjectDB fast Java database server for JPA/JDO. The < users> configuration element lists the users that are allowed to access the ObjectDB Server and specifies their specific settings (username, password, permissions, quota). The default configuration file contains the following &l ...

 
forum_thread

First query takes 4+ minutes to complete

Hi, we are evaluating ObjectDB 2.5.1_04 in embedded mode hoping to replace SQLite in our application. We observed that in our case it takes on average more than 4 minutes to complete the first SELECT query that we run on the DB which contains about 320,000 records of a single type of object. SQLite in comparison responds within few seconds on average with the same number of records. We hope to receive your recommendation on how to improve this result with this post.   Test System #1 2013-08-05 05:44 Hi, we are evaluating ObjectDB 2.5.1_04 in embedded mode hoping to replace SQLite in our application. ...

 
forum_thread

EntityManager.refresh takes a long time

EntityManager.refresh takes a long time for entity object Person in this code: #1 2013-08-08 15:21 EntityManager.refresh takes a long time for entity object Person in this code: logger. log ( ...

 
forum_thread

EmbeddedId with Generated field value

@Entity public class A { @EmbeddedId private Id id; } @Embeddable public class Id { @Generated private long id; private String zone; } How can I get the field Id.id auto-incremented?   #1 2012-12-06 17:29 I know the following 2 ways to declare a composite Primary key: ********* Solution 1 ********* @ ...

 
manual

Server Configuration

Explains how to set a JPA/JDO database server using ObjectDB, the fast Java object database for JPA/JDO. The < server> configuration element specifies settings for running an ObjectDB Server . The server is affected also by other elements in the configuration file, particularly the <users> and the <ssl> configurat ...

 
issue

[ObjectDB 2.6.7_04] Unexpected exception (Error 990)

Since Version 2.6.7_04 we get the following NullPointerException at Query execution: Bug Version: Priority: High Status: Fixed Replies: 2 Type:  Bug ...

 
forum_thread

Externalising persistence.xml properties in Glassfish?

Hi, #1 2011-04-23 08:43 Hi,   I've run into a little bit of a wall with regards to persistence.xml and externalising the ...