About embedded

forum_thread

Explorer and multi-thread

When I use explorer.exe to browse the database in objectdb, eclipse tells me another app occupy it, then how can objectdb support multi-thread? ... JVM) simultaneously. This is supported by ObjectDB in both embedded mode and client-server mode. However, if you try to open the ...

 
manual

Database Management Settings

Explains settings and performance tuning of the ObjectDB Java object database for JPA/JDO.... settings which are relevant on the server side and in embedded mode. The default configuration file contains the following ...

 
forum_thread

odb file size doesn't shrink

Hello, why delete from ... doesnt modify size of odb? Even in in embedded mode, and in server mode i use recovery, not recording mode. ... why delete from ... doesnt modify size of odb? Even in in embedded mode, and in server mode i use recovery, not recording mode. ...

 
forum_thread

Efficient query on EmbeddedId

Hi! I have an entity class with an @EmbeddedId (field1 int and field2 int). Based on the manual, I understand that making a query just on entity.id.field1 is efficient. Of course, making a query containing the whole EmbeddedId is the ideal case, and I use it, but I need more use cases. ... Because field1 and field2 form an embedded ID, i.e. serve as the primary key: All the objects of ...

 
forum_thread

Database Inconsistency or corruption

Hi, since a week I have been trying to find a solution to a strange problem. We are using ObjectDB 2.6.8_02 im embedded mode. The problem is that data gets lost when updating an entity. 1-) Background Consider Three entities: ObjectValue, Attribute and Value. ObjectValue has a one to many relationship to Attribute and Attribute has a one to one relationship to Value. ... strange problem. We are using ObjectDB 2.6.8_02 im embedded mode. The problem is that data gets lost when updating an ...

 
api-jpa

isId()

Is the attribute an id attribute.(Method of javax.persistence.metamodel.SingularAttribute)

 
forum_thread

How to configure where the ODB is stored?

Hi, The documentation is lacking in this respect. How do I configure where the ObjectDB database file is stored. I need to know where it is so I can inspect it with 'database explorer'. The docs say to set it to "$objectdb/db/points.odb" and that this defaults to "the installation directory of ObjectDB". BUT... I DIDN'T INSTALL OBJECTDB - my maven build downloaded it and embeded it. So, where is this file stored??? Also, the contents of the DB don't seem to be persisted between AppServer restarts.  #1 2012-05-26 20:45 Hi, The documentation is lacking in this respect. How do I configure where the ObjectDB database file is ...

 
forum_thread

the tutorial netbeans and javaee6 dont work,

hi . i am Mauro . i have tried the tutorial for the objectDB and netbeans and JAvaee6 I have insert the persistencex.ml like tutorial (for the embedded mode) . but when i have insert the name into form for to save the new guest into db , i get the following message from glassfsih:   HTTP Status 404 - -------------------------------------------------------------------------------- type Status report message ... I have insert the persistencex.ml like tutorial (for the embedded mode) . but when i have insert the name into form for to save ...

 
forum_thread

Explorer shows Long id, but should be Integer

Hi! I have seen a strange behavior of ObjectDB Explorer: it shows @Id as being Long, not Integer as it's normally declared in the java class. This happens now with all entities in all 3 databases used for one project. If I open one of the entities in the explorer, then I click on it's id (in the sample on parts of the Embedded id) as if I would want to edit, then I press enter and ObjectDB Explorer shows the field type as Integer, as it should normally be. I have attached just a small sample to see. ... then I click on it's id (in the sample on parts of the Embedded id) as if I would want to edit, then I press enter and ObjectDB ...

 
forum_thread

recovery enabled="false", still creates tablename.odb$ files

Running in embedded mode, configuration specifies "<recovery enabled ="false"... />".  Still, tablename.odb$ files get created, and if still present after an abrupt stop, the application will not restart properly.   What do we need to do to not utilize recovery files (not have orphan tablename.odb$ files)? ... 18:28 Running in embedded mode, configuration specifies "<recovery enabled ="false"... ...