ObjectDB Database Search

1-50 of 154 results

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

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

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

. Therefore, to manipulate an ObjectDB database, you need an EntityManager instance. Operations that modify database ... that modify database content, such as storing, updating, and deleting entities, must be performed ... , you can invoke EntityManager methods that modify the database content, such as persist and remove

JPA Entity Fields

either the Java transient modifier (which also affects serialization) or the JPA @Transient ... that modifies an entity, its version number is automatically incremented by one. Version fields are used

JPA Persistable Types

. It can contain constructors, methods, fields, and nested types with any access modifier ( public , protected ... , enum values are represented internally by their ordinal numbers. Use caution when modifying an enum

JPA Class Enhancer

The ObjectDB Enhancer is a post-compilation tool that improves performance by modifying the bytecode of compiled classes. Enhancement applies mainly to user-defined persistable classes ( entity ... whenever a persistent field is modified . Enhanced code enables lazy loading of entities

jakarta.persistence.criteria.Subquery

whether they must be retained Returns: the modified subquery.. Since: Jakarta Persistence (JPA) 1.0 Predicate equalTo ... Parameters: grouping - zero or more grouping expressions Returns: the modified subquery. Since: Jakarta ... : the modified subquery. Since: Jakarta Persistence (JPA) 1.0 Subquery having ( Expression restriction

JPA Lifecycle Events

when the EntityManager detects that an entity has been modified . @PostUpdate : Invoked after an entity

Database Management Settings

, which modify the database. For debugging query failures, you might need to record "all" operations to reproduce

Storing JPA Entities

entities. Because operations that modify the database require an active transaction, persist throws

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

Detached JPA Entities

a TransactionRequiredException if you call it without an active transaction, because merging can modify

DELETE Queries in JPA/JPQL

is a good practice. As with any operation that modifies the database, DELETE queries must be executed

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 instead of through ObjectDB (for example, with malicious software

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, or modifying constructors, methods, and non-persistent fields. However, ObjectDB detects additions, deletions, and modifications

What's next?

program. You can start your own ObjectDB/JPA projects by modifying this example program

jakarta.persistence.LockModeType

phenomena can occur: P1 (Dirty read): Transaction T1 modifies a row. Another transaction T2 then reads that row and obtains the modified value, before T1 has committed or rolled back. Transaction T2 ... T2 then modifies or deletes that row, before T1 has committed. Both transactions eventually commit

jakarta.persistence.criteria.PluralJoin

Persistence (JPA) 3.2 Join on ( Expression restriction ) Modify the join to restrict the result ... : the modified join object. Since: Jakarta Persistence (JPA) 2.1 Join on ( Predicate... restrictions ) Modify the join to restrict the result according to the specified ON condition and return the join

jakarta.persistence.criteria.MapJoin

(JPA) 3.2 MapJoin on ( Expression restriction ) Modify the join to restrict the result according ... : the modified join object. Since: Jakarta Persistence (JPA) 2.1 MapJoin on ( Predicate... restrictions ) Modify the join to restrict the result according to the specified ON condition and return the join object

jakarta.persistence.criteria.SetJoin

restriction ) Modify the join to restrict the result according to the specified ON condition and return ... - a simple or compound boolean expression Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1 SetJoin on ( Predicate... restrictions ) Modify the join to restrict the result according

jakarta.persistence.criteria.CollectionJoin

Persistence (JPA) 3.2 CollectionJoin on ( Expression restriction ) Modify the join to restrict the result ... Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1 CollectionJoin on ( Predicate... restrictions ) Modify the join to restrict the result according to the specified ON condition

jakarta.persistence.EntityManager

to perform operations that affect the state of the persistence context, or that modify the lifecycle state ... manager. Modifying the contents of the returned map does not change the configuration in effect. Returns

jakarta.persistence.criteria.CollectionJoin.on(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CollectionJoin CollectionJoin on (    Expression restriction ) Modify the join to restrict the result according ... . Parameters: restriction - a simple or compound boolean expression Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.CollectionJoin.on(Predicate...)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CollectionJoin CollectionJoin on (    Predicate... restrictions ) Modify the join to restrict the result according ... . Parameters: restrictions - zero or more restriction predicates Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.Subquery.where(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery Subquery where (    Expression restriction ) Modify the subquery to restrict the result according to the specified ... compound boolean expression Returns: the modified subquery. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.AbstractQuery.where(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.AbstractQuery AbstractQuery where (    Expression restriction ) Modify the query to restrict the query results according ... : restriction - a simple or compound boolean expression Returns: the modified query. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Subquery.where(Predicate...)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery Subquery where (    Predicate... restrictions ) Modify the subquery to restrict the result according ... - zero or more restriction predicates Returns: the modified subquery. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.AbstractQuery.where(Predicate...)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.AbstractQuery AbstractQuery where (    Predicate... restrictions ) Modify the query to restrict the query results according ... removed. Parameters: restrictions - zero or more restriction predicates Returns: the modified query. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Subquery.where(List)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery Subquery where (    List restrictions ) Modify the query to restrict the query result according to the conjunction ... - a list of zero or more restriction predicates Returns: the modified query. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.criteria.AbstractQuery.where(List)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.AbstractQuery AbstractQuery where (    List restrictions ) Modify the query to restrict the query result according ... . Parameters: restrictions - a list of zero or more restriction predicates Returns: the modified query. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.criteria.SetJoin.on(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.SetJoin SetJoin on (    Expression restriction ) Modify the join to restrict the result according to the specified ... - a simple or compound boolean expression Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.SetJoin.on(Predicate...)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.SetJoin SetJoin on (    Predicate... restrictions ) Modify the join to restrict the result according to the specified ... : restrictions - zero or more restriction predicates Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.ListJoin.on(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.ListJoin ListJoin on (    Expression restriction ) Modify the join to restrict the result according to the specified ... : restriction - a simple or compound boolean expression Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.Join.on(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Join Join on (    Expression restriction ) Modify the join to restrict the result according to the specified ON condition ... - a simple or compound boolean expression Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.Join.on(Predicate...)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Join Join on (    Predicate... restrictions ) Modify the join to restrict the result according to the specified ... - zero or more restriction predicates Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.MapJoin.on(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.MapJoin MapJoin on (    Expression restriction ) Modify the join to restrict the result according to the specified ... - a simple or compound boolean expression Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.MapJoin.on(Predicate...)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.MapJoin MapJoin on (    Predicate... restrictions ) Modify the join to restrict the result according to the specified ... : restrictions - zero or more restriction predicates Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.ListJoin.on(Predicate...)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.ListJoin ListJoin on (    Predicate... restrictions ) Modify the join to restrict the result according to the specified ... : restrictions - zero or more restriction predicates Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.AbstractQuery.distinct(boolean)

whether they must be retained Returns: the modified query. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.AbstractQuery.groupBy(List)

- list of zero or more grouping expressions Returns: the modified query. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.AbstractQuery.having(Expression)

boolean expression Returns: the modified query. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.AbstractQuery.having(Predicate...)

are simply removed. Parameters: restrictions - zero or more restriction predicates Returns: the modified query. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.AbstractQuery.having(List)

removed. Parameters: restrictions - a list of zero or more restriction predicates Returns: the modified query. Since: Jakarta Persistence (JPA) 3.2

Step 3: Define an EJB Session Bean

JTA - no 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 transaction

Step 3: Define a Spring DAO Component

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