ObjectDB Database Search
151-200 of 200 resultshow to query by properties of onetomany relations? (Error 990) is invalid. You cannot navigate through collections in JPQL directly. You have to use JOIN to define a variable that will iterate over the collection elements. This specific query should be rewritten ... Support of direct navigation from collections (with no JOIN) was just added in build 2.2.4_02 | |
Cascading makeTransient be garbage- collected even after the PersistenceManager is closed and they are no longer needed from ... collecting of A instances (the reference com.objectdb.o.ENT is less important since after making ... ). The direct reference was added in version 2.6.2 in order to prevent garbage collecting | |
jakarta.persistence.metamodel.PluralAttribute.getCollectionType() Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.PluralAttribute CollectionType getCollectionType() Return the collection type. Returns: collection type. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CollectionJoin.getModel() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CollectionJoin CollectionAttribute getModel() Return the metamodel representation for the collection attribute. Returns: metamodel type representing the Collection that is the target of the join. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.Subquery.correlate(CollectionJoin) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery CollectionJoin correlate ( CollectionJoin parentCollection ) Create a subquery collection join object correlated to a collection join object of the enclosing query. Parameters: parentCollection - join object | |
jakarta.persistence.criteria.ListJoin.index() collection . This method must only be invoked upon an object that represents an association or element collection for which an order column has been defined. Returns: expression denoting the index. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.PluralJoin.getModel() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.PluralJoin PluralAttribute getModel() Return the metamodel representation for the collection -valued attribute corresponding to the join. Returns: metamodel collection -valued attribute corresponding to the target of the join. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.PessimisticLockScope.NORMAL the database row(s) that correspond to the non- collection -valued persistent state of that instance ... of the referenced entities (unless those entities are explicitly locked). Element collections | |
jakarta.persistence.JoinColumn.name is for an ElementCollection , the foreign key is in a collection table. Default (only applies if a single join column ... is for an element collection , the join column name is formed as the concatenation of the following | |
jakarta.persistence.OneToMany.targetEntity Jakarta Persistence (JPA) Method in jakarta.persistence.OneToMany Class targetEntity() (Optional) The entity class that is the target of the association. Optional only if the collection property ... of the collection when defined using generics. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.MapKeyColumn.name Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyColumn String name() (Optional) 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 | |
jakarta.persistence.MapKeyColumn.table Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyColumn String table() (Optional) The name of the table that contains the column. Defaults: If the map key is for an element collection , the name of the collection table for the map value. If the map key is for a OneToMany or ManyToMany | |
jakarta.persistence.MapKeyJoinColumn.name upon the context. If the join is for a map key for an element collection , the foreign key column is in the collection table for the map value. If the join is for a map key for a ManyToMany entity relationship | |
jakarta.persistence.JoinColumn.table. If the join is for an element collection , the name of the collection table. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.ManyToMany.targetEntity Jakarta Persistence (JPA) Method in jakarta.persistence.ManyToMany Class targetEntity() (Optional) The entity class that is the target of the association. Optional only if the collection -valued ... to the parameterized type of the collection when defined using generics. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.CollectionTable.name Jakarta Persistence (JPA) Method in jakarta.persistence.CollectionTable String name() (Optional) The name of the collection table. If not specified, it defaults to the concatenation of the name of the containing entity and the name of the collection attribute, separated by an underscore. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.Expression.in(Expression) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Expression Predicate in ( Expression values ) Create a predicate to test whether the expression is a member of the collection . Parameters: values - expression corresponding to collection to be tested against Returns | |
jakarta.persistence.Lob conjunction with the Basic annotation or with the ElementCollection annotation when the element collection | |
jakarta.persistence.MapKeyClass one of the collection -valued relationship annotations ( OneToMany or ManyToMany ). The MapKey | |
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.ManyToOne = "jobInfo.pm") Collection manages; } Since: Jakarta Persistence (JPA) 1.0 Public Instance Methods | |
jakarta.persistence.MapKeyTemporal. The MapKeyTemporal annotation can be applied to an element collection or relationship of type java.util | |
jakarta.persistence.Enumerated in conjunction with the ElementCollection annotation when the element type of the collection | |
jakarta.persistence.metamodel.Bindable.BindableType Persistence (JPA) 1.0 PLURAL_ATTRIBUTE Multivalued attribute type, that is, a collection | |
jakarta.persistence.AssociationOverride") Collection employees; } See Also: Embedded Embeddable MappedSuperclass AttributeOverride Since: Jakarta | |
jakarta.persistence.Temporal annotation, or the ElementCollection annotation when the element collection value | |
jakarta.persistence.metamodel.ManagedType.getCollection(String) Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType CollectionAttribute getCollection ( String name ) Return the Collection -valued attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute | |
jakarta.persistence.metamodel.ManagedType.getDeclaredCollection(String) Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType CollectionAttribute getDeclaredCollection ( String name ) Return the Collection -valued attribute declared by the managed type that corresponds to the specified name. Parameters: name - the name | |
jakarta.persistence.metamodel.PluralAttribute.getElementType() Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.PluralAttribute Type getElementType() Return the type representing the element type of the collection . Returns: element type. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.ManagedType.getCollection(String,Class) Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType CollectionAttribute getCollection ( String name , Class elementType ) Return the Collection -valued attribute of the managed type that corresponds to the specified name and Java element type | |
jakarta.persistence.metamodel.ManagedType.getDeclaredCollection(String,Class) Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType CollectionAttribute getDeclaredCollection ( String name , Class elementType ) Return the Collection -valued attribute declared by the managed type that corresponds to the specified name and Java | |
jakarta.persistence.metamodel.Bindable.BindableType.PLURAL_ATTRIBUTE Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel.Bindable.BindableType PLURAL_ATTRIBUTE Multivalued attribute type, that is, a collection . See Also: PluralAttribute Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Graph.addElementSubgraph(PluralAttribute) Jakarta Persistence (JPA) Method in jakarta.persistence.Graph Subgraph addElementSubgraph ( PluralAttribute attribute ) Add a node to the graph that corresponds to a collection element that is a managed type. This allows for construction of multi-node entity graphs that include | |
jakarta.persistence.Graph.addTreatedElementSubgraph(PluralAttribute,Class) Jakarta Persistence (JPA) Method in jakarta.persistence.Graph Subgraph addTreatedElementSubgraph ( PluralAttribute attribute , Class type ) Add a node to the graph that corresponds to a collection element that is a managed type. This allows for construction of multi-node | |
jakarta.persistence.Graph.addElementSubgraph(String) Jakarta Persistence (JPA) Method in jakarta.persistence.Graph Subgraph addElementSubgraph ( String attributeName ) Add a node to the graph that corresponds to a collection element that is a managed type. This allows for construction of multi-node entity graphs that include related | |
jakarta.persistence.Graph.addElementSubgraph(String,Class) Jakarta Persistence (JPA) Method in jakarta.persistence.Graph Subgraph addElementSubgraph ( String attributeName , Class type ) Add a node to the graph that corresponds to a collection element that is a managed type. This allows for construction of multi-node entity | |
jakarta.persistence.OneToMany.cascade Jakarta Persistence (JPA) Method in jakarta.persistence.OneToMany CascadeType[] cascade() (Optional) The operations that must be cascaded to the target of the association. Defaults to no operations being cascaded. When the target collection is a java.util.Map , the cascade element applies to the map value. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.values(M) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression values ( M map ) Create an expression that returns the values of a map. Parameters: map - map Returns: collection expression. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.JoinColumn.referencedColumnName of the entity containing the collection . Default (only applies if single join column is being used | |
jakarta.persistence.criteria.FetchParent.fetch(PluralAttribute) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.FetchParent Fetch fetch ( PluralAttribute attribute ) Create a fetch join to the specified collection -valued attribute using an inner join. Parameters: attribute - target of the join Returns: the resulting join. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.FetchParent.fetch(PluralAttribute,JoinType) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.FetchParent Fetch fetch ( PluralAttribute attribute , JoinType jt ) Create a fetch join to the specified collection -valued attribute using the given join type. Parameters: jt - join type attribute - target | |
jakarta.persistence.ManyToMany.cascade Jakarta Persistence (JPA) Method in jakarta.persistence.ManyToMany CascadeType[] cascade() (Optional) The operations that must be cascaded to the target of the association. When the target collection is a java.util.Map , the cascade element applies to the map value. Defaults to no operations being cascaded. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.From.joinCollection(String,JoinType) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.From CollectionJoin joinCollection ( String attributeName , JoinType jt ) Create a join to the specified Collection -valued attribute using the given join type. Parameters: attributeName - name | |
jakarta.persistence.criteria.From.joinCollection(String) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.From CollectionJoin joinCollection ( String attributeName ) Create an inner join to the specified Collection -valued attribute. Parameters: attributeName - name of the attribute for the target of the join Returns | |
jakarta.persistence.Convert.attributeName to the field or property named startDate of the referenced embeddable class, or if an map collection | |
jakarta.persistence.ElementCollection.fetch Jakarta Persistence (JPA) Method in jakarta.persistence.ElementCollection FetchType fetch() (Optional) Whether the collection 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.CollectionTable.joinColumns Jakarta Persistence (JPA) Method in jakarta.persistence.CollectionTable JoinColumn[] joinColumns() (Optional) The foreign key columns of the collection table which reference the primary table of the entity. The default only applies if a single join column is used. The default is the same as | |
TYE NullPointerException on an attempt to use a lazy collection that has not been loaded in a detached entity object. Build 2.3.1_03 should fix the exception (but notice that the data will not be available and the collection would look ... is related. I have a class with a collection property, this is defined as Collection and is backed by | |
Unexpected Exception during commit, during commit an attempt to cascade persist through an inverse (mapped by) collection field fails ... (and other classes). Please notice that ObjectDB can manage collections directly with no mappedBy ... messages! A few questions about mapped collections - I do use direct collections when it makes sense from | |
Best practise loading big data elements are hold by internal classes of ObjectDB. Garbage collection does not gain enough free memory ... collection ) to non dirty entity objects. Can you share a heap dump of your application during  ... classes. So if we do not reference the entities, GC can collect them. But it looks like there is some |