ObjectDB Database Search

101-150 of 200 results

Entity is not related to ObjectDB, but i get exception from ObjectDB

Here is the description of the problem we are facing:
We have an entity DialogActionNew ... Hibernate
When getting this entity from PostgreSQL with the key EntityManager.find(id), we receive another entity - DialogNew, which has an exception: ERROR [org.jboss.ejb3.invocation] (pool-18-thread-1

Remove an entity which attributes were changed - OptimisticLockException

We use an OSGi environment and we have three OSGi plugins.   In plugin A an entity is loaded and the entity is passed to plugin B. Plugin B changes an attribute on the entity . Plugin C removes the entity from the database. After commit the transaction an exception is caused with optimistic

jakarta.persistence.criteria.PluralJoin

if the target of the join is an entity type. Inherited from Join Returns: metamodel attribute or null ... an inner join to the given entity . Inherited from From Parameters: entityClass - the target entity class ... , JoinType joinType ) Create and add a join to the given entity . Inherited from From Parameters

jakarta.persistence.criteria.MapJoin

of the join is an entity type. Inherited from Join Returns: metamodel attribute or null. Since: Jakarta ... ( Class entityClass ) Create and add an inner join to the given entity . Inherited from From Parameters: entityClass - the target entity class Returns: the resulting join. Since: Jakarta Persistence (JPA

jakarta.persistence.criteria.SetJoin

of the join is an entity type. Inherited from Join Returns: metamodel attribute or null. Since: Jakarta ... join ( Class entityClass ) Create and add an inner join to the given entity . Inherited from From Parameters: entityClass - the target entity class Returns: the resulting join. Since: Jakarta Persistence

jakarta.persistence.criteria.CollectionJoin

, or null if the target of the join is an entity type. Inherited from Join Returns: metamodel ... join to the given entity . Inherited from From Parameters: entityClass - the target entity class Returns ... joinType ) Create and add a join to the given entity . Inherited from From Parameters: entityClass

jakarta.persistence.criteria.ListJoin

of the join is an entity type. Inherited from Join Returns: metamodel attribute or null ... and add an inner join to the given entity . Inherited from From Parameters: entityClass - the target entity class Returns: the resulting join. Since: Jakarta Persistence (JPA) 3.2 Join join ( Class

jakarta.persistence.OneToOne

: Annotation Target: Method, Field Specifies a single-valued association to another entity class that has one-to-one multiplicity. It is not usually necessary to specify the associated target entity ... class to specify a relationship from the embeddable class to an entity class. If the relationship

jakarta.persistence.DiscriminatorValue

entity type. The DiscriminatorValue annotation can only be specified on a concrete entity class ... -specific function is used to generate a value representing the entity type. If the DiscriminatorType is STRING , the discriminator value default is the entity name. The inheritance strategy

jakarta.persistence.metamodel.EntityType

: - The represented entity type. Super Interfaces: IdentifiableType , Bindable , ManagedType , Type An instance of EntityType represents an entity type. Since: Jakarta Persistence (JPA) 2.0 Public Instance ... element type is returned. If the bindable type is SINGULAR_ATTRIBUTE or ENTITY _TYPE , the Java type

jakarta.persistence.criteria.CriteriaUpdate

: - the entity type that is the target of the update Super Interfaces: CommonAbstractCriteria ... Methods Root from ( Class entityClass ) Create and add a query root corresponding to the entity that is the target of the update. A CriteriaUpdate object has a single root, the entity

jakarta.persistence.criteria.CriteriaDelete

: - the entity type that is the target of the DELETE Super Interfaces: CommonAbstractCriteria ... entityClass ) Create and add a query root corresponding to the entity that is the target of the DELETE. A CriteriaDelete object has a single root, the entity that is being deleted. Parameters: entityClass

Privacy Policy

the company, or other legal entity on behalf of which such individual is accessing or using the Service

WHERE clause (JPQL / Criteria API)

that index to iterate directly on Country objects that satisfy the WHERE predicate. For entity classes

JPA Query API

yet and the  Country class is unknown as a managed entity class  - only the TypedQuery

Query Parameters in JPA

elements that are unavailable as literals, such as entity objects. API Parameter Methods Over half

SpringBoot-Point

the modest needs of this small application. The Point entity class... used to represent the data... covered

ObjectDB 2.9 Developer's Guide

programming using ObjectDB and JPA. Shows how to define JPA entity classes that can be persisted in

Database Connection using JPA

are discarded. However, by default, the in-memory instance of the managed entity is not affected by

JPA Annotations for Relationships

Relationships are persistent fields in persistable classes that reference other entity objects. The four relationship modes are represented by the following annotations: Unlike ORM JPA implementations, ObjectDB does not enforce specifying any of the annotations above. Specifying a relationship

JPA Annotations for Classes

JPA defines three types of persistable classes which are set by the following annotations: Chapter 2 of the ObjectDB manual explains these annotations in detail. Entity and mapped super classes can be further configured by annotations that specify cache preferences and lifecycle event listener

GROUP BY and HAVING clauses

