ObjectDB Database Search

1-50 of 200 results

JPA Persistable Types

The term persistable types refers to data types that can be used for storing data in the database. ObjectDB supports all the JPA persistable types , which are: User defined classes - Entity classes, Mapped superclasses, Embeddable classes. Simple Java data types : Primitive types , Wrappers, String

Paths and Types in JPQL and Criteria API

classes) are represented in JPQL by the following types of expressions: Variables - FROM ... . But more often they are used in JPQL path expressions that navigate to values of simple types (number, boolean, string, date). Simple type values are more useful in queries. They have special operators

JPA Metamodel Types

and enumerations to represent the persistent types within a domain model. Metamodel Types Hierarchy in Jakarta Persistence (JPA) 3.2 Base type definitions The core abstractions of model  types are the following components: The top-level interface of the types  hierarchy, representing any persistent

JPA Core Types

Core Jakarta Persistence (JPA) types provide the foundation for bootstrapping the persistence ... and inheritance relationships. Jakarta Persistence (JPA) 3.2 Core Types Bootstrapping and Configuration ... cache using these utility types : A utility interface obtained from Persistence . Use it to check

jakarta.persistence.metamodel.Type

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel. Type Type Parameters: - The type of the represented object or attribute An instance of the type Type represents a persistent object or attribute type . Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods Class getJavaType

jakarta.persistence.metamodel.Type.PersistenceType

Jakarta Persistence (JPA) Enum in jakarta.persistence.metamodel. Type jakarta.persistence.metamodel. Type .PersistenceType java.lang.Object ∟ java.lang.Enum ∟ jakarta.persistence.metamodel. Type ... (JPA) 1.0 Enum Constants BASIC Basic type Since: Jakarta Persistence (JPA) 1.0 EMBEDDABLE Embeddable

jakarta.persistence.ColumnResult.type

Jakarta Persistence (JPA) Method in jakarta.persistence.ColumnResult Class type (Optional) The Java type to which the column type is to be mapped. If the type element is not specified, the default JDBC type mapping for the column is used. Default: void/class Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.metamodel.Type.getPersistenceType()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel. Type PersistenceType getPersistenceType() Return the persistence type . Returns: persistence type . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Type.getJavaType()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel. Type Class getJavaType() Return the represented Java type . Returns: Java type . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Path.type()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Path Expression type () Create an expression corresponding to the type of the path. Returns: expression corresponding to the type of the path. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Bindable.BindableType.ENTITY_TYPE

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel.Bindable.BindableType ENTITY_ TYPE Entity type . See Also: EntityType Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Type.PersistenceType.BASIC

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel. Type .PersistenceType BASIC Basic type Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.NamedSubgraph.type

Jakarta Persistence (JPA) Method in jakarta.persistence.NamedSubgraph Class type (Optional) The type represented by this subgraph. The element must be specified when this subgraph is extending a definition on behalf of a subclass. Default: void/class Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.StoredProcedureParameter.type

Jakarta Persistence (JPA) Method in jakarta.persistence.StoredProcedureParameter Class type JDBC type of the parameter. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceContext.type

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceContext PersistenceContextType type (Optional) Specifies whether a transaction-scoped persistence context or an extended persistence context is to be used. Default: PersistenceContextType.TRANSACTION Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Type.PersistenceType.ENTITY

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel. Type .PersistenceType ENTITY Entity class Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Type.PersistenceType.EMBEDDABLE

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel. Type .PersistenceType EMBEDDABLE Embeddable class Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Type.PersistenceType.MAPPED_SUPERCLASS

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel. Type .PersistenceType MAPPED_SUPERCLASS Mapped superclass Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Type.PersistenceType.PersistenceType()

Jakarta Persistence (JPA) Constructor in jakarta.persistence.metamodel. Type .PersistenceType PersistenceType() Since: Jakarta Persistence (JPA) 1.0

JPA Metamodel API

