ObjectDB Database Search
51-100 of 200 resultsCascading merge() leading to "Attempt to persist a reference to a non managed instance" error to persist a reference to a non managed ObjectDbCascadingMergeTest$Parent instance - field | |
removed objects stay with null field values in the reference. But you may still have broken references to that object, like links to a web page that doesn't exist. support Support | |
Cascade.ALL with LAZY fetchtype does not clean up all references on remove Hello, I have a tree of entity classes that reference others using Cascade.ALL in combination with FetchType.LAZY. If I now delete a root entity using EntityManager.remove all leaf nodes will not be deleted. This only applies to the leaf nodes. If I add an additional the behaviour changes | |
References to objects of missing obsolete entity classesReferences to objects of missing obsolete entity classes | |
Some details about db behavior is empty and I persist a valid B entity (that contains actual A reference ) I observe some behavior ... will refer to it. Please explain what is happening there? I know about cascade option, and if I use it A will be persisted under A type... but is B referring to that A or it is keeping a copy | |
InterfaceRef jakarta.persistence.EntityManager to the specified type Since: JPA 2.0 TypedQuery createQuery ( TypedQueryReference reference ... language or in native SQL. Parameters: reference - a reference to the query defined in metadata ... . Managed entities which reference the given entity continue to reference it. This operation cascades | |
InterfaceRef jakarta.persistence.spi.PersistenceUnitInfo element in the persistence.xml file. A URL will either be a file: URL referring to a jar file or referring ... jar format can be obtained. Return: a list of URL objects referring to jar files or directories ... will either be a file: URL referring to a jar file or referring to a directory that contains an exploded jar file | |
AnnotationRef jakarta.persistence.CollectionTable contains references to other entities, the default values for the columns corresponding to those references may be overridden by means of the AssociationOverride and/or AssociationOverrides annotations ... key columns of the collection table which reference the primary table of the entity. The default | |
InterfaceRef jakarta.persistence.spi.ProviderUtil LoadState.UNKNOWN . The provider's implementation of this method must not obtain a reference to any ... a reference to the attribute value. (This access is safe because providers which might trigger ... of this method must not obtain a reference to an attribute value, as this could trigger the loading of entity | |
PersistenceUnitInfo.getPersistenceUnitRootUrl() - JPA Method will either be a file: URL referring to a jar file or referring to a directory that contains an exploded jar file, or some other URL from which an InputStream in jar format can be obtained. Return: a URL referring to a jar file or directory Since: JPA 1.0 | |
PersistenceUnitInfo.getJarFileUrls() - JPA Method the persistence.xml file. A URL will either be a file: URL referring to a jar file or referring ... can be obtained. Return: a list of URL objects referring to jar files or directories Since: JPA 1.0 | |
AnnotationRef jakarta.persistence.NamedAttributeNode Annotation Attributes String keySubgraph default "" (Optional) If the attribute references a Map type ... references a managed type that has its own AttributeNodes, this element is used to refer | |
AnnotationRef jakarta.persistence.NamedStoredProcedureQuery the parameter list of the stored procedure. The resultClasses element refers to the class (or classes ... hints.) Since: JPA 2.1 String name default null The name used to refer to the query | |
AnnotationRef jakarta.persistence.JoinTable {} (Optional) The foreign key columns of the join table which reference the primary table ... key columns of the join table which reference the primary table of the entity owning the association | |
EntityManager.getReference(entity) - JPA Method JPA Method in jakarta.persistence.EntityManager T getReference ( T entity ) Obtain a reference to an instance of the entity class of the given object, with the same primary key as ... . Parameters: entity - a persistent or detached entity instance Return: a reference to the entity instance | |
EntityManager.detach(entity) - JPA Method, will never be synchronized to the database. Managed entities which reference the given entity continue to reference it. This operation cascades to every entity related by an association marked cascade | |
EntityManager.getReference(entityClass,primaryKey) - JPA Method JPA Method in jakarta.persistence.EntityManager T getReference ( Class entityClass, Object primaryKey ) Obtain a reference to an instance of the given entity ... : a reference to the entity instance Throws: IllegalArgumentException - if the first argument does not | |
AnnotationAttrRef jakarta.persistence.NamedAttributeNode.subgraph JPA Annotation Attribute in jakarta.persistence.NamedAttributeNode String subgraph default "" (Optional) If the attribute references a managed type that has its own AttributeNodes, this element is used to refer to that NamedSubgraph definition. If the target type has inheritance, multiple | |
InterfaceRef jakarta.persistence.criteria.Root JPA Interface Root Type Parameters: - the entity type referenced by the root Super Interfaces: FetchParent , From A root type in the from clause. Query roots always reference entities. Since: JPA 2.0 The FROM clause (JPQL / Criteria API) article explains how to use Root . Public Methods EntityType | |
InterfaceRef jakarta.persistence.TypedQueryReference JPA Interface TypedQueryReference Type Parameters: - an upper bound on the result type of the query A reference to a named query declared via the NamedQuery or NamedNativeQuery annotations. See Also: EntityManager.createQuery Since: JPA 3.2 Public Methods Map getHints () A map keyed by hint name | |
InterfaceRef jakarta.persistence.PersistenceUtil of an entity passed as a reference . An entity is considered loaded if all attributes for which FetchType.EAGER | |
AnnotationAttrRef jakarta.persistence.NamedStoredProcedureQuery.name JPA Annotation Attribute in jakarta.persistence.NamedStoredProcedureQuery String name default null The name used to refer to the query with the EntityManager methods that create stored procedure query objects. Since: JPA 2.1 | |
ClassRef jakarta.persistence.EntityNotFoundException reference obtained by EntityManager.getReference is accessed but the entity does not exist. Thrown | |
PersistenceUtil.isLoaded(entity) - JPA Method JPA Method in jakarta.persistence.PersistenceUtil boolean isLoaded ( Object entity ) Determine the load state of an entity. This method can be used to determine the load state of an entity passed as a reference . An entity is considered loaded if all attributes for which FetchType | |
AnnotationAttrRef jakarta.persistence.JoinTable.inverseJoinColumns JPA Annotation Attribute in jakarta.persistence.JoinTable JoinColumn [] inverseJoinColumns default {} (Optional) The foreign key columns of the join table which reference the primary table of the entity that does not own the association. (I.e. the inverse side of the association). Uses the same defaults as for JoinColumn . Since: JPA 1.0 | |
PersistenceUnitUtil.isLoaded(entity) - JPA Method JPA Method in jakarta.persistence.PersistenceUnitUtil boolean isLoaded ( Object entity ) Determine the load state of an entity belonging to the persistence unit. This method can be used to determine the load state of an entity passed as a reference . An entity is considered loaded | |
InterfaceRef jakarta.persistence.PersistenceUnitUtil to the persistence unit. This method can be used to determine the load state of an entity passed as a reference | |
AnnotationAttrRef jakarta.persistence.JoinTable.joinColumns JPA Annotation Attribute in jakarta.persistence.JoinTable JoinColumn [] joinColumns default {} (Optional) The foreign key columns of the join table which reference the primary table of the entity owning the association. (I.e. the owning side of the association). Uses the same defaults as for JoinColumn . Since: JPA 1.0 | |
AnnotationRef jakarta.persistence.OrderBy is used to refer to an attribute within an embedded attribute. The value of each identifier used | |
AnnotationAttrRef jakarta.persistence.CollectionTable.joinColumns JPA Annotation Attribute in jakarta.persistence.CollectionTable JoinColumn [] joinColumns default {} (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 | |
AnnotationRef jakarta.persistence.ColumnResult JPA Annotation ColumnResult Implemented Interfaces: Annotation Used in conjunction with the SqlResultSetMapping , NamedNativeQuery , or ConstructorResult annotation to map a column of the SELECT list of a SQL query. The name element references the name of a column in the SELECT list — i.e | |
AnnotationRef jakarta.persistence.SecondaryTable table. If no primary key join columns are specified, the join columns are assumed to reference | |
EnumRef jakarta.persistence.ParameterMode parameter Since: JPA 2.1 REF_CURSOR Stored procedure reference cursor parameter. Some databases use REF | |
EnumConstRef jakarta.persistence.ParameterMode.REF_CURSOR JPA Enum Constant in jakarta.persistence.ParameterMode REF_CURSOR Stored procedure reference cursor parameter. Some databases use REF_CURSOR parameters to return result sets from stored procedures. Since: JPA 2.1 | |
AnnotationRef jakarta.persistence.OrderColumn on the side of the relationship that references the collection that is to be ordered. The order column is not visible | |
InterfaceRef jakarta.persistence.criteria.CriteriaBuilder - parameter class name - name that can be used to refer to the parameter Return: parameter expression | |
CriteriaBuilder.parameter(paramClass,name) - JPA Method JPA Method in jakarta.persistence.criteria.CriteriaBuilder ParameterExpression parameter ( Class paramClass, String name ) Create a parameter expression with the given name. Parameters: paramClass - parameter class name - name that can be used to refer to the parameter Return: parameter expression Since: JPA 2.0 | |
AnnotationRef jakarta.persistence.ForeignKey. For example, it might be similar to the following: FOREIGN KEY ( {, } ... ) REFERENCES | |
AnnotationAttrRef jakarta.persistence.SqlResultSetMapping.name JPA Annotation Attribute in jakarta.persistence.SqlResultSetMapping String name default null The name given to the result set mapping, and used to refer to it in the methods of the Query and StoredProcedureQuery APIs. Since: JPA 1.0 | |
AnnotationRef jakarta.persistence.SqlResultSetMapping name default null The name given to the result set mapping, and used to refer to it in the methods of the Query and StoredProcedureQuery APIs. Since: JPA 1.0 | |
ProviderUtil.isLoadedWithReference(entity,attributeName) - JPA Method implementation of this method is permitted to obtain a reference to the attribute value | |
ProviderUtil.isLoadedWithoutReference(entity,attributeName) - JPA Method implementation of this method must not obtain a reference to an attribute value, as | |
ProviderUtil.isLoaded(entity) - JPA Method LoadState.UNKNOWN . The provider's implementation of this method must not obtain a reference to any | |
AnnotationRef jakarta.persistence.NamedEntityGraph or instances of the root entity is executed. A reference to a named entity graph may be obtained by | |
AnnotationAttrRef jakarta.persistence.NamedAttributeNode.keySubgraph JPA Annotation Attribute in jakarta.persistence.NamedAttributeNode String keySubgraph default "" (Optional) 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 | |
AnnotationRef jakarta.persistence.MapKeyJoinColumns JPA Annotation MapKeyJoinColumns Target: METHOD, FIELD Implemented Interfaces: Annotation Supports composite map keys that reference entities. The MapKeyJoinColumns annotation groups MapKeyJoinColumn annotations. When the MapKeyJoinColumns annotation is used, both the name | |
AnnotationAttrRef jakarta.persistence.Entity.name JPA Annotation Attribute in jakarta.persistence.Entity String name default "" (Optional) The entity name. Defaults to the unqualified name of the entity class. This name is used to refer to the entity in queries. The name must not be a reserved literal in the Jakarta Persistence query language. Since: JPA 1.0 | |
AnnotationRef jakarta.persistence.Entity) The entity name. Defaults to the unqualified name of the entity class. This name is used to refer | |
Best practise loading big data a reference on the retrived entities then we discover that the memory consumption is extremly high, many ... ? With enhanced classes ObjectDB is not expected to hold strong references (which prevents garbage ... and paths of strong references from roots to objects? support Support @Entity class MyStepBlockCollection | |
again merger missing logs + objectdb exception it would be a great help. The Doctor also lists many broken references . Broken references could be application ... ). Are you aware for something in your application that can cause broken references or ... Support the broken references are something that we are aware of, not connected in general |