ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh

Can't modify @EmbeddedId in ObjectDB Explorer

Hi! There is entity Journal with @EmbeddedId JournalId. Id's content can't be seen/modified from ... 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

Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

is printed in the console, open ObjectDB Explorer, modify an entity's type from GOOD to BAD, save ... case 1 but don't modify anything. Just open and close the DB in Explorer. (Follow all the steps, but don't modify.) Just by doing this, it seems that the problem appears. So maybe Explorer disturbs

2.7.3_03 Erroneous "Attempt to modify a primary key of a managed object"

ObjectDB 2.7.3_03 gives my application a "com.objectdb.o.UserException: Attempt to modify a primary ... on an attempt to modify a primary key of a managed object. Older versions missed some checks that were added ... of this thread: Erroneous "Attempt to modify a primary key of a managed object" So I assumed

Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)

modifiers for field uk.co.his.experiment8.cmdline.objdb.CompoundKeyMapItem.container (javax.persistence.Id ... .objectdb.o.UserException: Conflicting modifiers for field uk.co.his.experiment8.cmdline.objdb

Remove a modified entity cause an optimistic lock exception

Hello, the following examples load and modify an entity, and load and remove the same entity. The first example 'SetAndRemoveIssue.java' is a simple java program which executes without errors ... EmbeddedSystems The OSGi test is based on: Retrieving an object from the database. Modifying

Support of modifying an ObjectDB Entity class (Schema Change)

If you modify an ObjectDB Entity class will it be supported by a database set up using the old class? I already have an idea to iterate through a database, getting each record and then creating a record of the new type and replacing it, but I was just wondering if there is an easier way or

Modifier operations

Hi, Today I was reading about different NoSQL databases. One of those database - MongoDB - has a very nice feature, especially for web applications - modifier operations. The whole trick for those operations is to change some value in object without pulling this object from database. So for example

[ODB1] Chapter 6 - Persistent Objects

an exception, because operations that modify the database require an active transaction. An exception ... , and so on. Once assigned, the object ID cannot be modified or replaced. It represents the object as long as ... been modified or deleted during a transaction are held in the cache by weak references

[ODB1] Chapter 5 - JDO Connections

interface represents a transaction on a database. Every operation that modifies the content ... .currentTransaction().begin(); // Operations that modify the database should come here. pm ... (); // Operations that modify the database should come here. tr.commit(); } finally

[ODB1] Chapter 8 - ObjectDB Server

" address=""> <dir path="/"> <permissions access="+" modify="+" create ... .0.1"> <dir path="/"> <permissions access="+" modify="+" create="+" delete ... and its four attributes. The access permission enables opening database files and the modify permission enables

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support