Home » Search

About in

191-200 of 200Refresh
Manual
7

Database Transaction Replayer

ObjectDB can record its internal engine operations in special binary recording (journal) files. Recording is enabled by default and can be disabled in the configuration. The ObjectDB Replayer tool ... default, the recording directory is generated in the directory that contains the database file
Tutorial
7

Step 2: Entity Class and Persistence Unit

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Entity Class] dialog box, e.g. by right clicking the project node (in the [Projects] window ... name - use exactly that case sensitive package name. Click Next to create the new entity class. In
Tutorial
7

Step 2: Entity Class and Persistence Unit

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Entity Class] dialog box, e.g. by right clicking the project node (in the [Projects] window ... name - use exactly that case sensitive package name. Click Next to create the new entity class. In
Tutorial
7

Step 2: Entity Class and Persistence Unit

To store objects in an ObjectDB database using JPA we need to define an entity class: Right click the project node (in the [Package Explorer] window), select New > Source Folder, enter src/main/java ... the new source directory node (in the [Package Explorer] window) and selecting New > Class. Enter guest as
Tutorial
7

Step 3: Add a Main Class

In this step we will add a main class to the project with code that will store Point objects in ... clicking the tutorial package node (in the [Package Explorer] window) and selecting New > Class ... = emf.createEntityManager(); // Store 1000 Point objects in the database: em
Tutorial
7

Step 3: Add a Main Class

In this step we will add code to the Main class (that was generated with the project) in order to store Point objects in the database and then retrieve them from the database. Use copy and paste ... Point objects in the database: em.getTransaction().begin(); for (int i = 0; i
Issue
7

@Enumerated(EnumType.STRING) annotation inhibits proper execution of IN expressions.

) Queries using JPQL IN expressions on this field won't work correctly anymore. This issue has been described in forum post 681 (JPA JPQL WHERE clause for IN :variable not working if variable is a list ... can be easily repeated by changing the example in forum post #1254 to @Enumerated(EnumType.STRING), as
Forum
7

@SequenceGenerator and single id in whole database

Hi, I have a question about @SequenceGenerator. I have separate @SequenceGenerator in each ... like in RDBM? You can use different generators for different entity classes: By using multiple ... these generators to @Id fields in different classes. Make sure you set both the strategy and the generator
Forum
7

Can't modify @EmbeddedId in ObjectDB Explorer

only on its parent. Problem: id's content can't be modified through its parent neither. Scenario: open db in ... doesn't support modifying object IDs, not just in the Explorer, but by the application as well. You set ... are usually immutable in object oriented databases. Because object Ids are used in references between objects
Forum
7

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: In my view, this is a bug in the drop feature, as it's important to be able ... open and in use. The Explorer is like any other database user so a database cannot be deleted