ObjectDB Database Search
151-200 of 200 resultsActivation key causes database to not start. We still cannot start ObjectDB if we add the activation key in objectdb.conf. This is the ObjectDB log ... .java:62) CK1000 Casper Kold Lund Unfortunately it seems that a wrong license key (for ObjectDB 1.x rather than for ObjectDB 2.x) was sent to you. Sorry about that. A new license key was sent to you now | |
Unexpected query token 'KEY'.customProperties cp WHERE KEY (cp) = :propertyName AND VALUE(cp) = :propertyValue ORDER BY td.createdTimeMillis I get the "Unexpected query token ' KEY '" error. Is there another way to do this and I am just using ... with a collection of embedded objects. This will also enable defining indexes on the keys /values | |
Index on map key Is there a way to create an Index with @Index on the key of a map? wua Andreas Wurm Indexes on map keys as well as queries on map keys are currently not supported. But as a workaround you can use a collection of embedded objects, as demonstrated below: package test; import java.util.*; import | |
Foreign key constraint issue Hi, I'm trying to create two tables (Parent and Child) with a foreign key constraint from Child ... one specific case that foreign key constraint doesn't apply and I can't figure how to make it work ... want to remove all orphaned child entities (as with a foreign key constraint). Interestingly | |
Error opening database with ObjectDB Explorer when using composite key Hi, When I use a composite key in an entity and fill this database with this entity, ObjectDB explorer throws me an error when opening this database saying something about an invalid ID class ... has been attached to this ticket. The code itself looks like this: KEY : public class PersonId | |
ObjectDB JDO - foreign key constraints Hi, I am new to both JDO and ObjectDB, and am struggeling to figure out how to define foreign key relationships. For instance, I have create two classes: @Entity public class Person implements ... ; Any help appreciated! ralfne Ralf Stefan Neumann ObjectDB doesn't enforce foreign key constraints | |
retrieve without key?. i'm loading data from an external source. i use keys from that source. since i have a singleton i ... and can't see an option to retrieve an object w/o using a key . can this be done? duetto john cummings You can use a single result query . support Support | |
KEY() / VALUE() not recognized in JPQL?? Hi! Explorer says "unexpected token" on KEY (..: SELECT FROM individual.IndividualContact $1 LEFT OUTER JOIN $1.profile.title.name m WHERE ( KEY (m) = 'deu' AND VALUE(m) LIKE '%Dr%') profile = embedded entity title = referenced entity name = Map thanks, Alex quasado Alexander Adam Yes | |
selecting objects that have a particular key/value in persistant HashMap that the pMap field of some Person objects has the key /value pair "location'/'California'. Can I | |
License Key on macOS Sequoia 15.6.1License Key on macOS Sequoia 15.6.1 | |
Should derived fields of an EmbeddedId be manually maintained by app code? If I have an Entity which has a primary key which is derived and I am implementing it using ... an Entity with an EmbeddedId where the containing Entity has a simple Primary Key , and a case which shows an Entity whose container has a Primary Key which is partly a Primary Key . 2) I have kept the Entity | |
Eager Fetch of Map with Entities as Keys Loading eagerly a map that uses entity objects as keys is currently unsupported, if the equals and hashCode methods of the keys are based on the key entity persistent content, since that content ... ; MyKeyEntity key = new MyKeyEntity(" key "); em | |
jakarta.persistence.MapKeyColumn.name) The name of the map key column. The table in which it is found depends upon the context. If the map key is for an element collection, the map key column is in the collection table for the map value. If the map key is for a ManyToMany entity relationship or for a OneToMany entity relationship using a join | |
JPA Composite Key make Object Db throws "Unexpected exception (Error 990)" Hello Object Db community :) I am using this wonderful library and I caught a strange exception while testing the "composite key " feature in JPA. Let's see what I am doing : @Entity public class ... be reproduced with a simple ( not embedded Id ) key with an enum type. Here is the code : package test | |
Page #9 entry 0 (key 'bjjl') has 75 extra bytes / Unexpected last index ID: -119 (expected -116) ------------------- [1] Page #9 entry 0 has unexpected object format [2] Page #9 entry 0 ( key 'bjjl') has 75 ... ] Page #3 entry 0 has unexpected object format [2] Page #3 entry 0 ( key 'guest') has 11 extra bytes | |
DISTINCT key causing internal exception on 2.6.4.b10 I observed that on new ObjectDb v.2.6.4.b10 query below causes internal exception SELECT DISTINCT $1 FROM Pa3DictionaryItem $2 JOIN $2.values $1 WHERE ($2.namespace == 'com.anritsu.pa3.ttcn3' AND $2. key == 'TliEvent' AND $1 != '') Query above also worked fine on ObjectDb version 2.6.1.b06 Harman | |
jakarta.persistence.JoinColumns: Annotation Target: Method, Field Specifies the mapping for composite foreign keys . This annotation ... the generation of a foreign key constraint when table generation is in effect. If both this element ... . If no foreign key annotation element is specified in either location, a default foreign key strategy | |
jakarta.persistence.NamedAttributeNode) If the attribute references a Map type, this element can be used to specify a subgraph for the Key in the case of an Entity key type. A keySubgraph can not be specified without the Map attribute ... subclass subgraphs. The value of this element is the name of the key subgraph as specified by | |
jakarta.persistence.EntityManagerFactory ) A map keyed by graph name , containing every named entity graph whose entity type is assignable ... graphs Returns: a map keyed by graph name. Since: Jakarta Persistence (JPA) 3.2 Map getNamedQueries ( Class resultType ) A map keyed by query name , containing references to every named query | |
jakarta.persistence.criteria.MapJoin: - the source type of the join - the type of the target Map value - the type of the target Map key Super ... . Since: Jakarta Persistence (JPA) 1.0 Path key () Create a path expression that corresponds to the map key . Returns: path corresponding to map key . Since: Jakarta Persistence (JPA) 1.0 Predicate notEqualTo | |
jakarta.persistence.AttributeOverride collection whose key and/or value is an embeddable class. When AttributeOverride is applied to a map, " key . " or " value. " must be used to prefix the name of the attribute that is being overridden in order to specify it as part of the map key or map value. To override mappings at multiple levels | |
jakarta.persistence.PrimaryKeyJoinColumns to map composite foreign keys . Example: ValuedCustomer subclass @Entity @Table(name = "VCUST ... the generation of a foreign key constraint when table generation is in effect. If both this element ... is undefined. If no foreign key annotation element is specified in either location, a default foreign | |
jakarta.persistence.MapKeyClass: Annotation Target: Method, Field Specifies the type of the map key for associations of type java.util.Map . The map key can be a basic type, an embeddable class, or an entity. If the map is specified ... Persistence (JPA) 2.0 Annotation Elements Class value (Required) The type of the map key | |
jakarta.persistence.PessimisticLockScope table(s). Entity relationships for which the locked entity contains the foreign key ... ). Element collections and relationships for which the entity does not contain the foreign key (such as ... for which the target entity contains the foreign key ) will not be locked by default. Since: Jakarta Persistence | |
jakarta.persistence.NamedAttributeNode.keySubgraph for the Key in the case of an Entity key type. A keySubgraph can not be specified without the Map ... entries are merged into subclass subgraphs. The value of this element is the name of the key subgraph as specified by the name element of the corresponding NamedSubgraph element. If multiple key subgraphs | |
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 ... a map key enum type. Default: EnumType.ORDINAL Since: Jakarta Persistence (JPA) 1.0 Additional JDK | |
jakarta.persistence.ManyToOne association usually maps a foreign key column or columns. This mapping may be specified using the JoinColumn ... must always exist. May be used in schema generation to infer that the mapped foreign key column | |
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 java.util.Date and java.util.Calendar . It may only be specified for map keys of these types | |
jakarta.persistence.criteria.CriteriaBuilder - expression to be tested Returns: predicate. Since: Jakarta Persistence (JPA) 1.0 Expression keys ( M map ) Create an expression that returns the keys of a map. Parameters: map - map Returns: set | |
jakarta.persistence.AttributeNode associated with this attribute node's map key . Returns: a Map of subgraphs associated with this attribute node's map key or an empty Map if none have been defined. Since: Jakarta Persistence (JPA) 1.0 Map | |
jakarta.persistence.OneToMany key column or columns in the table of the associated entity. This mapping may be specified using ... customer; } Example 3: Unidirectional One-to-Many association using a foreign key mapping // In | |
jakarta.persistence.UniqueConstraint Jakarta Persistence (JPA) Annotation Type jakarta.persistence.UniqueConstraint Implemented Interfaces: Annotation Specifies that a unique constraint is to be included in the generated DDL for a primary or secondary table. Example: @Entity @Table( name = "EMPLOYEE", uniqueConstraints | |
jakarta.persistence.Version one of its mapped superclasses. The Version field or property should be mapped to the primary table | |
jakarta.persistence.metamodel.ManagedType.getMap(String,Class,Class) the Map-valued attribute of the managed type that corresponds to the specified name and Java key and value types. Parameters: name - the name of the represented attribute keyType - the key type ... of the given name and key and value types. Throws: IllegalArgumentException - if attribute of the given | |
jakarta.persistence.metamodel.ManagedType.getDeclaredMap(String,Class,Class) and Java key and value types. Parameters: name - the name of the represented attribute keyType - the key type of the represented attribute valueType - the value type of the represented attribute Returns: declared MapAttribute of the given name and key and value types. Throws: IllegalArgumentException | |
jakarta.persistence.PessimisticLockScope.NORMAL for which the locked entity contains the foreign key will also be locked, but not the state ... and relationships for which the entity does not contain the foreign key (such as relationships that are mapped ... the foreign key ) will not be locked by default. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.ForeignKey.value) Used to specify whether a foreign key constraint should be generated when schema generation is in effect. ConstraintMode.CONSTRAINT specifies that the persistence provider must generate a foreign key ... or columns to which the foreign key annotation is applied. ConstraintMode.NO_CONSTRAINT specifies | |
jakarta.persistence.JoinColumns.foreignKey (Optional) Used to specify or control the generation of a foreign key constraint when table generation is in ... are specified, the behavior is undefined. If no foreign key annotation element is specified in either location, a default foreign key strategy is selected by the persistence provider. Default: @ForeignKey(PROVIDER_DEFAULT) Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.JoinTable.foreignKey Jakarta Persistence (JPA) Method in jakarta.persistence.JoinTable ForeignKey foreignKey (Optional) Used to specify or control the generation of a foreign key constraint for the columns corresponding ... is undefined. If no foreign key annotation element is specified in either location, a default foreign key | |
jakarta.persistence.JoinTable.inverseForeignKey (Optional) Used to specify or control the generation of a foreign key constraint for the columns ... are specified, the behavior is undefined. If no foreign key annotation element is specified in either location, a default foreign key strategy is selected by the persistence provider. Default: @ForeignKey | |
jakarta.persistence.SecondaryTable.foreignKey (Optional) Used to specify or control the generation of a foreign key constraint for the columns ... , the behavior is undefined. If no foreign key annotation element is specified in either location, a default foreign key strategy is selected by the persistence provider. Default: @ForeignKey | |
jakarta.persistence.Convert.attributeName to the field or property named startDate of the referenced embeddable class, or if an map collection whose key type is an embeddable type is annotated @Convert(attributeName=" key .jobType") , the converter is applied to the field or property named jobType of the map key class. When Convert directly annotates | |
jakarta.persistence.CollectionTable.foreignKey (Optional) Used to specify or control the generation of a foreign key constraint for the columns ... is undefined. If no foreign key annotation element is specified in either location, a default foreign key strategy is selected by the persistence provider. Default: @ForeignKey(ConstraintMode.PROVIDER_DEFAULT) Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.PrimaryKeyJoinColumns.foreignKey foreignKey (Optional) Used to specify or control the generation of a foreign key constraint when table ... of the PrimaryKeyJoinColumn elements are specified, the behavior is undefined. If no foreign key annotation element is specified in either location, a default foreign key strategy is selected by the persistence provider | |
jakarta.persistence.AssociationOverride.foreignKey (Optional) Used to specify or control the generation of a foreign key constraint for the columns ... . If no foreign key annotation element is specified in either location, the persistence provider's default foreign key strategy will apply. Default: @ForeignKey(PROVIDER_DEFAULT) Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.metamodel.MapAttribute.getKeyJavaType() Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.MapAttribute Class getKeyJavaType() Return the Java type of the map key . Returns: Java key type. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.MapAttribute.getKeyType() Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.MapAttribute Type getKeyType() Return the type representing the key type of the map. Returns: type representing key type. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Graph.addKeySubgraph(Attribute) Jakarta Persistence (JPA) Method in jakarta.persistence.Graph Subgraph addKeySubgraph ( Attribute attribute ) Add a node to the graph that corresponds to a map key that is a managed ... . Parameters: attribute - attribute Returns: subgraph for the key attribute. Throws: IllegalStateException | |
jakarta.persistence.Graph.addKeySubgraph(String) Jakarta Persistence (JPA) Method in jakarta.persistence.Graph Subgraph addKeySubgraph ( String attributeName ) Add a node to the graph that corresponds to a map key that is a managed ... . Parameters: attributeName - name of the attribute Returns: subgraph for the key attribute. Throws | |
jakarta.persistence.Graph.addMapKeySubgraph(MapAttribute) Jakarta Persistence (JPA) Method in jakarta.persistence.Graph Subgraph addMapKeySubgraph ( MapAttribute attribute ) Add a node to the graph that corresponds to a map key ... . Parameters: attribute - attribute Returns: subgraph for the key attribute. Throws |