ObjectDB Database Search
101-150 of 200 resultsjavax.persistence.MapKeyJoinColumn.name) The name of the foreign key column for the map key. The table in which it is found depends 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 | |
javax.persistence.metamodel.MappedSuperclassType: IdentifiableType , ManagedType , Type Instances of the type MappedSuperclassType represent mapped ... ) Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass ... to the version attribute declared by the entity or mapped superclass. Parameters: type - the type | |
AttributeNode.getKeySubgraphs() - JPA Method JPA Method in javax.persistence.AttributeNode Map getKeySubgraphs () Return the Map of subgraphs associated with this attribute node's map key. Return: Map of subgraphs associated with this attribute node's map key or empty Map if none have been defined Since: JPA 2.1 | |
javax.persistence.JoinColumn.name is for a OneToOne or ManyToOne mapping using a foreign key mapping strategy, the foreign key column ... mapping using a foreign key mapping strategy, the foreign key is in the table of the target entity. If the join is for a ManyToMany mapping or for a OneToOne or bidirectional ManyToOne/OneToMany mapping | |
javax.persistence.JoinColumn.table mapping using a foreign key mapping strategy, the name of the table of the source entity or embeddable. If the join is for a unidirectional OneToMany mapping using a foreign key mapping strategy, the name of the table of the target entity. If the join is for a ManyToMany mapping or for a OneToOne or | |
javax.persistence.metamodel.EntityType that corresponds to the id attribute declared by the entity or mapped superclass. Parameters: type ... attribute declared by the entity or mapped superclass. Parameters: type - the type of the represented ... to the id attribute of the entity or mapped superclass. Parameters: type - the type of the represented id | |
javax.persistence.metamodel.MapAttribute JPA Interface MapAttribute Type Parameters: - The type the represented Map belongs to - The type of the key of the represented Map - The type of the value of the represented Map Super Interfaces ... .util. Map -valued attributes. Since: JPA 2.0 Public Methods Class getKeyJavaType () Return the Java | |
javax.persistence.MapKeyEnumerated 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 relationship of type java.util. Map , in conjunction ... getProjects() {...} @OneToMany @MapKeyEnumerated(STRING) public Map getEmployees | |
javax.persistence.MapKeyTemporal 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. The MapKeyTemporal annotation can be applied to an element collection or relationship of type java.util. Map in conjunction with the ElementCollection | |
javax.persistence.OneToMany that is the owner of the relationship. When the collection is a java.util. Map , the cascade element and the orphanRemoval element apply to the map value. Example 1: One-to-Many association using generics // In ... using a foreign key mapping // In Customer class: @OneToMany(orphanRemoval=true) @JoinColumn(name | |
javax.persistence.SqlResultSetMapping the mapping of the result of a native SQL query or stored procedure. Example: Query q = em ... the result set mapping to constructors. Since: JPA 2.1 ColumnResult [] columns default {} Specifies the result set mapping to scalar values. Since: JPA 1.0 EntityResult [] entities default {} Specifies | |
javax.persistence.AssociationOverride.joinColumns default {} The join column(s) being mapped to the persistent attribute(s). The joinColumns elements must be specified if a foreign key mapping is used in the overriding of the mapping of the relationship. The joinColumns element must not be specified if a join table is used in the overriding of the mapping of the relationship. Since: JPA 1.0 | |
AttributeNode.getSubgraphs() - JPA Method JPA Method in javax.persistence.AttributeNode Map getSubgraphs () Return the Map of subgraphs associated with this attribute node. Return: Map of subgraphs associated with this attribute node or empty Map if none have been defined Since: JPA 2.1 | |
javax.persistence.EntityGraph addKeySubgraph ( Attribute attribute) Add a node to the graph that corresponds to a map key ... , Class type) Add a node to the graph that corresponds to a map key that is a managed type ... ;attributeName) Add a node to the graph that corresponds to a map key that is a managed type. This allows | |
javax.persistence.JoinTable the mapping of associations. It is applied to the owning side of an association. A join table is typically used in the mapping of many-to-many and unidirectional one-to-many associations. It may also be used to map bidirectional many-to-one/one-to-many associations, unidirectional many | |
javax.persistence.MapKeyJoinColumns composite map keys that reference entities. The MapKeyJoinColumns annotation groups ... will apply. Since: JPA 2.1 MapKeyJoinColumn [] value default null (Required) The map key join columns that are used to map to the entity that is the map key. Since: JPA 2.0 | |
javax.persistence.Persistence createEntityManagerFactory (String persistenceUnitName, Map properties) Create and return ... generateSchema (String persistenceUnitName, Map map ) Create database schemas and/or tables ... : persistenceUnitName - the name of the persistence unit map - properties for schema generation | |
javax.persistence.Subgraph addKeySubgraph ( Attribute attribute) Add a node to the graph that corresponds to a map key ... ( Attribute attribute, Class type) Add a node to the graph that corresponds to a map key ... to a map key that is a managed type. This allows for construction of multi-node entity graphs | |
javax.persistence.TemporalType.TemporalType Type used to indicate a specific mapping of java.util.Date or java.util.Calendar . Since: JPA 1.0 The JPA Persistable Types article explains how to use TemporalType . Enum Constants DATE Map as java.sql.Date Since: JPA 1.0 TIME Map as java.sql.Time Since: JPA 1.0 TIMESTAMP Map as java.sql | |
javax.persistence.criteria.Path how to use Path . Public Methods Expression get ( MapAttribute map ) Create a path corresponding to the referenced map -valued attribute. Parameters: map - map -valued attribute Return: expression | |
javax.persistence.AssociationOverride.joinTable @JoinTable The join table that maps the relationship. The joinTable element must be specified if a join table is used in the overriding of the mapping of the relationship. The joinTable element must not be specified if a foreign key mapping is used in the overriding of the relationship. Since: JPA 2.0 | |
javax.persistence.AttributeOverride.column JPA Annotation Attribute in javax.persistence.AttributeOverride Column column default null (Required) The column that is being mapped to the persistent attribute. The mapping type will remain the same as is defined in the embeddable class or mapped superclass. Since: JPA 1.0 | |
javax.persistence.ColumnResult with the SqlResultSetMapping annotation or ConstructorResult annotation to map a column of the SELECT list of a SQL ... (Optional) The Java type to which the column type is to be mapped . If the type element is not specified, the default JDBC type mapping for the column will be used. Since: JPA 2.1 | |
javax.persistence.EmbeddedId to a persistent field or property of an entity class or mapped superclass to denote a composite primary key ... . The AttributeOverride annotation may be used to override the column mappings declared within the embeddable ... to the relationship to the parent entity. Relationship mappings defined within an embedded id class are not supported | |
EntityManager.getProperties() - JPA Method JPA Method in javax.persistence.EntityManager Map getProperties () Get the properties and hints and associated values that are in effect for the entity manager. Changing the contents of the map does not change the configuration in effect. Return: map of properties and hints in effect for entity manager Since: JPA 2.0 | |
EntityManager.createStoredProcedureQuery(procedureName,resultSetMappings) - JPA Method of the result set mappings to be used in mapping result sets returned by the stored procedure ... or result set mapping of the given name does not exist (or the query execution will fail) Since: JPA 1.0 | |
javax.persistence.EntityResult with the SqlResultSetMapping annotation to map the SELECT clause of a SQL query to an entity result. If this annotation is used, the SQL statement should select all of the columns that are mapped to the entity ... . Since: JPA 1.0 FieldResult [] fields default {} Maps the columns specified in the SELECT list | |
javax.persistence.JoinColumn.referencedColumnName relationship mappings other than the cases described here, the referenced column is in the table of the target entity. When used with a unidirectional OneToMany foreign key mapping , the referenced column ... join definition. When used in a CollectionTable mapping , the referenced column is in the table | |
javax.persistence.MapKey.name of the persistent field or property of the associated entity that is used as the map key. Default: If the name element is not specified, the primary key of the associated entity is used as the map key. If the primary key is a composite primary key and is mapped as IdClass , an instance of the primary key class is used as the key. Since: JPA 1.0 | |
javax.persistence.MapKeyJoinColumns.value JPA Annotation Attribute in javax.persistence.MapKeyJoinColumns MapKeyJoinColumn [] value default null (Required) The map key join columns that are used to map to the entity that is the map key. Since: JPA 2.0 | |
javax.persistence.MapsId a ManyToOne or OneToOne relationship attribute that provides the mapping for an EmbeddedId primary key ... id; ... @MapsId("empid") // maps the empid attribute of embedded id @ManyToOne Employee emp ... within the composite key to which the relationship attribute corresponds. If not supplied, the relationship maps the entity's primary key. Since: JPA 2.0 | |
javax.persistence.PrimaryKeyJoinColumn.name key column of the primary table of the superclass ( JOINED mapping strategy); the same name as the primary key column of the primary table ( SecondaryTable mapping ); or the same name as the primary key column for the table for the referencing entity ( OneToOne mapping ). Since: JPA 1.0 | |
javax.persistence.PrimaryKeyJoinColumn.referencedColumnName to the same name as the primary key column of the primary table of the superclass ( JOINED mapping strategy); the same name as the primary key column of the primary table ( SecondaryTable mapping ); or the same name as the primary key column for the table for the referencing entity ( OneToOne mapping ). Since: JPA 1.0 | |
javax.persistence.AssociationOverrides JPA Annotation AssociationOverrides Target: TYPE, METHOD, FIELD Implemented Interfaces: Annotation Used to override mappings of multiple relationship properties or fields. Example: @MappedSuperclass ... AssociationOverride [] value default null (Required) The association override mappings that are to be applied to the relationship field or property . Since: JPA 1.0 | |
javax.persistence.AttributeOverrides JPA Annotation AttributeOverrides Target: TYPE, METHOD, FIELD Implemented Interfaces: Annotation Used to override mappings of multiple properties or fields. Example: @Embedded @AttributeOverrides ... (Required) One or more field or property mapping overrides. Since: JPA 1.0 | |
javax.persistence.Column JPA Annotation Column Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies the mapped column for a persistent property or field. If no Column annotation is specified, the default ... in addition to any constraint entailed by primary key mapping and to constraints specified | |
javax.persistence.ColumnResult.type JPA Annotation Attribute in javax.persistence.ColumnResult Class type default void.class (Optional) The Java type to which the column type is to be mapped . If the type element is not specified, the default JDBC type mapping for the column will be used. Since: JPA 2.1 | |
javax.persistence.ConstructorResult JPA Annotation ConstructorResult Implemented Interfaces: Annotation Used in conjunction with the SqlResultSetMapping annotation to map the SELECT clause of a SQL query to a constructor. Applies ... (Required) The mapping of columns in the SELECT list to the arguments of the intended constructor, in | |
javax.persistence.Converter with the Converter annotation or defined in the object/relational mapping descriptor as a converter ... to all mapped attributes of the specified target type for all entities in the persistence unit | |
javax.persistence.EntityListeners JPA Annotation EntityListeners Target: TYPE Implemented Interfaces: Annotation Specifies the callback listener classes to be used for an entity or mapped superclass. This annotation may be applied to an entity class or mapped superclass. Since: JPA 1.0 The JPA Lifecycle Events article explains | |
EntityManagerFactory.getProperties() - JPA Method JPA Method in javax.persistence.EntityManagerFactory Map getProperties () Get the properties and associated values that are in effect for the entity manager factory. Changing the contents of the map does not change the configuration in effect. Return: properties Throws: IllegalStateException - if the entity manager factory has been closed Since: JPA 2.0 | |
javax.persistence.JoinColumns JPA Annotation JoinColumns Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies the mapping for composite foreign keys. This annotation groups JoinColumn annotations for the same ... [] value default null The join columns that map the relationship. Since: JPA 1.0 | |
javax.persistence.ManyToMany is a java.util. Map , the cascade element applies to the map value. Defaults to no operations | |
JDOHelper.getPersistenceManagerFactory(props,pmfClassLoader) - JDO Static Method ( Map props, ClassLoader pmfClassLoader ) Get a PersistenceManagerFactory based on a Map and a class loader. This method delegates to the getPersistenceManagerFactory method that takes a Map of overrides and a Map of properties, passing null as the overrides | |
JDOHelper.getPersistenceManagerFactory(overrides,name,resourceLoader,pmfLoader) - JDO Static Method ( Map overrides, String name, ClassLoader ... .ConnectionFactory2Name", "javax.jdo.option. Mapping ", "javax.jdo. mapping .Catalog", "javax.jdo. mapping .Schema", "javax ... . Parameters: overrides - a Map containing properties that override properties defined in any resources | |
Query.executeWithMap(parameters) - JDO Method JDO Method in javax.jdo.Query Object executeWithMap ( Map parameters ) Execute ... the Map values. Each Map entry consists of a key which is the name of the parameter in the declareParameters method, and a value which is the value used in the execute method. The keys in the Map | |
Query.addSubquery(sub,variableDeclaration,candidateCollectionExpression,parameters) - JDO Method; Map parameters ) Add a subquery to this query. The Map version of the method treats the key of each map entry as the name of the parameter in the subquery, with or without the leading ... is the empty String for either the parameter or the value of the String[], or for any map key or value | |
javax.jdo.PersistenceManager Since: JDO 1.0 Object getUserObject (Object key) Get the value for the specified key from the map ... -value pair into the map of user objects. Since: JDO 2.0 void refresh (Object pc) Refresh ... removeUserObject (Object key) Remove the specified key and its value from the map of user objects | |
PersistenceManagerFactory.getMapping() - JDO Method JDO Method in javax.jdo.PersistenceManagerFactory String getMapping () Get the Mapping setting for this factory. This is used to find the object-datastore mapping file(s). Return: the Mapping setting. Since: JDO 1.0 | |
Query.setExtensions(extensions) - JDO Method JDO Method in javax.jdo.Query void setExtensions ( Map extensions ) Set multiple extensions, or use null to clear all extensions. Map keys and values are not standard. An implementation must ignore entries that are not recognized. Parameters: extensions - the map of extensions See Also: addExtension Since: JDO 2.0 |