ObjectDB Database Search

1-50 of 200 results

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 ... the problem, which says the problem also. Repeat 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

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 ... The exception should be thrown on an attempt to modify a primary key of a managed object. Older ... , the error I got was the same as the title of this thread:  Erroneous "Attempt to modify a primary

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

Creating Database [ObjectDB 2.2.9_05] javax.persistence.PersistenceException Conflicting modifiers ... .UserException: Conflicting modifiers for field uk.co.his.experiment8.cmdline.objdb.CompoundKeyMapItem

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 ... BTC 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

Updating JPA Entity Objects

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 objects

Apache License, Version 2.0, January 2004

; and You must cause any modified files to carry prominent notices stating that You changed the files ... are for informational purposes only and do not modify the License. You may add Your own attribution notices ... the Work, provided that such additional attribution notices cannot be construed as modifying the License

Obtaining a JPA Database Connection

to manipulate an ObjectDB database we need an EntityManager instance. Operations that modify database ... an EntityTransaction Operations that modify database content, such as store, update, and delete ... returns. When a transaction is active you can invoke EntityManager methods that modify the database

Database Connection using JPA

, but it is a one time operation. Once constructed, it can serve the entire application. Operations that modify ... that modify the database should come here. em. getTransaction (). commit (); } finally { if (em ... the rollback and is not returned to its pre- modified state. Ending a transaction with a commit propagates

UPDATE SET Queries in JPA/JPQL

that a cached entity object in its persistence context has been modified by an UPDATE query ... operation that modifies the database, UPDATE queries can only be executed within an active ... - the executeUpdate method returns the number of objects that have been modified by the query. Selective Update

Server User List

: access - permission to open a database for read. modify - permission to modify the content ... is still allowed to view the directory content (using the Explorer) but cannot open database files or modify

Locking in JPA

time) is 1. In every transaction in which an entity object is modified its version number ... if the version numbers do not match, indicating that the object has been modified by another user ... object as modified (dirty) and increases its version number by 1. The PESSIMISTIC_FORCE_INCREMENT mode

JPA Entity Fields

either the Java transient modifier (which also affects serialization) or the JPA @Transient annotation ... for the first time) is 1. For every transaction in which an entity object is modified its version number

Detached Entity Objects

the database unless modified detached objects are merged back into an EntityManager to become managed ... if there is no active transaction when merge is called because operations that might modify the database

JPA Persistable Types

. It can contain constructors, methods, fields and nested types with any access modifiers (public, protected ... their ordinal numbers. Caution is required when modifying an enum type that is already in use in an existing

JPA Class Enhancer

ObjectDB Enhancer is a post compilation tool that improves performance by modifying the byte code of compiled classes after compilation. Enhancement is mainly for user-defined persistable classes ... that automatically notifies ObjectDB whenever a persistent field is modified . Enhanced code enables lazy

Eclipse Public License - v 1.0

the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward ... . No one other than the Agreement Steward has the right to modify this Agreement. The Eclipse

Working with JPA Entity Objects

Entities section. If a managed entity object is modified within an active transaction the change ... the Configuration chapter. By default, managed entity objects that have not been modified or removed

Database Explorer

is modified by another process the viewer windows in the Explorer might display cached content that does ... command. The order of elements in an ordered collection can be modified by using the Edit Move Element

JPA Lifecycle Events

- after an entity has been retrieved from the database. @PreUpdate - when an entity is identified as modified by

Database Management Settings

(which modify the database) have to be recorded. For debugging of query failure

Storing JPA Entity Objects

is called because operations that modify the database require an active transaction. If the database

ObjectDB License Agreement [ver. 2.0.4]

of this agreement. 2. The Customer is not allowed to modify the Software or any portion of it in any

DELETE Queries in JPA/JPQL

with any operation that modifies the database, DELETE queries can only be executed

Literals in JPQL and Criteria Queries

) but it can be modified by specifying another name explicitly in the @Entity 's name annotation element

How to install ObjectDB?

ObjectDB is distributed as a zip file. Just download and extract the ObjectDB distribution zip file. No need to run any install or setup program. You can uninstall ObjectDB by deleting the ObjectDB directory. ObjectDB does not modify the registry or any other system file.

Database Doctor

