ObjectDB Database Search

51-100 of 200 results

Using Enum type in NamedQuery: Field is not found in type

with queries that reference enum types . On my entity object is a static enum public static enum Type {     A,B,C } that is stored in an @Enumerated member variable private Type type ; @Enumerated public Type getType() {     return type ; } I then try to query this field

Possible cause for "Enhancement of type ... is old and cannot be used"

We get the following log: [2015-06-08 13:07:02 #1 type .user] Enhancement of type com.btc.ep ... :-2962887009206123121) [2015-06-08 13:07:02 #2 type ] Type com.btc.ep.requirement.bl.internal.ScopeRequirementContainerImpl is not enhanced. [2015-06-08 13:07:02 #3 type .user] Enhancement of type com.btc.ep

TYPE Expression

Hi there! Trying to add a simple type expression with the criteria api like in your sample: cb.equal(e. type (), cb.literal(Country.class)); results in the error: Caused by: com.objectdb.o.UserException: Attempt to store an instance of a non persistable type java.lang.Class at com.objectdb.o.MSG.d

Update Entity references if we change the type of an entity

Hello, we must change (extend) our entity model and therefor we convert the type of some entities ... as a pair of ( type + id) rather than just an id. This enables faster navigation between objects, as retrieval of an object is faster when its exact type is known. Following your request we added a new

Enhancement of type is old and cannot be used

:   [2021-01-26 15:20:33 #22 type .user] Enhancement of type eu.extech.quant.listing.data ... :33 #23 type ] Type eu.extech.quant.listing.data.ProductListingRequest is not enhanced. [2021-01-26 15:20:33 #24 type ] Type eu.extech.quant.listing.data.ProductListingStateChangeList is not enhanced

DB Doctor sets type to "unknown" for new fields

Hi, we are using ObjectDB 2.5.4_04 on Linux. We added two new Boolean fields to a persistable type ... to the schema as expected, however their type is set to unknown - we were expecting Boolean. The attached ... . If you run in DB Explorer select r.emergency from RecordingMetaData as r you will notice that the type (RSL

@AttributeOverrides , and postgresql + own TYPE

changes even if i wanted to. In structure of DB  is this. -- -- Name: address; Type : TYPE ; Schema: artio; Owner: facman --   CREATE TYPE address AS ( street character varying, city character ... varying ); ALTER TYPE artio.address OWNER TO facman; AS you notice, in my project i

jakarta.persistence.metamodel.MapAttribute

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.MapAttribute Type Parameters: - The type the represented Map belongs to - The type of the value of the represented Map - The type ... of the type MapAttribute represent persistent Map -valued attributes. Since: Jakarta Persistence (JPA

jakarta.persistence.metamodel.PluralAttribute

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.PluralAttribute Type Parameters: - The type the represented collection belongs to - The element type of the represented collection - The type of the represented collection Super Interfaces: Attribute , Bindable Instances of the type

jakarta.persistence.metamodel.ListAttribute

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.ListAttribute Type Parameters: - The type the represented List belongs to - The element type of the represented List Super Interfaces: PluralAttribute , Attribute , Bindable Instances of the type ListAttribute represent persistent

jakarta.persistence.metamodel.CollectionAttribute

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.CollectionAttribute Type Parameters: - The type the represented Collection belongs to - The element type of the represented Collection Super Interfaces: PluralAttribute , Attribute , Bindable Instances of the type

jakarta.persistence.metamodel.SetAttribute

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.SetAttribute Type Parameters: - The type the represented Set belongs to - The element type of the represented Set Super Interfaces: PluralAttribute , Attribute , Bindable Instances of the type SetAttribute represent persistent Set

jakarta.persistence.criteria.Path

Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.Path Type Parameters: - the type ... or compound attribute path from a bound type or collection, and is a "primitive" expression. Since: Jakarta Persistence (JPA) 2.0 The Paths and Types in JPQL and Criteria API article explains

jakarta.persistence.metamodel.SingularAttribute

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.SingularAttribute Type Parameters: - The type containing the represented attribute - The type of the represented attribute Super Interfaces: Attribute , Bindable Instances of the type SingularAttribute represents persistent single

JPA Lifecycle Events

. The argument's type can be Object or a more specific entity type . The listener class must be stateless

JPA Named Queries Annotations

instances of the following interface: Represents a named query, including its name, result type , and hints. Retrieve it by result type from EntityManagerFactory.getNamedQueries , and use it to get a TypedQuery instance via EntityManager.createQuery .

JPA Query Expressions (JPQL / Criteria)

, and types ( get , type ) Arithmetic expressions ( sum , diff , prod , quot , mod , abs , neg , sqrt

JPA Class Enhancer

lists the classes that have been enhanced: [ObjectDB 2.9.4] 3 persistable types have been enhanced: test.MyEntity1 test.MyEntity2 test.MyEmbeddable 2 NON persistable types have been enhanced: Main test

jakarta.persistence.criteria.ParameterExpression

Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.ParameterExpression Type Parameters: - the type of the parameter expression Super Interfaces: Parameter , Expression , Selection , TupleElement Type of criteria query parameter expressions. Since: Jakarta Persistence (JPA) 2.0 Public

jakarta.persistence.EntityManagerFactory

the application, and which must be colocated in their mapping to a single database. If two entity types ... via the PersistenceConfiguration API. Every persistence unit has a transaction type , either JTA , or RESOURCE_LOCAL . Resource ... other useful APIs: an instance of Metamodel exposing a model of the managed types associated

jakarta.persistence.metamodel.Metamodel

Public Instance Methods EmbeddableType embeddable ( Class cls ) Return the metamodel embeddable type representing the embeddable class. Parameters: cls - the type of the represented embeddable class Returns: the metamodel embeddable type . Throws: IllegalArgumentException - if not an embeddable class

jakarta.persistence.Convert

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Convert Implemented Interfaces: Annotation Target: Method, Field, Type Specifies how the values of a field or property are converted to a basic type , enabling a converter defined autoApply=false , overriding the use of a converter

jakarta.persistence.criteria.Predicate

: Expression , Selection , TupleElement The type of a simple or compound predicate: a conjunction or ... Persistence (JPA) 1.0 Expression as ( Class type ) Perform a typecast upon the expression, returning a new expression object. Unlike Expression.cast , this method does not cause type conversion

jakarta.persistence.criteria.CriteriaBuilder.Case

: selection item. Since: Jakarta Persistence (JPA) 1.0 Expression as ( Class type ) Perform a typecast ... cause type conversion: the runtime type is not changed. Warning: may result in a runtime failure. Inherited from Expression Parameters: type - intended type of the expression Returns: new expression

jakarta.persistence.criteria.CriteriaBuilder.In

type ) Perform a typecast upon the expression, returning a new expression object. Unlike Expression.cast , this method does not cause type conversion: the runtime type is not changed. Warning: may result in a runtime failure. Inherited from Expression Parameters: type - intended type of the expression

jakarta.persistence.criteria.CriteriaBuilder.Coalesce

: selection item. Since: Jakarta Persistence (JPA) 1.0 Expression as ( Class type ) Perform a typecast ... cause type conversion: the runtime type is not changed. Warning: may result in a runtime failure. Inherited from Expression Parameters: type - intended type of the expression Returns: new expression

jakarta.persistence.Enumerated

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Enumerated Implemented Interfaces ... an enumerated type . This annotation is optional if the type of a persistent field or property is a Java enum type . The Enumerated annotation may be used in conjunction with the Basic annotation, or

jakarta.persistence.Embeddable

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Embeddable Implemented Interfaces: Annotation Target: Type Declares a type whose instances are stored as an intrinsic part of an owning entity, sharing the identity of the entity. A single embeddable type may be used as the type

jakarta.persistence.metamodel.Bindable

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.Bindable Type Parameters: - The type of the represented object or attribute An instances of the type Bindable represents an object or attribute type that can be bound into a Path . Since: Jakarta Persistence (JPA) 2.0 Public

Apache License, Version 2.0, January 2004

to compiled object code, generated documentation, and conversions to other media types . "Work" shall

Database Transaction Replayer

by setting the path attribute in the configuration . The recording directory contains two types

Database Replication and Clustering

it synchronized with the master. A single ObjectDB server can manage different types of databases, including

Detached JPA Entities

entity with the same identity (the same type and primary key). If a corresponding managed entity does

Strings in JPQL and Criteria Queries

, trailing, or both types of characters (usually spaces). For example: TRIM(' UK ') is evaluated to 'UK

Collections in JPQL and Criteria Queries

you to use both the IN and MEMBER OF operators with any type of collection. In ObjectDB, these operators

Auto Generated Values

a separate generator for each type hierarchy, so the generated values are unique

Retrieving JPA Entities

from this automatic cascaded retrieval by specifying a lazy fetch type : @Entity class Employee

JPA Named Queries

takes a query name and a result type and returns a TypedQuery instance: TypedQuery query = em

SQL Queries Annotations

to entity fields or scalar types with these detailed annotations: Maps a native query result to a specific

Defining a JPA Entity Class

more information about defining entity classes, including which types to use for persistent fields

jakarta.persistence.MapKeyColumn

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.MapKeyColumn Implemented Interfaces ... is a basic type . If the name element is not specified, it defaults to the concatenation ... to the generated SQL to create a column of the inferred type . Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Converter

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Converter Implemented Interfaces: Annotation Target: Type Declares that the annotated class is a converter and specifies ... mapping descriptor. The target type for a converter is determined by the actual type argument of the first

jakarta.persistence.metamodel.Attribute

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.Attribute Type Parameters: - The type of the represented attribute - The represented type that contains the attribute Represents an attribute of a Java type . Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods ManagedType

jakarta.persistence.metamodel.BasicType

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.BasicType Type Parameters: - The represented basic type Super Interfaces: Type An instance of BasicType represents a basic type (possibly an enumerated , LOB , or temporal type ). Since: Jakarta Persistence (JPA) 2.0 Public Instance

jakarta.persistence.IdClass

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.IdClass Implemented Interfaces: Annotation Target: Type Specifies a composite primary key type whose fields or properties map to the identifier fields or properties of the annotated entity class. The specified primary key type

jakarta.persistence.Lob

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Lob Implemented Interfaces ... should be persisted as a large object to a database-native large object (LOB) type . Portable applications should use the Lob annotation when mapping to a database Lob type . The Lob annotation may be used in

jakarta.persistence.MapKeyEnumerated

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.MapKeyEnumerated Implemented Interfaces: Annotation Target: Method, Field Specifies the enum type for a map key whose basic type is an enumerated type . The MapKeyEnumerated annotation can be applied to an element collection or

jakarta.persistence.MapKeyClass

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.MapKeyClass Implemented Interfaces: Annotation Target: Method, Field Specifies the type of the map key for associations of type Map . The map key can be a basic type , an embeddable class, or an entity. If the map is specified using Java

Step 5: Design a BIRT Report Chart

In this step we will add a simple chart to the report: Open the [New Chart] dialog box by dragging a  Chart from the [Palette] window and dropping it on the report design (.rptdesign) layout. In the [Select Chart Type ] tab select Tube as the chart type and click Next . In the [Select Data

Step 3: Create an ObjectDB Data Source

of available data source types . Enter data source name (e.g. ObjectDB Points ) and click Next . Specify