About check

issue

Exception on the recovery of a database

I've also had this similar exception on the recovery of a database: ... - did you have any problems with the database? Can you check it with the Doctor? ObjectDB Support ...

 
forum_thread

Occasionally slow requests in load testing

We are running load testing against objectdb version 2.3.7_18. The performance is generally OK, however there are quite a few "spikes" in the performance where we are getting a lot of very slow response times from the DB, around 10 - 15 seconds. Looking at the DB server process with AppDynamics we can see that most of the requests get stuck in one of 2 places: com.objectdb.o.PGC:w: line number 232 com.objectdb.o.LFL:U: line number 1068 Please see the attached callgraph examples for full stack trace examples. ... to the database file during query processing. Check the active query. Maybe you have to define a new index or rephrase that ... mode = "write" /> <locking version-check = "true" /> <processing cache = "8mb" ...

 
forum_thread

Pessimistic Lock Timeouts setting

Hi,   I realise that JPA2 doesn't necessarily define a standard API way for Lock Timeouts. However, there is a standardised query 'hint' that can be setup to make the underlying DB lock a record for a specific time. The hint property is: "javax.persistence.lock.timeout" ... This should be a useful feature. I will check if it could be added in one of the next builds. ... ) was just added in build 2.2.3_02. Please check the documentation and try it. ObjectDB ...

 
manual

Retrieving JPA Entity Objects

Explains how to use JPA to retrieve entity objects from the database. The Java Persistence API (JPA) provides various ways to retrieve objects from the database. The retrieval of objects does not require an active transaction because it does not change the content of the database. The persistence context se ...

 
forum_thread

Replaying recorded requests...

Hi, I get the following when ODB starts in embedded mode: Replaying recorded requests... then I get something like 500 lines of recordset information. Here is the relevant part of the config file: Questions: 1) Why am I seeing this if I've set recording enabled to false? 2) I... is that your configuration file is not read - you can check it by putting invalid content in the configuration - if no exception is ... is that your configuration file is not read - you can check it by putting invalid content in the configuration - if no exception is ...

 
manual

[ODB1] Chapter 8 - ObjectDB Server

An ObjectDB server can manage one or more databases. Databases that are managed by a server can be accessed by multiple processes simultaneously. In addition, the server supports accessing these databases from remote machines by TCP/IP. More details about client server mode vs. embedded database mode are discussed in Section 1.2.... a value of 30 (as specified above) indicates a check every 30 seconds. If a change is found, the new configuration is loaded ...

 
forum_thread

pm.newObjectIdInstance returns null

I am on an emergency upgrade mission. Our production odb file currently corrupts when written to. Importing to 2.6.8. has seemed to fix the corruption problem. So....I am in the middle of testing a 2.6.8 upgrade from 104se_2522. It was plugged in to the existing legacy code (2005'ish). Trying to modify as little as possible.... and if this fails a null is returned. You can check that operation directly: Class c = getObjectIdClass ( ...

 
forum_thread

Activation error on Schema change

Hi, 1) Is @OrderBy annotation supported ? When I add this annotation to my entity I get an error, saying that I did not activate my ObjectDB (which I did) : ... not a big problem. Activation is quite fast and I did check upgrade on our dev env first :) ...

 
forum_thread

NullPointerException in ENH.g(ENH.java:401)

Hi, I experience a NullPointerException inside the objectdb code with the following stacktrace: ... a list of objects from the database. Please check your database file for errors using the ObjectDB Doctor, and if necessary ... 11:56 We can check the database and possibly repair it (by finding why the Doctor ...

 
forum_thread

mapping file is not being loaded

Hi, I am evaluating ObjectDB by using it with an in-house developed library in order to prototype its capabilities / performance. I am having a problem in that the in-house library in question reads a simple configuration file to determine available persistence units, and then bootstraps them using the JPA Persistance.createEntityManagerFactory() method and passing in the persistence unit name (again, obtained from the configuration file ). ... 22:55 Please check if listing the entity classes in the persistence.xml file makes any difference. Another thing to check - setting  exclude-unlisted-classes to false rather than ...