Internal Website Search
101-150 of 200 resultsjavax.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.AssociationOverride.joinTable JPA Annotation Attribute in javax.persistence.AssociationOverride JoinTable joinTable default @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 | |
javax.persistence.JoinTable.indexes JPA Annotation Attribute in javax.persistence.JoinTable Index [] indexes default {} (Optional) Indexes for the table . These are only used if table generation is in effect. Since: JPA 2.1 | |
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.JoinTable.name JPA Annotation Attribute in javax.persistence.JoinTable String name default "" (Optional) The name of the join table . Defaults to the concatenated names of the two associated primary entity tables , separated by an underscore. Since: JPA 1.0 | |
javax.persistence.MapKeyJoinColumn.referencedColumnName is in the table of the target entity. Default (only applies if single join column is being used.) The same name as the primary key column of the referenced table Since: JPA 2.0 | |
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.CollectionTable.indexes JPA Annotation Attribute in javax.persistence.CollectionTable Index [] indexes default {} (Optional) Indexes for the table . These are only used if table generation is in effect. Since: JPA 2.1 | |
javax.persistence.CollectionTable.uniqueConstraints JPA Annotation Attribute in javax.persistence.CollectionTable UniqueConstraint [] uniqueConstraints default {} (Optional) Unique constraints that are to be placed on the table . These are only used if table generation is in effect. Since: JPA 2.0 | |
javax.persistence.PrimaryKeyJoinColumns: ValuedCustomer subclass @Entity @ Table (name="VCUST") @DiscriminatorValue("VCUST") @PrimaryKeyJoinColumns ... when table generation is in effect. If both this element and the foreignKey element of any | |
javax.persistence.MapKeyColumn.unique at the table level and is useful for when the unique key constraint corresponds to only a single column. This constraint applies in addition to any constraint entailed by primary key mapping and to constraints specified at the table level. Since: JPA 2.0 | |
javax.persistence.SecondaryTable.uniqueConstraints JPA Annotation Attribute in javax.persistence.SecondaryTable UniqueConstraint [] uniqueConstraints default {} (Optional) Unique constraints that are to be placed on the table . These are typically only used if table generation is in effect. These constraints apply in addition to any constraints | |
javax.persistence.SecondaryTable.indexes JPA Annotation Attribute in javax.persistence.SecondaryTable Index [] indexes default {} (Optional) Indexes for the table . These are only used if table generation is in effect. Since: JPA 2.1 | |
javax.persistence.SecondaryTable.pkJoinColumns JPA Annotation Attribute in javax.persistence.SecondaryTable PrimaryKeyJoinColumn [] pkJoinColumns default {} (Optional) The columns that are used to join with the primary table . Defaults to the column(s) of the same name(s) as the primary key column(s) in the primary table . Since: JPA 1.0 | |
javax.persistence.TableGenerator.indexes JPA Annotation Attribute in javax.persistence.TableGenerator Index [] indexes default {} (Optional) Indexes for the table . These are only used if table generation is in effect. Note that it is not necessary to specify an index for a primary key, as the primary key index will be created automatically. Since: JPA 2.1 | |
javax.persistence.TableGenerator.uniqueConstraints JPA Annotation Attribute in javax.persistence.TableGenerator UniqueConstraint [] uniqueConstraints default {} (Optional) Unique constraints that are to be placed on the table . These are only used if table generation is in effect. These constraints apply in addition to primary key constraints. Defaults to no additional constraints. Since: JPA 1.0 | |
javax.persistence.Column.unique JPA Annotation Attribute in javax.persistence.Column boolean unique default false (Optional) Whether the column is a unique key. This is a shortcut for the UniqueConstraint annotation at the table ... . This constraint applies in addition to any constraint entailed by primary key mapping and to constraints specified at the table level. Since: JPA 1.0 | |
javax.persistence.UniqueConstraint JPA Annotation UniqueConstraint Implemented Interfaces: Annotation Specifies that a unique constraint is to be included in the generated DDL for a primary or secondary table . Example: @Entity @ Table ( name="EMPLOYEE", uniqueConstraints= @UniqueConstraint(columnNames={"EMP_ID", "EMP_NAME"}) ) public | |
javax.persistence.Inheritance if no inheritance type is specified for an entity class hierarchy, the SINGLE_ TABLE mapping strategy is used ... strategy default SINGLE_ TABLE The strategy to be used for the entity inheritance hierarchy. Since: JPA 1.0 | |
javax.persistence.GenerationType for the entity using a database sequence. Since: JPA 1.0 TABLE Indicates that the persistence provider must assign primary keys for the entity using an underlying database table to ensure uniqueness | |
javax.persistence.DiscriminatorValue the hierarchy. Example: @Entity @ Table (name="CUST") @Inheritance(strategy=SINGLE_ TABLE ) @DiscriminatorColumn | |
javax.persistence.ElementCollection JPA Annotation ElementCollection Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies a collection of instances of a basic type or embeddable class. Must be specified if the collection is to be mapped by means of a collection table . Example: @Entity public class Person { @Id | |
javax.persistence.AssociationOverride.foreignKey JPA Annotation Attribute in javax.persistence.AssociationOverride ForeignKey foreignKey default @ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign key constraint for the columns corresponding to the joinColumns element when table generation is in effect | |
javax.persistence.AssociationOverride.joinColumns. 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 | |
javax.persistence.JoinTable.foreignKey JPA Annotation Attribute in javax.persistence.JoinTable ForeignKey foreignKey default @ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign key constraint for the columns corresponding to the joinColumns element when table generation is in effect | |
javax.persistence.JoinTable.inverseForeignKey JPA Annotation Attribute in javax.persistence.JoinTable ForeignKey inverseForeignKey default @ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign key constraint for the columns corresponding to the inverseJoinColumns element when table generation is in | |
javax.persistence.JoinColumns.foreignKey JPA Annotation Attribute in javax.persistence.JoinColumns ForeignKey foreignKey default @ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign key constraint when table generation is in effect. If both this element and the foreignKey element of any | |
javax.persistence.TableGenerator.pkColumnName JPA Annotation Attribute in javax.persistence.TableGenerator String pkColumnName default "" (Optional) Name of the primary key column in the table . Defaults to a provider-chosen name. Since: JPA 1.0 | |
javax.persistence.TableGenerator.catalog JPA Annotation Attribute in javax.persistence.TableGenerator String catalog default "" (Optional) The catalog of the table . Defaults to the default catalog. Since: JPA 1.0 | |
javax.persistence.TableGenerator.schema JPA Annotation Attribute in javax.persistence.TableGenerator String schema default "" (Optional) The schema of the table . Defaults to the default schema for user. Since: JPA 1.0 | |
javax.persistence.JoinTable.schema JPA Annotation Attribute in javax.persistence.JoinTable String schema default "" (Optional) The schema of the table . Defaults to the default schema for user. Since: JPA 1.0 | |
javax.persistence.JoinTable.catalog JPA Annotation Attribute in javax.persistence.JoinTable String catalog default "" (Optional) The catalog of the table . Defaults to the default catalog. Since: JPA 1.0 | |
javax.persistence.MapKeyJoinColumn.unique JPA Annotation Attribute in javax.persistence.MapKeyJoinColumn boolean unique default false (Optional) Whether the property is a unique key. This is a shortcut for the UniqueConstraint annotation at the table level and is useful for when the unique key constraint is only a single field. Since: JPA 2.0 | |
javax.persistence.CollectionTable.schema JPA Annotation Attribute in javax.persistence.CollectionTable String schema default "" (Optional) The schema of the table . If not specified, the default schema for the user is used. Since: JPA 2.0 | |
javax.persistence.CollectionTable.foreignKey JPA Annotation Attribute in javax.persistence.CollectionTable ForeignKey foreignKey default @ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign key constraint for the columns corresponding to the joinColumns element when table generation is in effect | |
javax.persistence.OneToMany="CUST_ID") // join column is in table for Order public Set getOrders() {return orders;} Since: JPA 1 | |
javax.persistence.CollectionTable.catalog JPA Annotation Attribute in javax.persistence.CollectionTable String catalog default "" (Optional) The catalog of the table . If not specified, the default catalog is used. Since: JPA 2.0 | |
javax.persistence.CollectionTable.name JPA Annotation Attribute in javax.persistence.CollectionTable String name default "" (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: JPA 2.0 | |
javax.persistence.PrimaryKeyJoinColumns.foreignKey JPA Annotation Attribute in javax.persistence.PrimaryKeyJoinColumns ForeignKey foreignKey default @ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign key constraint when table generation is in effect. If both this element and the foreignKey element | |
javax.persistence.PrimaryKeyJoinColumn.foreignKey JPA Annotation Attribute in javax.persistence.PrimaryKeyJoinColumn ForeignKey foreignKey default @ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign key constraint for the primary key join column when table generation is in effect. If this element is not | |
javax.persistence.SecondaryTable.foreignKey JPA Annotation Attribute in javax.persistence.SecondaryTable ForeignKey foreignKey default @ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign key constraint for the columns corresponding to the pkJoinColumns element when table generation is in effect | |
javax.persistence.SecondaryTable.catalog JPA Annotation Attribute in javax.persistence.SecondaryTable String catalog default "" (Optional) The catalog of the table . Defaults to the default catalog. Since: JPA 1.0 | |
javax.persistence.SecondaryTable.schema JPA Annotation Attribute in javax.persistence.SecondaryTable String schema default "" (Optional) The schema of the table . Defaults to the default schema for user. Since: JPA 1.0 | |
javax.jdo.annotations.Persistent. Since: JDO 2.1 String table default "" Table to use for persisting this member. Since: JDO 2.1 Class[] types | |
javax.jdo.spi.JDOPermission. The following table provides a summary description of what each named permission allows, and discusses | |
javax.jdo.annotations.PrimaryKey of a secondary table . Corresponds to the xml element "primary-key". Since: JDO 2.1 Public Annotation | |
javax.jdo.annotations.Joins.value JDO Annotation Attribute in javax.jdo.annotations.Joins Join [] value default null The join definitions used for the mapping of this type. Joins for secondary tables are usually defined at the type level and not the field or property level. This allows multiple fields and properties to share | |
javax.jdo.annotations.Joins JDO Annotation Joins Target: ElementType.TYPE Implemented Interfaces: Annotation Annotation for a group of joins. Since: JDO 2.1 Public Annotation Attributes Join [] value default null The join definitions used for the mapping of this type. Joins for secondary tables are usually defined | |
javax.jdo.annotations.Key.serialized JDO Annotation Attribute in javax.jdo.annotations.Key String serialized default "" Whether the key is to be stored serialized (into a single column of a join table ). Since: JDO 2.1 | |
javax.jdo.annotations.Value.serialized JDO Annotation Attribute in javax.jdo.annotations.Value String serialized default "" Whether the value is to be stored serialized (into a single column of a join table ). Since: JDO 2.1 |