About Object Database

manual

Database Connection using JPA

Describes the main JPA interfaces: EntityManagerFactory, EntityManager and EntityTransaction.... Overview A connection to a database is represented by an EntityManager ... method Return the resource-level EntityTransaction object. See JavaDoc Reference Page... method: try ... method Return the resource-level EntityTransaction object. See JavaDoc Reference Page... ( ) . begin ...

 
forum_thread

Object as parameter results in exception

Hi,    I've got a simple JPA2 Criteria query which fails when doing an object equality. I verified this against EclipseLink and over there, it works. I'll Attach some code snippets to help figure it out:   @Entity() public class Product{ . . . @ManyToOne     private Compamy owningCompany; } @Entity() public class Company{    .    .    .     @Id    private Long id; } and the query: ... got a simple JPA2 Criteria query which fails when doing an object equality. I verified this against EclipseLink and over there, it works. ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
forum_thread

Best practice: Database update/migration of embedded databases in products

Hello Support, what experience do you have for data migration within a product? An example: There are three versions of a product (v1.0; v1.1, v2.0). In each version, the entities have been modified. Attributes added, removed and renamed. If attributes were removed, then only because the data is now held otherwise. ... The product store user data in the ObjectDB-Database. Example: V1.0: EntityPerson{ String firstName;  String ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...

 
issue

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

objectdb-2.2.5_08 NetbeansID6.9.1+Glassfish3.01 I suspect the following is an Explorer bug. It is marked knowingly as CRITICAL by me because it makes the ObjectDB system unusable for a real project because it appears to be either database integrity corruption, or it just looks like it, which is just as bad. I attach a running project illustrating the problem, as well as screenshots. ... for a real project because it appears to be either database integrity corruption, or it just looks like it, which is just as bad. ... there are 2 Project objects, and note that every Element object (except Project itself) gets a Project reference on construction: ...

 
manual

JPA Primary Key

Explains how to define and use primary keys in JPA, including composite and embedded primary keys. Every entity object that is stored in the database has a primary key. Once assigned, the primary key cannot be modified. It represents the entity object as long as it exists in the database. As an object database, ...

 
forum_thread

A few questions on object database design

I've been trying to model a database that stores data in an MMORPG. With ObjectDB, a lot of things are easier to perform. Intuitively, I created an entity class called player and stored everything about the player as embeddable classes. However, my colleague questions about this structure, since we would be looking at persisting data from the server every minute or two per player. He has stability issues with the ObjectDB if we are accessing the same table all the time.... I've been trying to model a database that stores data in an MMORPG. With ObjectDB, a lot of things are ... of data separately. On the other hand, if the entity object becomes too big and it includes a lot of data that is not always needed, ...

 
manual

[ODB1] Chapter 9 - ObjectDB Explorer

Explains how to view and manipulate database files in the database explorer. ... 9.1  Running the Explorer 9.2  Browsing the Database 9.3  Editing the Database 9.4  Tools and ... database tools. Every row in the table represents a single object, every column represents a persistent field, and the content of a cell ...

 
forum_thread

Time Sequence Object Command DB

We (www.s2ssystems.com) have a time-sequential object command database.  I would like to see if it can be built and run efficiently on ObjectDB.   The requirements that drive the design of this database are: ... We (www.s2ssystems.com) have a time-sequential object command database.  I would like to see if it can be built and run efficiently on ...

 
manual

Obtaining a JPA Database Connection

Shows how to use Java/JPA to connect to the ObjectDB Object Database. In JPA a database connection is represented by the EntityManager ... as previously explained). Once the EntityManager object is closed it cannot be reused. But, the owning EntityManagerFactory ... method Return the resource-level EntityTransaction object. See JavaDoc Reference Page... ( ) . begin ...

 
forum_thread

Corrupted Database or error in ObjectDBExplorer?

Hello, we have problems when we open our Database file with the ObjectDB-Explorer (2.6.8_b8). Can you analyze the problem and tell us if its a problem of the explorer or a real problem in the Database-File? An analysis with the DB-Doctor found no problems.   We observe the error if we try to open the Tree or Table Window for com.btc.ep.analysis.test.bl.internal.dmos.RequirementBasedTestCaseImpl  (its the 9th entity)   ... Hello, we have problems when we open our Database file with the ObjectDB-Explorer (2.6.8_b8). Can you analyze ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...