ObjectDB Database Search

1-34 of 34 results

FROM clause (JPQL / Criteria API)

Country c Reserved identifiers The name of a JPQL query variable must be a valid Java identifier ... , WHEN, WHERE. JPQL variables, as well as all the reserved identifiers in the list above, are case

JPA Metamodel Types

, corresponding to the subinterfaces below. Managed and identifiable types Complex types that manage ... , binding, and identifier attributes. Represents a @MappedSuperclass , defining persistent state

jakarta.persistence.Convert

of each identifier used with the dot notation is the name of the respective embedded field or property ... Persistence (JPA) 1.0 String attributeName A name or period-separated path identifying the converted

jakarta.persistence.metamodel.IdentifiableType.getSupertype()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.IdentifiableType IdentifiableType getSupertype() Return the identifiable type that corresponds to the most specific mapped superclass or entity extended by the entity or mapped superclass. Returns: supertype of identifiable type or

jakarta.persistence.metamodel.IdentifiableType.hasSingleIdAttribute()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.IdentifiableType boolean hasSingleIdAttribute() Whether the identifiable type has a single id attribute. Returns true for a simple id or embedded id; returns false for an idclass. Returns: boolean indicating whether the identifiable

jakarta.persistence.metamodel.IdentifiableType.hasVersionAttribute()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.IdentifiableType boolean hasVersionAttribute() Whether the identifiable type has a version attribute. Returns: boolean indicating whether the identifiable type has a version attribute. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.IdentifiableType.getId(Class)

the identifiable type or if the identifiable type has an id class. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.IdentifiableType.getDeclaredId(Class)

of the given type is not declared in the identifiable type or if the identifiable type has an id class. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.IdentifiableType.getIdClassAttributes()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.IdentifiableType Set getIdClassAttributes() Return the attributes corresponding to the id class of the identifiable type. Returns: id attributes. Throws: IllegalArgumentException - if the identifiable type does not have an id class. Since: Jakarta Persistence (JPA) 1.0

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 to which the Id annotation is applied should have one of the following types: any Java primitive type; any

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.GenerationType

must assign primary keys for the entity by generating an RFC 4122 Universally Unique IDentifier

jakarta.persistence.ManyToMany

the relationship attribute within the embedded attribute. The value of each identifier used with the dot

jakarta.persistence.ManyToOne

the relationship attribute within the embedded attribute. The value of each identifier used

jakarta.persistence.NamedEntityGraph

name (Optional) The name used to identify the entity graph in calls to EntityManager.getEntityGraph

jakarta.persistence.metamodel.IdentifiableType.getDeclaredVersion(Class)

: IllegalArgumentException - if version attribute of the type is not declared in the identifiable type. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.IdentifiableType.getVersion(Class)

of the given type is not present in the identifiable type. Since: Jakarta Persistence (JPA) 1.0

General Performance Issues Illustrated with a Specific Method

; import javax.persistence.Temporal; import lk.gov.health.phsp.pojcs. Identifiable ; @Entity @Table public class Client implements Serializable , Identifiable { // @Id @GeneratedValue(strategy ... .phsp.pojcs. Identifiable ; import org.joda.time.LocalDate; import org.joda.time.Period; import org.joda

Optimization Question

to identify exactly what fields have changed from one update to the next. Currently the following ... prone code to identify exactly what's changed and replace only exactly those items ... identifier and a mapping of that to the ObjectDB OID is used to delete the existing track data before

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

"Unexpected query expression" using CriteriaQuery FetchParent Interface

: Unexpected query expression end (non keyword identifier is expected)] with root cause com.objectdb.o.UserException: Unexpected query expression end (non keyword identifier is expected) at com.objectdb.o ... end (non keyword identifier is expected) (error 751) (position 9) at com.objectdb.jpa.JpaQuery

Need help to make this test work and define proper annotations for entities Lists

identifier ;             public String apiName ... ;             identifier = ident;  

ObjectDB throws `NullPointerException` in internal code (`com.objectdb.o.ENH.b`)

clear. There have been similar reports in the past, but more details are needed to identify the exact

InternalError on query of empty database

Hi, I have reasons for sometimes trying to query the database before anything has been created. The problem is the database throws a InternalException when that happens. Is it possible to throw something that identifies that that is the issue, say something like "MissingSchemaException", ie

License Activation Change and Checking Activation

your computer MAC address. Using MAC address as a machine identifier is a common practice in

Objectdb Doctor

during development and testing can help in identifying failures. If the Doctor reports broken references

Mismatch client-server protocol prefix

, until you can identify the specific part of the application that is relevant to the failure. support

Problem with distinct select, order by and equivalent alias/attribute path

just removing the error is not enough and some analysis is needed in order to identify the order

virtual servers and one file

." appears. I have attached a RAR archive with more logs. I hope this helps to identify the problem

Handling deleted references

whatever check to identify previously deleted Entity instances profile = ....; // create new Profile

[ObjectDB 2.2.6_02] Unexpected exception (Error 990) at com.objectdb.o.OBC.aJ(OBC.java:961)

, TimePeriod identifier ) throws Exception { // obtain the moment Calendar now = Calendar.getInstance ... ); latestPoint.setY(y); // create and update a Chart ChartEntity chart = new ChartEntity( identifier

queries under 2.7.6_4 significantly slower than under 2.7.6

, if you can identify the exact build in which these new issues started (_01, _02, _03 or _04) it could help ... ) it may help identifying a pattern and finding a solution. If the schema and indexes are the same

reading from table gives Unexpected exception

van woerkom Unfortunately the information in this stack trace is not sufficient to identify

ArrayIndexOutOfBoundException

specified in the configuration . Can you identify specific circumstances in which this happens? support