. Modifying the database file externally not through ObjectDB (e.g. by malicious software such as

Database Schema Evolution

Modifications to entity classes that do not change their persistent field definitions (their schema) are transparent to ObjectDB. This includes adding, removing and modifying constructors, methods and non persistent fields. However, additions, deletions and modifications to the persistent fields

What's next?

your own ObjectDB/JPA projects simply by modifying this sample program. Reading the Next Chapters

Deleting JPA Entity Objects

is thrown if there is no active transaction when remove is called because operations that modify

Shared (L2) Entity Cache

to the shared cache. On commit - new and modified entity objects are added to the shared cache. JPA

Entity Management Settings

(which serves as a first level cache). The valid values are "weak" , "soft " and "strong ". Modified

Paths and Types in JPQL and Criteria API

( Root , Join ) - The creation of a FROM expression automatically modifies the query by adding

ObjectDB Website - Terms and Conditions of Use

, and under this license you may not: modify or copy the materials; use the materials for any commercial

JPA Primary Key

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, ObjectDB supports implicit object IDs, so an explicitly defined primary key is not

InterfaceRef jakarta.persistence.criteria.CriteriaQuery

must be eliminated from the query result or whether they must be retained Return: the modified query. Since: JPA 2 ... more grouping expressions Return: the modified query Since: JPA 2.0 CriteriaQuery groupBy (List   ... Return: the modified query Since: JPA 2.0 CriteriaQuery having ( Expression  restriction

InterfaceRef javax.jdo.spi.StateManager

whether this object is dirty. Instances that have been modified , deleted, or newly made persistent in the current ... - the calling PersistenceCapable instance Return: true if this instance has been modified in the current ... instances read in data store transactions; and persistent instances modified in optimistic transactions

InterfaceRef jakarta.persistence.criteria.Subquery

or whether they must be retained Return: the modified subquery. Since: JPA 2.0 Predicate equalTo ... - zero or more grouping expressions Return: the modified subquery Since: JPA 2.0 Subquery groupBy ... more grouping expressions Return: the modified subquery Since: JPA 2.0 Subquery having ( Expression  

InterfaceRef jakarta.persistence.criteria.AbstractQuery

must be eliminated from the query result or whether they must be retained Return: the modified query ... . Parameters: grouping - zero or more grouping expressions Return: the modified query Since: JPA 2.0 ... : grouping - list of zero or more grouping expressions Return: the modified query Since: JPA 2.0

InterfaceRef javax.jdo.PersistenceManager

) Get a modifiable FetchGroup for the Class and name. If a modifiable FetchGroup already exists in ... the application modifying one or more of the application key fields, then this method returns the identity ... of the instance. If the object identity is being changed in the transaction, by the application modifying one or

InterfaceRef jakarta.persistence.criteria.CriteriaUpdate

- new value Return: the modified update query Since: JPA 2.1 CriteriaUpdate set ( Path   ... - attribute to be updated value - new value Return: the modified update query Since: JPA 2.1 CriteriaUpdate ... of the specified attribute. Parameters: attribute - attribute to be updated value - new value Return: the modified

EnumRef jakarta.persistence.LockModeType

): Transaction T1 modifies a row. Another transaction T2 then reads that row and obtains the modified ... (Non-repeatable read): Transaction T1 reads a row. Another transaction T2 then modifies or deletes ... modifies a row. Another transaction T2 then reads that row and obtains the modified value, before T1

InterfaceRef javax.jdo.spi.StateInterrogation

of the ObjectId of the parameter instance as modified in this transaction ... instance as modified in this transaction. See Also: PersistenceCapable() Since: JDO 2.0 Boolean ... ) Tests whether the parameter instance is dirty. Instances that have been modified , deleted, newly

InterfaceRef javax.jdo.spi.PersistenceCapable

, object identity, and version if it has one. In the Reference Implementation, the JDO Enhancer modifies ... identity is being changed in the transaction, this method returns the current object id as modified in the current transaction. Return: a copy of the ObjectId of this instance as modified in

Step 3: Define an EJB Session Bean

using JTA - no need to wrap every operation that modifies the database (such as  persist ) by

Step 3: Define a Spring DAO Component

annotation, saving the need to wrap every operation that modifies the database (such as persist ) by

Step 3: Define a Spring DAO Component

, saving the need to wrap every operation that modifies the database (such as persist ) by

Step 3: Define an EJB Session Bean

JTA - no need to wrap every operation that modifies the database (such as persist ) by transaction