can be applied to entity objects directly. Other aggregate functions are applied to fields of objects in

Criteria Query From Elements

variables (bound by an entity class) are represented by the Root subinterface: Join variables (bound by

jakarta.persistence.OneToMany

. If the collection is defined using generics to specify the element type, the associated target entity type need not be specified; otherwise the target entity class must be specified. If the relationship ... of the entity that is the owner of the relationship. A OneToMany association usually maps a foreign

jakarta.persistence.PessimisticLockScope

owned by the entity that are contained in join tables are locked if the property jakarta.persistence.lock.scope is specified with a value of PessimisticLockScope#EXTENDED . The state of entities referenced by such relationships is not locked (unless those entities are explicitly locked). Locking

jakarta.persistence.PessimisticLockException

PessimisticLockException ( Object entity ) Constructs a new PessimisticLockException exception with the specified entity . Parameters: entity - the entity . Since: Jakarta Persistence (JPA) 1.0 PessimisticLockException ( String message , Throwable cause , Object entity ) Constructs a new PessimisticLockException

jakarta.persistence.ManyToOne

: Annotation Target: Method, Field Specifies a single-valued association to another entity class that has many-to-one multiplicity. It is not usually necessary to specify the target entity explicitly ... is bidirectional, the non-owning OneToMany entity side must use the mappedBy element to specify

jakarta.persistence.Embeddable

entity , sharing the identity of the entity . A single embeddable type may be used as the type of multiple persistent fields or properties, across several entities , and so distinct instances of an embeddable type might have owning entities of completely unrelated entity types. The annotated type

jakarta.persistence.Version

: Annotation Target: Method, Field Declares the version field or property of an entity class ... field or property holds a version number or timestamp identifying the revision of the entity data held by an entity class instance. An optimistic lock failure occurs when verification of the version

jakarta.persistence.criteria.AbstractQuery

directly in query construction. All queries must have: a set of root entities (which may in turn ... to the given entity , forming a cartesian product with any existing roots. Parameters: entityClass - the entity class Returns: query root corresponding to the given entity . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.OptimisticLockException

) 1.0 OptimisticLockException ( Object entity ) Constructs a new OptimisticLockException exception with the specified entity . Parameters: entity - the entity . Since: Jakarta Persistence (JPA) 1.0 OptimisticLockException ( String message , Throwable cause , Object entity ) Constructs a new

Report Generation with BIRT and JPA

Started tutorial. The database file contains 1,000 Point entity objects, which represent points

Step 4: Add a Controller Class

the next tutorial step) - a new Guest entity object is constructed and stored in the database. Processing

Step 1: Create a Maven Web Project

Framework and ObjectDB/JPA support. The next step is  creating a JPA Entity class .

Step 1: Create a Java Project

with ObjectDB/JPA support. The next step is creating a JPA Entity class .

Step 1: Create a Maven Web Project

MVC Framework and ObjectDB/JPA support. The next step is creating a JPA Entity class .

Getting Started with JPA and Eclipse

This is the Eclipse version of the Quick Start with JPA tutorial. It demonstrates how to create and run a simple JPA application in Eclipse. The demonstrated application uses JPA to store and retrieve simple Point entity objects, where each Point has two persistent fields: x and y

Step 1: Create a Java EE 6 Web Project

: You should now have an Eclipse Java EE 6 project with ObjectDB/JPA support. The next step is creating a JPA Entity class .

Step 3: Define an EJB Session Bean

: persist - for storing a new  Guest entity object in the database. getAllGuests

Step 3: Define a Spring DAO Component

- for storing a new  Guest entity object in the database. getAllGuests - for retrieving all the existing

Step 4: Add a Controller Class

has registered (using a JSP form that will be added in the next tutorial step) - a new Guest entity

Getting Started with JPA

This tutorial demonstrates how to create and run a simple JPA application. The demonstrated application uses JPA to store and retrieve simple  Point entity objects, where each  Point has two persistent fields -  x and  y . If you already know JPA - the source code will be straightforward

Step 3: Define a Spring DAO Component

- for storing a new  Guest entity object in the database. getAllGuests - for retrieving

Step 1: Create a Java EE Web Project

Application project with ObjectDB/JPA support. The next step is creating a JPA Entity class .

Step 1: Create a Web Project

: Now you should have an Eclipse Dynamic Web project with ObjectDB/JPA support. The next step is creating a JPA Entity class .

Step 1: Create a Java Project

JARs... The next step is creating a JPA Entity class .

Step 3: Define an EJB Session Bean

) class defines two methods: persist - for storing a new Guest entity object in the database

Getting Started with JPA and NetBeans

This is the NetBeans version of the  Quick Start with JPA tutorial. It demonstrates how to create and run a simple JPA application in NetBeans. The demonstrated application uses JPA to store and retrieve simple  Point entity objects, where each  Point has two persistent fields

Step 4: Create an ObjectDB Data Set

this tutorial contains Point entity objects. We will use a simple JPQL query that retrieves points with x

Step 1: Create a Web Project

with ObjectDB/JPA support. The next step is creating a JPA Entity class .