ObjectDB Database Search

1-24 of 24 results

jakarta.persistence.AccessType

Jakarta Persistence (JPA) Enum jakarta.persistence. AccessType java.lang.Object ∟ java.lang.Enum ∟ jakarta.persistence. AccessType Implemented Interfaces: Constable , Comparable , Serializable Used with the Access annotation to specify an access type to be applied to an entity class, mapped

jakarta.persistence.AccessType.AccessType()

Jakarta Persistence (JPA) Constructor in jakarta.persistence. AccessType AccessType () Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.AccessType.FIELD

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence. AccessType FIELD Field-based access is used. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.AccessType.PROPERTY

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence. AccessType PROPERTY Property-based access is used, that is, state is accessed via getter and setter methods. Since: Jakarta Persistence (JPA) 1.0

JPA Entity Fields

and specifying the Access annotation on the class itself: @Entity @Access ( AccessType . PROPERTY ) public

jakarta.persistence.Entity

via direct field access. It is almost never necessary to explicitly specify an AccessType

jakarta.persistence.Access

Persistence (JPA) 2.0 Annotation Elements AccessType value (Required) Specification of field- or

Unable to persist fields in subclass

.StringProperty; import javax.persistence.Access; import javax.persistence. AccessType ; import javax.persistence.MappedSuperclass; /** * @author david * */ @MappedSuperclass @Access( AccessType .PROPERTY ... . AccessType ; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax

Schema-Update: Rename superclass and remove one subclass

.close(); emf.close(); } Entities: @Entity @Access( AccessType .FIELD) public class SuperClass { public SuperClass() { } } ChildClassA: @Entity @Access( AccessType .FIELD) public class ChildClassA extends ... () { } } ChildClassB: @Entity @Access( AccessType .FIELD) public class ChildClassB extends SuperClass { @Basic

Mismatch client-server protocol prefix

void login(TrackerUser loggedInUser, AccessType accessType , String note) { LoginEvent event = new LoginEvent(); event.setAccessType( AccessType .REST); event.setNote(note); event.setTimestamp(new Date()); if( accessType != null) { event.setAccessType( accessType ); } event.setTrackerUser(loggedInUser

jakarta.persistence.Access.value

Jakarta Persistence (JPA) Method in jakarta.persistence.Access AccessType value (Required) Specification of field- or property-based access. Since: Jakarta Persistence (JPA) 1.0

TemporalType injection with Calendar using JPA

;Is there something obvious here that I am failing to see?   @Embeddable @Access( AccessType .PROPERTY ... ; And this is embedded in this Entity class @Entity @Access( AccessType .PROPERTY) public class Chart implements ... , and added some converter methods.   @Embeddable @Access( AccessType .PROPERTY) public class

Performance issue in a query due to compareTo calls

( AccessType .FIELD) public class TCStep extends Identifiable { @Index private long stepNumber; @Basic ... @Access ( AccessType .FIELD) public class Values extends Identifiable { @Index private long stepNumber ... ( AccessType .FIELD) public class Values extends Identifiable { @OneToOne (fetch = FetchType.EAGER) private

New to Product & Having An Issue

shows these two classes. package test.Domain; ...imports.... @Entity @Access( AccessType .PROPERTY ... .Domain; ...imports.... @Embeddable @Access( AccessType .PROPERTY) public class DomainId implements

Does ObjectDB support @Parent for @Embeddable reference to parent?

.IDENTITY) private Integer id; @Access( AccessType .PROPERTY) @Embedded private Profile profile; public

EM.find() is suddenly slower

We have a new performance bottleneck, if we use EM.find() on the same entity type 10.000 times in order to get 10.000 different entity instances. For use cases which call the EM.find() only 1000 times we cannot see a performance bottleneck. @Entity public class EntityA { @Id @Access ( AccessType

An ArrayIndexOutOfBoundsException with nested entities and enhanced entities

@Access ( AccessType .FIELD) public abstract class ModifierImpl extends DataTypeImpl implements Modifier

Problem upgrading

; at.co.pjm.tracker.persistence. AccessType     at.co.pjm.tracker.persistence

Performance issue in a query due to internal calls visitRefs and visitKeyRefs

and visitKeyRefs? @Entity @Access ( AccessType .FIELD) public class TCVector { @Basic private String

Schema-Update: Rename superclass and remove one subclass

.close(); emf.close(); } Entities: @Entity @Access( AccessType .FIELD) public class SuperClass { public SuperClass() { } } ChildClassA: @Entity @Access( AccessType .FIELD) public class ChildClassA extends ... () { } } ChildClassB: @Entity @Access( AccessType .FIELD) public class ChildClassB extends SuperClass { @Basic

[ObjectDB 2.2.5_02] Unexpected exception (Error 990) com.objectdb.o.InternalException: java.lang.NullPointerException: null

@Access( AccessType .PROPERTY) public class Chart implements Serializable { private TimePeriod id; private ... ; } }   And its embedded primary key @Embeddable @Access( AccessType .PROPERTY) public class

com.objectdb.o._PersistenceException: Failed to locate set method for field property using reflection

I am developing a J2SE  version "1.8.0_241" application and using property based accessors throughout. @Entity @Access( AccessType .PROPERTY) public abstract class PlatformTicker implements ... IMHO firstly because I am using exclusively property based accessors @Access( AccessType .PROPERTY

Tracking changes to new collections (in enhancement mode) after flush

is missed in the list. Do you have an idea why? @Entity @Access ( AccessType .FIELD) public class MappingImpl implements Mapping { //the UID of the Mapping @Id @Access ( AccessType .FIELD) @Column (name

Entity field renaming does not work

Hello, we use the ObjectDB version 2.8.5_05. We want to rename a field in an entity and it does not work: from: package com.btc.ep.analysis.verdict.tolerance.bl.internal.dmos; @Entity @Access ( AccessType .FIELD) public class ToleranceDeviationImpl {     @Basic