About connect

forum_thread

LAZY @ManyToOne field functions as EAGER

In the code example below (also attached) I would like to understand why I am able to print to console a lazy @ManyToOne field after the entity manager closes. There is a switch DO_VIEW_BEFORE_CLOSE, and when it is true the fields are accessed and output before the finding entity manager closes and as expected both a LAZY @ManyToOne field and an EAGER @ManyToOne field are viewable: b.cLazy:{C}[2]"cLazy"
 b.cEager:{C}[3]"cEager" #1 2012-03-14 01:19 In the code example below (also attached) I would like to understand why I am able to print to console a laz ...

 
forum_thread

Drop in Client/server mode not working

Hi, can't seem to get drop to work in c/s mode: version: objectdb-2.3.5_04 config: <extensions drop="tmp" /> url: 'objectdb://localhost/testStorage1.tmp;drop;user=admin;password=admin'   suggestions? David   #1 2011-12-29 21:56 Hi, can't seem to get drop to work in c/s mode: version : objectdb-2.3.5_04 config :&nb ...

 
forum_thread

Performance tuning, best practices

we have a system where we serve from a host process around 200 clients connected via webSockets (Jetty). The core process is running on a dedicated Windows 2012 server with 16 GByte RAM and 8 processor cores.  What is strange for us is that max 20% of the cpu resources are used and the IO subsystem is at maximum 30% of activity under heavy load but database queries are let's say not at the speed we would expect. We have currently 20.000.000 objects in the database, our configuration settings are: #1 2016-11-15 08:07 we have a system where we serve from a host process around 200 clients connected via webSockets (Jetty). The core ...

 
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: Bug Version: 2.6.5 Priority: Normal Status: Fixed Replies: 2 Type:  Bug ...

 
forum_thread

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

Hi, I upgraded the odb file using converter.jar which is having 15943 entry. Previously, with object 1.x, the same query was getting executed within an seconds and now the same is taking around 40 seconds in object db 2.x I have build the query using the follwoing Query query = persistanceManager.newQuery("LogEntryAttrebuteImpl.calss", "typeIndexes.contains(this.type) && logEntryIdList.contains(this.logEntryId)"); ... defined 2. Convert the old odb file 3. Connect to database, basically created a Persistance manager object for odb ... defined 2. Convert the old odb file 3. Connect to database, basically created a Persistance manager object for odb ...

 
manual

Online Backup

Online Backup enables backing up an ObjectDB database while it is in active use by applications. The ability to create a backup while the system is running is essential in applications and services that have to be available 24/7/365. An ObjectDB database can be backed up by simply copying or archiving the database file while the database is offline (i.e. when it is not open in an ObjectDB server and not in use by any application), since an ObjectDB database is stored as an o ...

 
forum_thread

Bulk Delete and Update - best practice?

The attached test creates 1000 large objects and then attempts to delete them all in one go using a DELETE statement. I'm trying to run with -Xmx512m but the test runs out of memory during the delete. The attachment also contains an update test which has similar memory problems. I'm running both tests with the default objectdb.conf. In general is an UPDATE/DELETE statement the most efficient way to update/remove a large number of objects? #1 2011-11-20 12:23 The attached test creates 1000 large objects and then attempts to delete them all in one go using a DELETE statem ...

 
forum_thread

Sample JDO Architecture for Follow Up Questions

I am trying to finalize on my application's JDO and ObjectDB archieture.  I have done documentation survey (reading JDO books, studying ObjectDB's documents and forum) and have designed what I think is the best architecture for my particular application usage model. #1 2016-07-25 15:26 I am trying to finalize on my application's JDO and ObjectDB archieture.  I have done documentation surv ...

 
forum_thread

using objectdb.jar in writing data to mariadb or mysql db

Hello All, #1 2015-09-01 14:18 Hello All, I am trying to develop an ICT-Issue-Tracking application. The front end is to be java (for des ...

 
forum_thread

A distinguished Name for server or explorer is good for maintaining!

In windows, the server runs as "javaw"; in Linux it is "java". If the server failed, for example, it always outputs this message, regardless changing IP setting: ... [ObjectDB 2.2.8] Failed to connect to server 127.0.0.1:6136 (Connection timed out) (error 522) ...