Internal Website Search

51-100 of 200 results

WebService : Failed to get reference value of field using enhanced method

.apache.axis2.AxisFault: Failed to commit transaction: Failed to get reference value of field field ... exceptions: org.apache.axis2.AxisFault: Failed to commit transaction: Failed to get reference value ... to get reference value of field using enhanced method" . ClassCast error was only once by me... --- I

Repair broken references in entities

. Are all broken references in other entities on this removed/persisted entity repaired again? best regards ... type with the same primary key, and then references to the old entity should point to the new one (eliminating broken references ). support Support

find out if an entity is refered by other entities

) for a specific relationship ( reference field), so you may have to use many queries to cover all the possible relationships that may reference that child object. As a permanent solution

Embedable & Reference?

behavior. Embedded objects cannot be shared by multiple references . If you have multiple references

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

/questions/5060891/jpa-how-can-an-embeddable-object-get-a- reference -to-its-owner   webel Dr Darren

Cascading 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

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

that every Element object (except Project itself) gets a Project reference on construction: INFO ... exception: Caused by: javax.ejb.EJBException: Attempt to persist a reference to a non managed com

Deleting a broken reference that was fixed to null in the Explorer

Using version 2.7.4_01, we did a repair. After repair a former link to a missing reference was converted to null. This cannot be deleted using explorer   hgzwicker Hans-Georg Zwicker Thank you for this report. Build 2.7.4_02 fixes the issue. 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 classes

References to objects of missing obsolete entity classes

javax.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 ... [] joinColumns default {} (Optional) The foreign key columns of the collection table which reference

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

javax.persistence.NamedStoredProcedureQuery

the parameter list of the stored procedure. The resultClasses element refers to the class (or ... vendor-specific query hints.) Since: JPA 2.1 String name default null The name used to refer

javax.persistence.JoinTable

which reference the primary table of the entity that does not own the association. (I.e. the inverse ... default {} (Optional) The foreign key columns of the join table which reference the primary table

javax.persistence.NamedAttributeNode.subgraph

JPA Annotation Attribute in javax.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 subgraphs

javax.persistence.criteria.Root

JPA Interface Root Type Parameters: - the entity type referenced by the root 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 getModel () Return the metamodel

javax.persistence.PersistenceUtil

of an entity passed as a reference . An entity is considered loaded if all attributes for which FetchType.EAGER

javax.persistence.NamedStoredProcedureQuery.name

JPA Annotation Attribute in javax.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

javax.persistence.EntityNotFoundException

reference obtained by EntityManager.getReference is accessed but the entity does not exist. Thrown

PersistenceUtil.isLoaded(entity) - JPA Method

JPA Method in javax.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

javax.persistence.JoinTable.inverseJoinColumns

JPA Annotation Attribute in javax.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

javax.persistence.NamedQuery.name

JPA Annotation Attribute in javax.persistence.NamedQuery String name default null (Required) The name used to refer to the query with the EntityManager methods that create query objects. Since: JPA 1.0

javax.persistence.NamedQuery

String name default null (Required) The name used to refer to the query with the EntityManager methods

PersistenceUnitUtil.isLoaded(entity) - JPA Method

JPA Method in javax.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

javax.persistence.PersistenceUnitUtil

the load state of an entity passed as a reference . An entity is considered loaded if all attributes

javax.persistence.NamedNativeQuery.name

JPA Annotation Attribute in javax.persistence.NamedNativeQuery String name default null The name used to refer to the query with the EntityManager methods that create query objects. Since: JPA 1.0

javax.persistence.JoinTable.joinColumns

JPA Annotation Attribute in javax.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

javax.persistence.NamedNativeQuery

.) Since: JPA 1.0 String name default null The name used to refer to the query with the EntityManager methods

javax.persistence.OrderBy

to refer to an attribute within an embedded attribute. The value of each identifier used

javax.persistence.CollectionTable.joinColumns

JPA Annotation Attribute in javax.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

javax.persistence.ColumnResult

JPA Annotation ColumnResult Implemented Interfaces: Annotation Used in conjunction with the SqlResultSetMapping annotation 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., column

javax.persistence.EntityManager

the detached entity will continue to reference it. Parameters: entity - entity instance Throws

javax.persistence.SecondaryTable

table. If no primary key join columns are specified, the join columns are assumed to reference

javax.persistence.ParameterMode

parameter Since: JPA 2.1 REF_CURSOR Stored procedure reference cursor parameter. Some databases use REF

javax.persistence.ParameterMode.REF_CURSOR

JPA Enum Constant in javax.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

javax.persistence.OrderColumn

on the side of the relationship that references the collection that is to be ordered. The order column is not visible

javax.persistence.criteria.CriteriaBuilder

. Parameters: paramClass - parameter class name - name that can be used to refer to the parameter Return

CriteriaBuilder.parameter(paramClass,name) - JPA Method

JPA Method in javax.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

javax.jdo.spi.PersistenceCapable

, object identity, and version if it has one. In the Reference Implementation, the JDO Enhancer modifies ... . The Reference Enhancer also adds code to implement the methods defined by PersistenceCapable ... changes made to their fields. However, if a reference to an array is given to a method outside the class

javax.jdo.PersistenceManager

store that might be iterated or given to a Query . The Extent itself might not reference any ... . Any references to the detached instances from instances in the closure of the parameter instances are modified to refer to the corresponding persistent instance instead of to the detached instance

PersistenceManager.makePersistent(pc) - JDO Method

should use the jdoPostAttach callback or the postAttach lifecycle event listener. Any references to the detached instances from instances in the closure of the parameter instances are modified to refer

javax.jdo.spi.StateManager

instance contains a reference to a StateManager . A StateManager might manage one or multiple instances ... to ensure that the owning StateManager is the only source of any change to its reference in

JDOImplHelper.checkAuthorizedStateManagerClass(smClass) - JDO Static Method

JDO Static Method in javax.jdo.spi.JDOImplHelper void checkAuthorizedStateManagerClass (   Class smClass ) Check that the parameter instance is a class that is authorized for JDOPermission("setStateManager"). This method is called by the constructors of JDO Reference Implementation

javax.jdo.annotations.Persistent.name

JDO Annotation Attribute in javax.jdo.annotations.Persistent String name default "" Name of the member when this is embedded in another object. The fully-qualified member name is used. For example, "line.point1.x" refers to the member x in class Point that is embedded as member point1 in class

PersistenceManagerFactory.setRestoreValues(restoreValues) - JDO Method

and immutable reference types are restored to their values as of the beginning of the transaction

javax.jdo.PersistenceManagerFactory

of primitive types and immutable reference types are restored to their values as of the beginning

javax.jdo.annotations.Persistent

. For example, "line.point1.x" refers to the member x in class Point that is embedded as member point1 in class

JDOHelper.makeDirty(pc,fieldName) - JDO Static Method

JDO Static Method in javax.jdo.JDOHelper void makeDirty (   Object pc,    String fieldName ) Explicitly mark the parameter instance and field dirty. Normally, PersistenceCapable classes are able to detect changes made to their fields. However, if a reference

javax.jdo.JDOHelper

, PersistenceCapable classes are able to detect changes made to their fields. However, if a reference to an array