ObjectDB Database Search
101-150 of 200 resultsProblem with merging / persisitng objects with @Embeddable field Hi, After migration to version 2.4.2_01, I have noticed a strange problem with persisting object with field that contains @Embeddable object. Please check attached exception. Relation between entities looks like this: @Entity public class ProductKit extends BaseEntity implements | |
removed objects stay with null field values in the reference that is in this relationship (workflow), the object stays in the relationship with all fields set | |
Memory error during commit, if @ElementCollection field contains many elements although the element collection is actually not load because it is a lazy field . Why we run into | |
auto-generated uuid fieldsauto-generated uuid fields | |
Global way to set Lazy-loading fetch functionality for all the fieldsGlobal way to set Lazy-loading fetch functionality for all the fields | |
select query for a HashMap field of an entity.select query for a HashMap field of an entity. | |
ObjectDb Doctor : Failed to locate set method for field property com.test.Video$VideoId.sourceId using reflection (error 316) Hello everyone ! I have just launched the ObjectDb Doctor for testing purposes. But while inspecting my base, the Doctor throws me a strange error : [ObjectDB 2.4.6] Invalid ID class com.test.Video$VideoId for type com.test.Video (Failed to locate set method for field property com.test.Video | |
NullPointer when accessing persistent fieldNullPointer when accessing persistent field | |
auto-generated uuid fieldsauto-generated uuid fields | |
Exception on comparing array fields against parameters in queriesException on comparing array fields against parameters in queries | |
Super class' field access failsSuper class' field access fails | |
jakarta.persistence.JoinColumn: Annotation Target: Method, Field Specifies a column for joining an entity association or element ... is used): The concatenation of the following: the name of the referencing relationship property or field ... . If there is no such referencing relationship property or field in the entity, or if the join | |
jakarta.persistence.MapKey: Annotation Target: Method, Field Specifies the map key for associations of type Map when the map key is itself the primary key or a persistent field or property of the entity that is the value of the map. If a persistent field or property other than the primary key is used as a map key | |
jakarta.persistence.EnumeratedValue Interfaces: Annotation Target: Field Specifies that an annotated field of a Java enum type is the source of database column values for an enumerated mapping. The annotated field must be declared final ... . The annotated field must not be null, and must hold a distinct value for each value of the enum type | |
jakarta.persistence.Id Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Id Implemented Interfaces: Annotation Target: Method, Field Identifies the primary key of an entity. The field or property ... or field . Example: @Id public Long getId() { return id; } See Also: Column GeneratedValue | |
jakarta.persistence.Lob Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Lob Implemented Interfaces: Annotation Target: Method, Field Specifies that the annotated persistent property or field ... ) is inferred from the type of the persistent field or property. For string and character-based types | |
jakarta.persistence.MapKeyColumn: Annotation Target: Method, Field Specifies the mapping for the key column of a map whose map key ... of the following: the name of the referencing relationship field or property; " _ "; " KEY ". Example: @Entity ... relationship field or property; " _ "; " KEY ". Default: "" Since: Jakarta Persistence (JPA) 1.0 boolean | |
jakarta.persistence.MapKeyJoinColumn Interfaces: Annotation Target: Method, Field Specifies a mapping to an entity that is a map key. The map ... of the referencing relationship property or field of the referencing entity or embeddable class ... annotation at the table level and is useful for when the unique key constraint is only a single field | |
jakarta.persistence.FieldResult the SELECT list of a SQL query to the properties or fields of an entity class. Example: Query q = em ... .Order.class, fields = { @FieldResult(name = "id", column = "order_id"), @FieldResult(name = "quantity ... Name of the persistent field or property of the class. Since: Jakarta Persistence (JPA) 1.0 String | |
jakarta.persistence.Transient Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Transient Implemented Interfaces: Annotation Target: Method, Field Specifies that the annotated property or field is not persistent. May annotate a property or field of an entity class, mapped superclass, or embeddable class. Example | |
jakarta.persistence.GeneratedValue Jakarta Persistence (JPA) Annotation Type jakarta.persistence.GeneratedValue Implemented Interfaces: Annotation Target: Method, Field Specifies a generation strategy for generated primary keys. The GeneratedValue annotation may be applied to a primary key property or field of an entity or mapped | |
jakarta.persistence.JoinTable Jakarta Persistence (JPA) Annotation Type jakarta.persistence.JoinTable Implemented Interfaces: Annotation Target: Method, Field Specifies the mapping of an association to an intermediate join table ... ", referencedColumnName = "ID")) This annotation may not be applied to a persistent field or property not annotated | |
jakarta.persistence.InheritanceType, with only the columns mapped to persistent fields and properties declared by the entity class. Each ... to inherited fields or properties, and so the state of an entity instance might be stored across multiple table | |
jakarta.persistence.Embedded Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Embedded Implemented Interfaces: Annotation Target: Method, Field Declares a persistent field or property of an entity whose value is an instance of an embeddable class. The embeddable class must be annotated as Embeddable | |
jakarta.persistence.ElementCollection Jakarta Persistence (JPA) Annotation Type jakarta.persistence.ElementCollection Implemented Interfaces: Annotation Target: Method, Field Declares a collection of instances of a basic type or ... of the collection. This element is optional only if the collection field or property is defined using Java | |
jakarta.persistence.EntityResult[] fields Maps the columns specified in the SELECT list of the query to the properties or fields | |
jakarta.persistence.Persistence.PERSISTENCE_PROVIDER Jakarta Persistence (JPA) Field in jakarta.persistence.Persistence PERSISTENCE_PROVIDER This final ... Deprecated: TODO: Either change TCK reference to PERSISTENCE_PROVIDER field to expect "jakarta.persistence.spi.PersistenceProvider" or remove PERSISTENCE_PROVIDER field and also update TCK signature tests. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.AttributeOverride.name Jakarta Persistence (JPA) Method in jakarta.persistence.AttributeOverride String name (Required) The name of the property whose mapping is being overridden if property-based access is being used, or the name of the field if field -based access is used. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.JoinColumn.name): The concatenation of the following: the name of the referencing relationship property or field ... . If there is no such referencing relationship property or field in the entity, or if the join | |
jakarta.persistence.IdClass.value Jakarta Persistence (JPA) Method in jakarta.persistence.IdClass Class value The primary key class, which must declare fields or properties with names and types that match the Id fields and properties of the annotated entity class. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.InheritanceType.JOINED Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.InheritanceType JOINED A table for each abstract or concrete entity class, with only the columns mapped to persistent fields ... does not contain columns mapped to inherited fields or properties, and so the state of an entity | |
jakarta.persistence.JoinColumns Jakarta Persistence (JPA) Annotation Type jakarta.persistence.JoinColumns Implemented Interfaces: Annotation Target: Method, Field Specifies the mapping for composite foreign keys. This annotation groups JoinColumn annotations for the same relationship. Each JoinColumn annotation must explicit | |
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 | |
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.MapKeyTemporal Jakarta Persistence (JPA) Annotation Type jakarta.persistence.MapKeyTemporal Implemented Interfaces: Annotation Target: Method, Field This annotation must be specified for persistent map keys of type Date and Calendar . It may only be specified for map keys of these types. The MapKeyTemporal | |
jakarta.persistence.MapKeyJoinColumns Jakarta Persistence (JPA) Annotation Type jakarta.persistence.MapKeyJoinColumns Implemented Interfaces: Annotation Target: Method, Field Supports composite map keys that reference entities. The MapKeyJoinColumns annotation groups MapKeyJoinColumn annotations. When the MapKeyJoinColumns annotation | |
jakarta.persistence.MapsId Jakarta Persistence (JPA) Annotation Type jakarta.persistence.MapsId Implemented Interfaces: Annotation Target: Method, Field Designates a ManyToOne or OneToOne relationship attribute that provides the mapping for an EmbeddedId primary key, an attribute within an EmbeddedId primary key, or | |
jakarta.persistence.Converts Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Converts Implemented Interfaces: Annotation Target: Method, Field , Type Used to group Convert annotations. Multiple converters must not be applied to the same basic attribute. See Also: Convert Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.ColumnResult = { @EntityResult( entityClass = com.acme.Order.class, fields = { @FieldResult(name = "id", column = "order_id | |
jakarta.persistence.EntityManager to its persistent fields and properties are automatically detected, as long as it is associated with an active | |
jakarta.persistence.criteria.TemporalField Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.TemporalField Type Parameters: - the resulting type of the extracted value - the temporal type (date, time, or datetime) Each instance represents a type of field which can be extracted from a date, time, or datetime | |
jakarta.persistence.metamodel.SingularAttribute-valued properties or fields . Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods Class | |
jakarta.persistence.AttributeOverrides.value Jakarta Persistence (JPA) Method in jakarta.persistence.AttributeOverrides AttributeOverride[] value (Required) One or more field or property mapping overrides. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Basic.fetch Jakarta Persistence (JPA) Method in jakarta.persistence.Basic FetchType fetch (Optional) Whether the value of the field or property should be lazily loaded or must be eagerly fetched. The EAGER strategy is a requirement on the persistence provider runtime that the associated entity must be eagerly | |
jakarta.persistence.Persistence.providers Jakarta Persistence (JPA) Field in jakarta.persistence.Persistence providers Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.SchemaValidationException.failures Jakarta Persistence (JPA) Field in jakarta.persistence.SchemaValidationException failures Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.FieldResult.name Jakarta Persistence (JPA) Method in jakarta.persistence.FieldResult String name Name of the persistent field or property of the class. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.QueryTimeoutException.query Jakarta Persistence (JPA) Field in jakarta.persistence.QueryTimeoutException query Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.PessimisticLockException.entity Jakarta Persistence (JPA) Field in jakarta.persistence.PessimisticLockException entity Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.OneToOne.targetEntity Jakarta Persistence (JPA) Method in jakarta.persistence.OneToOne Class targetEntity (Optional) The entity class that is the target of the association. Defaults to the type of the field or property that stores the association. Default: void/class Since: Jakarta Persistence (JPA) 1.0 |