that Java reflection provides for general Java types . The Metamodel Interface The main interface of the JPA ... types  (which are referred to as managed types ) in the persistent object model. Three methods can be used to retrieve sets of types : // Get all the managed classes: // (entity classes

Database Schema Evolution

name and either the same type or a convertible type , as explained below. A matching field ... the hierarchy, removing an intermediate class in the hierarchy, etc.). Convertible Types When an old matching field is found but its type is different than the type of the new field (with the same name

ObjectDB Object Database Features

 and type versioning. Class hierarchy changes are handled automatically. New added fields are handled automatically. Removed fields are handled automatically. Most field type changes are handled ... types , fields and properties . Object Model & Data Types ObjectDB supports persisting complex Java

Literals in JPQL and Criteria Queries

Literals in JPQL, as in Java, represent constant values. JPQL supports various types of literals ... (e.g. 'abc' ), enum literals (e.g. mypackage.MyEnum.MY_VALUE ) and entity type literals (e.g. Country ... the ordinary Java syntax for enum values, but the fully qualified name of the enum type

jakarta.persistence.metamodel.EntityType

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.EntityType Type Parameters: - 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

jakarta.persistence.metamodel.IdentifiableType

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.IdentifiableType Type Parameters: - The represented entity or mapped superclass type . Super Interfaces: ManagedType , Type An instance of the type IdentifiableType represents an entity or mapped superclass type . Since: Jakarta

jakarta.persistence.metamodel.MappedSuperclassType

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.MappedSuperclassType Type Parameters: - The represented mapped superclass type Super Interfaces: IdentifiableType , ManagedType , Type An instance of the type MappedSuperclassType represents a mapped superclass type . Since: Jakarta

JPA Attributes Annotations

, relationship types , and data storage formats. General field mapping Configure standard state mapping behavior ... , wrappers, Strings). While optional for supported types , it allows configuration of fetch strategies ... to perform optimistic locking checks. Enum mapping Configure how Java enumerated types are persisted and used

JPA Entity Fields

persistable types . ObjectDB supports persistent fields with any declared static type , including a generic java.lang.Object , as long as the type of the actual value at runtime is persistable (or null ... - for references of entity types . OneToMany , ManyToMany - for collections and maps of entity types

jakarta.persistence.metamodel.ManagedType

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.ManagedType Type Parameters: - The represented type . Super Interfaces: Type Instances of the type ManagedType represent entity, mapped superclass, and embeddable types . Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods

jakarta.persistence.metamodel.EmbeddableType

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.EmbeddableType Type Parameters: - The represented embeddable type . Super Interfaces: ManagedType , Type An instance of EmbeddableType represents an embeddable type . Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods

Numbers in JPQL and Criteria Queries

and JDO. JPA follows Java numeric promotion principles. For example, the resulting type ... to 10.7 The ABS function takes as an argument a numeric value of any type and returns a value of the same type . The MOD Function The MOD function calculates the remainder of the division of one number by

JPA Criteria FROM and JOIN

clause of a query. These interfaces define query variables, including entity roots and various join types ... an entity type  variable, whose scope is all instances of the entity type . Defines an attribute ... to an association typed as a java.util.Collection . Represents a join to an association typed as a java

JPA Metamodel Attributes

and enumerations to represent the attributes of managed persistent types (entities, embeddable ... are represented by: Represents single-valued attributes. This includes basic types (primitives ... the following hierarchy: The base interface for all collection-valued attributes, defining the element type

Database Explorer

of bookmarked entity objects. The [Schema] window shows the user defined persistable types (entity ... Windows The Explorer provides two types of viewer windows for viewing the database data. The Table ... of a single field in a single database object. This type of viewer is useful for viewing data

jakarta.persistence.EntityGraph

Jakarta Persistence (JPA) Interface jakarta.persistence.EntityGraph Type Parameters: - The type of the root entity. Super Interfaces: Graph This type represents the root of an entity graph ... and entity relationships. The root must be an entity type . The methods to add subgraphs implicitly create

Comparison in JPQL and Criteria API

Types Comparison is supported for values of the following data types : Values of numeric types , including primitive types ( byte , short , char , int , long , float , double ), wrapper types ( Byte ... , comparing the content rather than the identity. Values of the boolean and Boolean types can be compared by

JPA ORM Mapping Annotations

. Specifies the discriminator column used to distinguish between entity types in the SINGLE_TABLE and JOINED strategies. Specifies the value that indicates a row belongs to a specific entity type within the hierarchy. An enumeration defining the data type of the discriminator column (STRING, CHAR

jakarta.persistence.Subgraph

Jakarta Persistence (JPA) Interface jakarta.persistence.Subgraph Type Parameters: - The type of the attribute. Super Interfaces: Graph This type represents a subgraph for an attribute node that corresponds to a managed type . Using this class, an entity subgraph can be embedded

jakarta.persistence.Graph

. IllegalArgumentException - if the attribute is not an attribute of this managed type .. Since: Jakarta Persistence ... to a collection element that is a managed type . This allows for construction of multi-node entity graphs that include related managed types . Parameters: attribute - attribute Returns: subgraph for the element

jakarta.persistence.EntityManager

(defined by an entity type and primary key) there is at most one entity instance. The entity instances ... their primary key, and execute queries which range over entity types . An entity may be disassociated from ... pessimistic lock on an entity instance. The full range of possible lock types is enumerated by LockModeType

JPA Criteria Query Expressions

and selections, enabling the construction of dynamic, type -safe queries. These interfaces represent ... .SimpleCase Queries may include many different types of expressions and JPA implementations may implement tens and hundreds of classes to manage these different expression types . JPA simplifies

Query Parameters in JPA

appearing in the query string. The parameter type is inferred by the context. In the above example, a comparison of :name to a field whose type is String indicates that the type of :name itself is String ... (of type ParameterExpression or its super interface Parameter ) rather than by names or numbers

JPA Primary Key

the database is uniquely identified (and can be retrieved from the database) by the combination of its type ... . Instances of other persistable types are always stored as part of their containing entity objects ... that is set by the application can have one of the following types : Primitive types : boolean , byte , short

jakarta.persistence.criteria.MapJoin

Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.MapJoin Type Parameters: - the source type of the join - the type of the target Map value - the type of the target Map key Super ... The MapJoin interface is the type of the result of joining to a collection over an association or element

jakarta.persistence.criteria.PluralJoin

Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.PluralJoin Type Parameters: - the source type - the element type of the collection - the collection type Super Interfaces: Join ... functionality that is common to joins to all collection types . It is not intended to be used directly in

jakarta.persistence.criteria.SetJoin

Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.SetJoin Type Parameters: - the source type of the join - the element type of the target Set Super Interfaces: PluralJoin , Join , From , Path , FetchParent , Expression , Selection , TupleElement The SetJoin interface is the type

jakarta.persistence.criteria.CollectionJoin

Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.CollectionJoin Type Parameters: - the source type of the join - the element type of the target Collection Super Interfaces ... interface is the type of the result of joining to a collection over an association or element collection

jakarta.persistence.criteria.ListJoin

Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.ListJoin Type Parameters: - the source type of the join - the element type of the target List Super Interfaces: PluralJoin , Join , From , Path , FetchParent , Expression , Selection , TupleElement The ListJoin interface is the type

jakarta.persistence.criteria.Join

Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.Join Type Parameters: - the source type of the join - the target type of the join Super Interfaces: From , Path , FetchParent , Expression , Selection , TupleElement A join to an entity, embeddable, or basic type . Since: Jakarta

jakarta.persistence.criteria.From

Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.From Type Parameters: - the source type - the target type Super Interfaces: Path , FetchParent , Expression , Selection , TupleElement Represents a bound type , usually an entity that appears in the from clause