ObjectDB Database Search
101-150 of 200 resultsMetamodel Attribute NOT EQUALS to same Attribute in a different EntityManager Attribute from Metamodel initialized on @PostConstruct event IS NOT EQUALS of the same Attribute ... and the other on a @Controller @RequestMapping event, they return not equals Attributes using ... to Metamodel attributes that may solve this. support Support Very thank you my friend! flavioreboucassantos Flávio Rebouças Santos | |
Optimistic locking: prevent version increment on entity collection attribute Hello, I have an entity E with an attribute which is a collection of entities (one to many relationship) with an optimistic locking strategy supported by a version field. Is it possible to prevent the increment of the version of entity E when entities are added to or removed from the collection | |
Problem with distinct select, order by and equivalent alias/attribute path to me switching from alias to attribute path between projection and order by part... bklink Benjamin Klink | |
Can't get arraylist/vector type attributes I have a class that contains some attributes of type Vector (also tried with ArrayList and same happens). When I try to get an object from that class doing using the find method it works fine, I get the object. But when I call the close method to close the EntityManager the information from | |
The attribute column name (EXCEPTION) is a reserved SQL-99 keyword. How do I fix this error/warning that Netbeans gives me? "The attribute column name (EXCEPTION) is a reserved SQL-99 keyword." ThreaT Ashton Hogan This warning indicates mapping to a field in the database that its name conflicts with SQL. This is not an issue with ObjectDB | |
is JDO field attribute "indexed" supported?. But there is another way which is to specify an indexed attribute on the field element, like or indexed="true". It doesn't | |
Remove an entity which attributes were changed - OptimisticLockException We use an OSGi environment and we have three OSGi plugins. In plugin A an entity is loaded and the entity is passed to plugin B. Plugin B changes an attribute on the entity. Plugin C removes the entity from the database. After commit the transaction an exception is caused with optimistic | |
Using of ConcurrentHashMap as attribute Hello, it is possible to use an entity attribute of type java.util.concurrent.ConcurrentHashMap Your web site http://www.objectdb.com/object/db/database/features 'Object Model & Data Types' has no guidelines about this data type. Best regards btc_es BTC EmbeddedSystems You can persist a Map field | |
How to apply constraints in collection attributes of entity. How to apply constraints like unique, not null ...etc in collection attribute of a entity. Example : @Entity @Table(name = "agent") public class Agent implements Serializable { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long Id; private List PhoneNumbers; public Agent() { } public | |
Get the last occurence of a list attributGet the last occurence of a list attribut | |
Accessiblity of attributes in entities in several OSGi-BundlesAccessiblity of attributes in entities in several OSGi-Bundles | |
jakarta.persistence.PersistenceUtil from the Persistence class is used to determine the load state of an entity or entity attribute ... ) Determine the load state of a given persistent attribute . Parameters: attributeName - name of attribute whose load state is to be determined entity - entity containing the attribute Returns: false if entity's | |
jakarta.persistence.EntityManager within the persistence context and the lock mode type is pessimistic and the entity has a version attribute ... mode type is pessimistic and the entity has a version attribute , the persistence provider must perform ... attribute , the persistence provider must perform optimistic version checks when obtaining | |
jakarta.persistence.NamedAttributeNode (Required) The name of the attribute that must be included in the graph. Since: Jakarta Persistence (JPA) 1.0 String subgraph (Optional) If the attribute references a managed type ... -specific attributes . Superclass subgraph entries will be merged into subclass subgraphs. The value | |
jakarta.persistence.metamodel.Bindable: - The type of the represented object or attribute An instances of the type Bindable represents an object or attribute type that can be bound into a Path . Since: Jakarta Persistence (JPA) 2.0 Public ... . If the bindable type of the object is PLURAL_ ATTRIBUTE , the Java element type is returned. If the bindable type | |
jakarta.persistence.AttributeOverride defined by the mapped superclass or embeddable class (or embeddable class of one of its attributes ... , " key. " or " value. " must be used to prefix the name of the attribute that is being overridden in ... of embedding, a dot ( . ) notation form must be used in the name element to indicate an attribute | |
jakarta.persistence.metamodel.Bindable.BindableType Persistence (JPA) 1.0 PLURAL_ ATTRIBUTE Multivalued attribute type, that is, a collection. See Also: PluralAttribute Since: Jakarta Persistence (JPA) 1.0 SINGULAR_ ATTRIBUTE Single-valued attribute type | |
jakarta.persistence.metamodel.PluralAttribute.CollectionType , Serializable Since: Jakarta Persistence (JPA) 1.0 Enum Constants COLLECTION Collection-valued attribute Since: Jakarta Persistence (JPA) 1.0 LIST List-valued attribute Since: Jakarta Persistence (JPA) 1.0 MAP Map-valued attribute Since: Jakarta Persistence (JPA) 1.0 SET Set-valued attribute Since: Jakarta | |
jakarta.persistence.AssociationOverride syntax must be used in the name element to indicate an attribute within an embedded attribute ... a map value, " value. " must be used to prefix the name of the attribute within the embeddable class ... [] joinColumns The join column(s) being mapped to the persistent attribute (s). The joinColumns elements | |
jakarta.persistence.OrderBy operators are supported. The dot ( . ) notation is used to refer to an attribute within an embedded attribute . The value of each identifier used with the dot notation is the name of the respective ... of embeddable type, the dot notation must be used to specify the attribute or attributes that determine | |
jakarta.persistence.Graph.getAttributeNode(String) ( String attributeName ) Get an existing attribute node for the attribute with the given name. Parameters: attributeName - name of the attribute Returns: the attribute node. Throws: IllegalArgumentException - if the attribute is not an attribute of this entity.. NoSuchElementException | |
jakarta.persistence.Graph.addAttributeNode(String) ( String attributeName ) Get an existing attribute node for the attribute with the given name, or add a new attribute node if there is no existing node. Parameters: attributeName - name of the attribute Returns: the attribute node. Throws: IllegalStateException - if the EntityGraph | |
jakarta.persistence.Graph.hasAttributeNode(String); String attributeName ) Determine if there is an existing attribute node for the attribute with the given name. Parameters: attributeName - name of the attribute Returns: true if there is an existing attribute node. Throws: IllegalArgumentException - if the attribute is not an attribute of this entity.. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.Graph.addTreatedMapKeySubgraph(MapAttribute,Class) ( MapAttribute attribute , Class type ) Add a node to the graph ... the specified attributes of superclass subgraphs Parameters: attribute - attribute type - entity subclass Returns: subgraph for the attribute . Throws: IllegalStateException - if this EntityGraph | |
jakarta.persistence.CollectionTable from the attributes of the embeddable class or from the basic type according to the default values ... of the column used for a basic type, the Column annotation is used on the collection-valued attribute in ... to the concatenation of the name of the containing entity and the name of the collection attribute , separated by | |
jakarta.persistence.NamedSubgraph of the attributes of the class that must be included. If the named subgraph corresponds to a subclass of the class referenced by the corresponding attribute node, then only subclass-specific attributes | |
Remove an entity which attributes were changed We use an OSGi environment and we have three OSGi plugins. In plugin A an entity is loaded and the entity is passed to plugin B. Plugin B changes an attribute on the entity. Plugin C removes the entity from the database. After commit the transaction an exception is caused with optimistic | |
Support Attribute Conversion for Persistence The @Converter annotation and the Attribute Converter interface have two big benefits: 1) They make it possible to persist any as-yet-unsupported java types that do not implement java.io.Serializable. (If they do, it is possible to persist them automatically by turning on the option in | |
jakarta.persistence.metamodel.ManagedType.getAttribute(String) Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType Attribute getAttribute ( String name ) Return the attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: attribute with given | |
jakarta.persistence.metamodel.ManagedType.getDeclaredAttribute(String) Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType Attribute getDeclaredAttribute ( String name ) Return the attribute declared by the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns | |
jakarta.persistence.metamodel.SingularAttribute.isId() Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.SingularAttribute boolean isId() Is the attribute an id attribute ? This method returns true if the attribute is a simple id , an embedded id , or an attribute of an id class . Returns: boolean indicating whether the attribute is an id. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.IdentifiableType.getDeclaredVersion(Class) SingularAttribute getDeclaredVersion ( Class type ) Return the attribute that corresponds to the version attribute declared by the entity or mapped superclass. Parameters: type - the type of the represented declared version attribute Returns: declared version attribute . Throws | |
jakarta.persistence.metamodel.IdentifiableType.getId(Class) SingularAttribute getId ( Class type ) Return the attribute that corresponds to the id attribute of the entity or mapped superclass. Parameters: type - the type of the represented id attribute Returns: id attribute . Throws: IllegalArgumentException - if id attribute of the given type is not present in | |
jakarta.persistence.metamodel.IdentifiableType.getDeclaredId(Class) SingularAttribute getDeclaredId ( Class type ) Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass. Parameters: type - the type of the represented declared id attribute Returns: declared id attribute . Throws: IllegalArgumentException - if id attribute | |
jakarta.persistence.metamodel.IdentifiableType.getVersion(Class) SingularAttribute getVersion ( Class type ) Return the attribute that corresponds to the version attribute of the entity or mapped superclass. Parameters: type - the type of the represented version attribute Returns: version attribute . Throws: IllegalArgumentException - if version attribute | |
jakarta.persistence.metamodel.ManagedType.getSingularAttribute(String,Class) attribute of the managed type that corresponds to the specified name and Java type. Parameters: name - the name of the represented attribute type - the type of the represented attribute Returns: single-valued attribute with given name and type. Throws: IllegalArgumentException - if attribute | |
jakarta.persistence.metamodel.ManagedType.getDeclaredSingularAttribute(String,Class)-valued attribute declared by the managed type that corresponds to the specified name and Java type. Parameters: name - the name of the represented attribute type - the type of the represented attribute Returns: declared single-valued attribute of the given name and type. Throws | |
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 represented attribute valueType - the value type of the represented attribute Returns: MapAttribute | |
jakarta.persistence.metamodel.ManagedType.getDeclaredMap(String,Class,Class) ) Return the Map-valued attribute declared by 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 represented attribute valueType - the value type of the represented attribute Returns | |
jakarta.persistence.criteria.Path.get(SingularAttribute) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Path Path get ( SingularAttribute attribute ) Create a path corresponding to the referenced single-valued attribute . Parameters: attribute - single-valued attribute Returns: path corresponding to the referenced attribute . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Graph.addAttributeNodes(String...); String... attributeName ) Add one or more attribute nodes to the entity graph. If there is already an existing node for one of the given attribute names, that particular argument is ignored and has no effect. Parameters: attributeName - name of the attribute Throws: IllegalStateException | |
jakarta.persistence.Graph.addElementSubgraph(PluralAttribute); PluralAttribute attribute ) Add a node to the graph that corresponds to a collection element ... related managed types. Parameters: attribute - attribute Returns: subgraph for the element attribute ... . IllegalArgumentException - if the attribute's target type is not an entity. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.Graph.addTreatedElementSubgraph(PluralAttribute,Class) ( PluralAttribute attribute , Class type ) Add a node to the graph ... entity graphs that include related managed types. Parameters: attribute - attribute Returns: subgraph for the element attribute . Throws: IllegalStateException - if this EntityGraph has been statically | |
jakarta.persistence.Graph.addMapKeySubgraph(MapAttribute); MapAttribute attribute ) Add a node to the graph that corresponds to a map key ... . Parameters: attribute - attribute Returns: subgraph for the key attribute . Throws ... - if the attribute's target type is not a managed type entity. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.ManagedType.getSingularAttribute(String) getSingularAttribute ( String name ) Return the single-valued attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: single-valued attribute with the given name. Throws: IllegalArgumentException | |
jakarta.persistence.metamodel.ManagedType.getDeclaredSingularAttribute(String) getDeclaredSingularAttribute ( String name ) Return the single-valued attribute declared ... of the represented attribute Returns: declared single-valued attribute of the given name. Throws: IllegalArgumentException - if attribute of the given name is not declared in the managed type. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.ManagedType.getPluralAttributes() getPluralAttributes() Return all multi-valued attributes (Collection-, Set-, List-, and Map-valued attributes ) of the managed type. Returns empty set if the managed type has no multi-valued attributes . Returns: Collection-, Set-, List-, and Map-valued attributes . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.ManagedType.getDeclaredPluralAttributes() getDeclaredPluralAttributes() Return all multi-valued attributes (Collection-, Set-, List-, and Map-valued attributes ) declared by the managed type. Returns empty set if the managed type has no declared multivalued attributes . Returns: declared Collection-, Set-, List-, and Map-valued attributes . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.PersistenceUnitUtil.isLoaded(Object,String) persistent attribute of an entity belonging to the persistence unit. Parameters: attributeName - name of attribute whose load state is to be determined entity - entity instance containing the attribute Returns: false if entity's state has not been loaded or if the attribute state has not been loaded, else true. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.SingularAttribute.isVersion() Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.SingularAttribute boolean isVersion() Is the attribute a version attribute ? Returns: boolean indicating whether the attribute is a version attribute . Since: Jakarta Persistence (JPA) 1.0 |