Home » Search

About Object Database

141-150 of 200Refresh
Tutorial
9

Step 2: Define a JPA Entity Class

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Package Explorer] window ... should represent Point objects in the database. Besides the @Entity annotation and the id field
Tutorial
9

Step 2: Define a JPA Entity Class

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the tutorial package node (in the [Projects] window ... ("(%d, %d)", this.x, this.y); } } The new class should represent Point objects in the database
Result
9

What is new in ObjectDB 2.0?

optimistic locking support. Performance improvement in writing and reading of objects. Level 2 (PersistenceManagerFactory scope) object data cache. Query program cache for repeating queries ... configurable database page cache. Designed to support very large database files (terabytes). Reducing round
Result
9

How to upgrade from ObjectDB 1.0?

the new Enhancer. Convert old database files using the ObjectDB converter: > java -jar converter.jar ... is more sensitive to failure to close a PersistenceManagerFactory. The database is closed ... . To use embedded objects you must declare classes as embeddable (rather than the reference fields
Issue
9

[Explorer] Editing Database Files

databases in a read only mode. The Explorer should support creating and storing new database objects and editing and updating existing database objects, visually, with no code. This is one of the features ... . Please subscribe to this feature request. Editing databases in the Explorer is now supported by ObjectDB 2.3. lwalkowski gorilla77 FastModel pikotenta
Forum
9

Attempt to refresh a non managed entity object (error 635)

.IllegalArgumentException Attempt to refresh a non managed entity object (error 635) Nothing changed in my code ... with Intellij's JPA database explorer, which required me to use a JPA persistence.xml configuration file ... entity object, i.e. a new entity object that has not been persisted yet, or a detached entity object (e
Forum
9

how to persist an object twice into two diff. collections of two diff. classes

ok my problem,    i persist a Squad Object into a Cup Object at the beginning, after i have to create and persist a competition object in which i have to put some of the already created/persisted ... .java:259) at ch.hsr.gymtastic.technicalServices.database.DBConnection.commit(DBConnection.java:46
Forum
9

Is it ok to put list or map of embeddable objects in entity ?

Hi, Is it ok to put list or map of embeddable objects in entity? I mean, for example : @Entity ... >()) on an entity that had some Class_B instances in bList? Will they be deleted correctly from database ... X not found". I found an option to put a classpath for persistence objects and metadata, where I
Forum
9

Object Relations Error after Schema Change

, until a user that still has the old version of the class accesses the database. Please verify ... database to another ObjectDB database, we think starting with a new DB would help resolve ... . Could you please check the database with the ObjectDB Doctor and post the output? In addition, you can try migrating
Forum
9

Example database world.odb

! The attached program exports data from the World database to the standard output in JSON format. You will need google-gson in order to run it. Thanks a lot! How to save to World database persistent objects ... Hello! Where can I find classes for example database world.odb? Thanks for the answer.   The source