About WRITE

forum_thread

Mapped By Fetch is very Slow

Well ! I think i pointed out a HUGE performance issue with mapped-by attribute (yeah again :( ). Here is the test case : 1- Create 100 000 entities with for each 1 entity with @OneToOne(mappedBy attribute) 2- Retrieve only 10 000 for testing 3- Wait ... On my AMD FX 8350, it took 60s Now, go the MyEntity class and remove "mapped-by". You obtain 1 second max of query fetch. ... begin ( ) ; }   // Write 100 000 entities with 1 child for each for ( int i = ...

 
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: ... sync = "false" path = "." mode = "write" /> <locking version-check = "true" /> ...

 
forum_thread

Pre-detach loading: retrieval by navigation not working in if statement

objectdb-2.6.3_04 JDK1.7 VM option at runtime: -javaagent:lib/objectdb.jar Experimental mode: objectdb.temp.no-detach NOT USED ... (which seems to use the internal compiler to write .sig files, rather than .class files, to the NetBeans cache, and ... that you can set (on your web application) in order to write enhanced classes  to files: -Dobjectdb.code.output= ... that you can set (on your web application) in order to write enhanced classes  to files: ...

 
issue

Close() Method of EMF throwing "PersistenceException: Connection is closed" on first attempt to close.

We encountered an issue that caused an outage last Friday on multiple ObjectDb server instances. Bug Version: 2.6.9 Priority: High Status: Active Replies: 1 Type:  Bug ...

 
forum_thread

Can't modify @EmbeddedId in ObjectDB Explorer

Hi! There is entity Journal with @EmbeddedId JournalId. Id's content can't be seen/modified from ObjectDB Explorer from its class. Ok, I get this. It's an @EmbeddedId, so it should depend only on its parent. Problem: id's content can't be modified through its parent neither. Scenario: open db in ObjectDB Explorer, open entity Journal, expand the id, try to modify date/id, save, then refresh data / reopen db, and you'll see that it wasn't modified. Any solutions? #1 2013-05-31 16:15 Hi! There is entity Journal with @EmbeddedId JournalId. Id's content can't be seen/modified from ...

 
forum_thread

Evaluation License

Hi, I'm an individual developer and my project has more then 10 persistable types. How can I get a free commercial license? (According to the post below, this might be possible).     Hi, This exception indicates an attempt to use more than 10 persistable types (e.g. entity classes) with no license key. As noted on the license page: #1 2012-07-11 14:42 Hi, I'm an individual developer and my project has more then 10 persistable types. How can I get a fr ...

 
forum_thread

Optimistic lock failed

Hi, I frequently see exceptions during development such as com.objectdb.o._RollbackException: Failed to commit transaction: Optimistic lock failed for object com.example.MyEntity#3 (object has version 1 instead of 3) Could you please explain what this means, and what I can do about it. Thanks you, Carl     ... "true" sync = "false" path = "." mode = "write" /> <locking version-check = "false" ...

 
forum_thread

Some technical questions

Hi, ObjectDB looks interesting. Have two technical questions... (1) what locking model does ObjectDB use? I.e. 2PL or MVCC? Do writers block readers? Do readers block writers? (2) what's the recommended usage for SAAS? One ObjectDB database per customer, or one ObjectDB database for all? Thank you, Andrej ... Yes, if it has not been locked with pessimistic WRITE. > , and will it see the old attribute? Yes, changes ...

 
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: ... <recording enabled="false" sync="false" path="." mode="write" />   <locking version-check="true" />   ...

 
forum_thread

Schema migration - long to String

Hi, I need to change field type in our model from long to String. After changing filed type in our model and repairing database with doctor, most of our entities is gone. Doctor puts some errors on console: ... schema change. As a workaround you can read and write (after making them dirty) all the instances of that modified type ...