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.
Internal Website Search1-10 of 200 resultsRefresh
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
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
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
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
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
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
Modifying existing entity objects that are stored in the database is based on transparent ... Once an entity object is retrieved from the database (no matter which way) it can simply be modified in memory ... all the modified entity objects. Therefore, entity objects that are referenced from modified entity
Explains how to handle JPA/JDO database schema evolution in ObjectDB.
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
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