About configuration

forum_thread

java 8 LocalDateTime is not working in query

My entity class has a field of type java.time.LocalDateTime. I'm able to persist entities and I'm able to query without datetime field in where clause, but with datetime in where clause doesn't return anything and not exception.   ... However, the test at #5 above passes if in the configuration  serialization is enabled : <persist ...

 
forum_thread

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

Hi, I experience a NullPointerException inside the objectdb code with the following stacktrace: ... this operation with a schema change declaration in the configuration file. Two different classes with a similar name exist in ...

 
manual

[ODB1] Chapter 5 - JDO Connections

The PersistenShows how to use database connections and transactions in JDO. ceManagerFactory interface represents a factory of database connections. Its main role is to provide PersistenceManager instances. The PersistenceManager interface represents a database connection. Every operation on a database requires a PersistenceManager instance. The Transaction interface represents a transaction on a database. Every operation that modifies the content of the database requires an active transaction.[toc hidden:1]... in a client server connection only when the server configuration allows anonymous access to the database. If not specified here, ...

 
forum_thread

WebService : Failed to get reference value of field using enhanced method

Hi, I try to use objectdb from Tomcat Webservice without webservice it's works fine:   error: Failed to commit transaction: Failed to get reference value of field field persistence.PolicyEntity.policyString using enhanced method #1 2012-01-31 15:20 Hi, I try to use objectdb from Tomcat Webservice without webservice it's works fine: error: or ...

 
issue

Negative snapshot user count exception

I found the following stack trace in my log files; it's cropped up a number of times: ... additional index problems; I resolved the memory configuration on Sunday night.  I re-ran the database doctor on Monday ...

 
forum_thread

Several parallel threads to speed up query on one DB

Hi, I have an application: producer (from a DB) to a consumer. The current bottleneck is the producer from DB (based on a query) and I would like to speed it up. I have tried using several entity managers (same DB instance) to benefit from the parallelisation - but it looks like I don't get much benefit from doing that.  ... It may be possible to improve performance by tuning the configuration (e.g. the maximum concurrent threads ). ...

 
forum_thread

Difficulty with the BIRT plugin

Hi, am trying to get the BIRT plugin to work. Firstly: connecting to an odb server doesn't seem to work (incompatible versions) - but there isn't any way to find out what version the BIRT plugin is using. Next: connecting directly to a file datasource seems to work, in the sense that I can ping the database, however, there doesn't appear to be any way to create a new Data Set from the Data Explorer, as suggested in the online manual: ... The data path attribute in the server configuration. The path of the server's objectdb.jar ...

 
issue

Unable to stop server after starting in SSL mode

ObjectDB server starts & stops fine in non-SSL mode using start & stop shell scripts. ObjectDB server starts fine in SSL mode using start script but throws error and does not stop using stop shell script. Non-SSL mode server start/stop output: ObjectDB Server started on port 7032. ObjectDB Server stopped. SSL mode server start output: ObjectDB Server (SSL) started on port 7032. SSL mode server stop output: ... Note that SSL should be enabled also in the ObjectDB configuration that is used by the STOP command, and in that case ...

 
forum_thread

Persist not working when ObjectDB and another db is used in the same application (through spring) with different tx managers

Hi,  Object are not being persisted when ObjectDB and another db is used in the same application (through spring) with different tx managers, please find an example of this below. Any help is greatly appreciate as we are currently evaluating ObjectDB to use in our new enterprise application and we need to decide if we are going to purchase it very soon. Many Thanks   Persistence.xml ... amend the ObjectDB persistence unit definition in Spring configuration, and specify the name of the persistence unit (you use a ...

 
issue

InternalException during producer/consumer scenario

Hi, I'm trying to use objectdb in a producer/consumer scenario. Producer threads put message objects into a table while consumer threads remove the objects based on age, priority, etc. There are 2 main motivations for using objectdb for this purpose rather than a queue or similar data structure: 1) The consumer can select the "next" object based on a range of potentially complex criteria. 2) The number of objects produced can be potentially exceed available memory so can be held on disk within the objectdb file. ... try setting the  max-threads attribute in your configuration to 0 ? 1000 ? If this doesn't affect - is it ...