About server

forum_thread

Deploy ObjectDB in WildFly 10

Hi, I'm currently evaluating ObjectDB and try to deploy my project in WildFly 10. I've installed ObjectDB in the modules directory and added a persistence.xml file: ... deployment "omd-in-memory-db.jar" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start ( ... java :52 ) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start ( ... right click the project root and run (Run As > Run on Server) with WildFly if installed on Eclipse.   ...

 
manual

Auto Generated Values

Explains the different strategies for generating auto values (mainly for primary key fields) in JPA.... is needed earlier. To minimize round trips to the database server, IDs are allocated in groups. The number of IDs in each allocation is ...

 
forum_thread

Integration

Hi,   Is there a way to integrate ObjectDB with Spring Framework to add the benefits of Transaction Management and DAO Support?   Regards,... mode for now. Is it that big a performance difference vs server mode? edit ... load time weaving. Regarding embedded mode vs client-server mode - see: ... ObjectDB Support ObjectDB - Fast ...

 
forum_thread

Java 9 support

Hi,  is ObjectDB supporting Java 9 already ? If not when can we expect the support for it ? ... 9.  Here are the results. Using the slowest server provided by Amazon Web Services (a "t2.nano", which has only a single ... able to, on average, perform a fully encrypted client-to-server-to-database-to-server-to-client round trip write operation of about 31 ...

 
manual

Obtaining a JPA Database Connection

Shows how to use Java/JPA to connect to the ObjectDB Object Database.... (such as a database file pointer or a socket to a remote server) in a connection pool and use them to speed up future EntityManager ...

 
forum_thread

com.objectdb.o.NLV cannot be cast to com.objectdb.o.RSV

Hello! This query is working fine SELECT DISTINCT $1 FROM ChatHistoryItem $1 JOIN $1.recipient $2 JOIN $1.sender $3 WHERE ($2.id='22afeafe-363f-4397-8553-cc5688ba142d') OR ($3.id='22afeafe-363f-4397-8553-cc5688ba142d')  ORDER BY MAX($1.createDate) DESC   but this query returns an exception "com.objectdb.o.NLV cannot be cast to com.objectdb.o.RSV" SELECT DISTINCT $1 FROM ChatHistoryItem $1 JOIN $1.recipient $2  ... >   [2013-08-02 13:43:09 #8208 server] java.lang.ClassCastException: com.objectdb.o.NLV cannot be cast to ...

 
forum_thread

Improvement in replication

Hi, I was thinking about some improvement in replication mechanism. Our application do only few writes (mostly reads), but those writes are important for us - objects rating, profile modifications. So in current implementation when master node dies, there is only a chance to read data from slave and all writes fails. ... dies, so the user knows that transaction failed. On slave server (and only on them) there can be some kind of timeout for replicated ...

 
forum_thread

Drop the entire database, Change the schema

I am trying to port and example app to ObjectDb. As part of the tests I drop the database and reload it with the new schema automatically between test cycles. Is there a simple way to do this with ObjectDb, or is the only way to delete the database file everytime? Thanks ... be added to that configuration setting. In client-server mode this configuration should be set on the server side. ObjectDB Support ObjectDB - Fast ...

 
issue

Schema-Update: Rename superclass and remove one subclass

Hello, we renamed a superclass and removed one of the subclass. If we then try to open the Database (with ObjectDB-Explorer) we get a "Failed to generate dynamic type ..."   Small Example: Generate Database ... (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.8.0_51 (on Windows 7 6.1). Please report this error on ...

 
issue

ClassCastException thrown when running count query

Hello! Attached you find a full stacktrace. The query was: ... = 101 The exception looks different (embedded vs server mode) but i think it has the same reason. Please keep the ...