ObjectDB Database Search
51-100 of 200 resultsAnnotationAttrRef jakarta.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 ... or for a OneToMany entity relationship using a join table, the foreign key column is in a join | |
AnnotationAttrRef jakarta.persistence.CollectionTable.joinColumns {} (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 ... of the referenced primary key column .) However, if there is more than one join column , a JoinColumn | |
AnnotationRef jakarta.persistence.OneToOne, either a foreign key column or columns with a unique constraint, or a relationship via a shared primary key. The JoinColumn annotation may be used to map the foreign key column or columns . Alternatively ... a foreign key column {@snippet : // On Customer class: Since: JPA 1.0 Public Annotation Attributes | |
InterfaceRef jakarta.persistence.AttributeConverter of the entity attribute - a basic type representing the type of the database column Interface implemented by ... the database column Since: JPA 1.0 X convertToEntityAttribute (Y dbData) Converts the data stored in the database column into the value to be stored in the entity attribute. Note | |
AnnotationRef jakarta.persistence.TableGenerator. Since: JPA 2.1 int initialValue default 0 (Optional) The initial value to be used to initialize the column ... of the primary key column in the table. Defaults to a provider-chosen name. Since: JPA 1.0 String ... value to store in the primary key column of the generator table Since: JPA 1.0 String schema default | |
AnnotationRef jakarta.persistence.JoinTable for the columns corresponding to the joinColumns element when table generation is in effect ... ) Used to specify or control the generation of a foreign key constraint for the columns corresponding ... {} (Optional) The foreign key columns of the join table which reference the primary table | |
AnnotationAttrRef jakarta.persistence.MapKeyColumn.name) The name of the map key column . The table in which it is found depends upon the context. If the map key is for an element collection, the map key column is in the collection table for the map value ... a join table, the map key column is in a join table. If the map key is for a OneToMany entity | |
AnnotationAttrRef jakarta.persistence.PrimaryKeyJoinColumn.referencedColumnName default "" (Optional) The name of the primary key column of the table being joined to. Defaults 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 | |
AnnotationRef jakarta.persistence.Basic of mapping of a persistent field or property to a single database column . The Basic annotation ... , the default values of the Basic annotation apply. The database column mapped by the persistent field or property may be specified using the Column annotation. Example 1: {@snippet : Since: JPA 1.0 | |
AnnotationRef jakarta.persistence.AttributeOverride. If AttributeOverride is not specified, the column is mapped the same as in the original mapping. Example 1 ... Annotation Attributes Column column default null (Required) The column that is being mapped | |
AnnotationRef jakarta.persistence.FieldResult with the EntityResult annotation to map columns specified in the SELECT list of a SQL query to the properties or ... = { See Also: EntityResult SqlResultSetMapping Since: JPA 1.0 Public Annotation Attributes String column default null Name of the column in the SELECT clause - i.e., column aliases, if applicable. Since: JPA 1.0 String | |
AnnotationAttrRef jakarta.persistence.MapKeyJoinColumn.table) The name of the table that contains the foreign key column . 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 ... a join table, the foreign key column is in a join table. If the join is for a OneToMany entity | |
AnnotationRef jakarta.persistence.Id.util.Date ; java.sql.Date ; java.math.BigDecimal ; java.math.BigInteger . The mapped column for the primary key of the entity is assumed to be the primary key of the primary table. If no Column annotation is specified, the primary key column name is assumed to be the name of the primary key | |
AnnotationRef jakarta.persistence.Entity mapped by the entity, a field of property of plain has nested mappings to multiple columns in ... usually maps to a plain or columns in one of the tables mapped by the entity, a plain association usually ... association usually maps to a foreign key column or columns in one of the tables mapped by the associated | |
AnnotationAttrRef jakarta.persistence.PrimaryKeyJoinColumn.name "" (Optional) The name of the primary key column of the current table. Defaults 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 | |
AnnotationRef jakarta.persistence.DiscriminatorValue the value of the discriminator column for the annotated entity type. The DiscriminatorValue annotation ... , and a discriminator column is used, a provider-specific function is used to generate a value ... is the entity name. The inheritance strategy and the discriminator column are only specified for the root | |
AnnotationRef jakarta.persistence.AssociationOverride to override the mapping of the join table and/or its join columns . Example 1: Overriding ... key constraint for the columns corresponding to the joinColumns element when table generation is in ... [] joinColumns default {} The join column (s) being mapped to the persistent attribute(s). The joinColumns | |
AttributeConverter.convertToEntityAttribute(dbData) - JPA Method dbData ) Converts the data stored in the database column into the value to be stored in ... dbData type for the corresponding column for use by the JDBC driver: i.e., persistence providers are not expected to do such type conversion. Parameters: dbData - the data from the database column | |
AnnotationRef jakarta.persistence.ManyToOne that is the owner of the relationship. A ManyToOne association usually maps a foreign key column or columns ... generation to infer that the mapped foreign key column is not null . Since: JPA 1.0 Class targetEntity | |
AnnotationAttrRef jakarta.persistence.SecondaryTable.pkJoinColumns JPA Annotation Attribute in jakarta.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 | |
AnnotationRef jakarta.persistence.ForeignKey and delete actions it determines most appropriate for the join column (s) to which the foreign key ... actions it determines most appropriate for the join column or columns to which the foreign key | |
EnumRef jakarta.persistence.InheritanceType, with only the columns mapped to persistent fields and properties declared by the entity class. Each class in the hierarchy has its own table, but that table does not contain columns mapped to inherited fields or ... row. No discriminator column is necessary. Since: JPA 1.0 Public Static Enum Methods: Method | |
AnnotationAttrRef jakarta.persistence.EntityResult.discriminatorColumn JPA Annotation Attribute in jakarta.persistence.EntityResult String discriminatorColumn default "" Specifies the column name (or alias) of the column in the SELECT list that is used to determine the type of the entity instance. Since: JPA 1.0 | |
AnnotationRef jakarta.persistence.NamedNativeQuery to constructors. May not be used in combination with resultSetMapping . Since: JPA 3.2 ColumnResult [] columns ... of the native SQL query. Alternatively, the elements entities , classes , and columns may be used | |
AnnotationRef jakarta.persistence.OrderBy must correspond to columns for which comparison operators are supported. The dot ( . ) notation ... when an order column is specified using OrderColumn . Example 1: {@snippet : See Also: OrderColumn | |
AnnotationAttrRef jakarta.persistence.MapKeyJoinColumn.columnDefinition JPA Annotation Attribute in jakarta.persistence.MapKeyJoinColumn String columnDefinition default "" (Optional) The SQL fragment that is used when generating the DDL for the column . Defaults to SQL generated by the provider for the column . Since: JPA 2.0 | |
AnnotationAttrRef jakarta.persistence.MapKeyColumn.columnDefinition JPA Annotation Attribute in jakarta.persistence.MapKeyColumn String columnDefinition default "" (Optional) The SQL fragment that is used when generating the DDL for the column . Defaults to the generated SQL to create a column of the inferred type. Since: JPA 2.0 | |
AnnotationRef jakarta.persistence.CheckConstraint JPA Annotation CheckConstraint Implemented Interfaces: Annotation Used to specify a SQL check constraint on a column or table when schema generation is in effect. See Also: Table.check () Column .check () Since: JPA 3.2 Public Annotation Attributes String constraint default null (Required | |
AnnotationAttrRef jakarta.persistence.MapKeyColumn.scale JPA Annotation Attribute in jakarta.persistence.MapKeyColumn int scale default 0 (Optional) The scale for a column of SQL type decimal or numeric , or of similar database-native type. Applies only to columns of exact numeric type. The default value 0 indicates that a provider-determined precision should be inferred. Since: JPA 2.0 | |
AnnotationRef jakarta.persistence.OneToMany of the relationship. A OneToMany association usually maps a foreign key column or columns in the table | |
AnnotationAttrRef jakarta.persistence.MapKeyColumn.precision JPA Annotation Attribute in jakarta.persistence.MapKeyColumn int precision default 0 (Optional) The precision for a column of SQL type decimal or numeric , or of similar database-native type. Applies only to columns of exact numeric type. The default value 0 indicates that a provider-determined precision should be inferred. Since: JPA 2.0 | |
AnnotationAttrRef jakarta.persistence.MapKeyColumn.length JPA Annotation Attribute in jakarta.persistence.MapKeyColumn int length default 255 (Optional) The column length. Applies only to columns whose type is parameterized by length, for example, varchar or varbinary types. Since: JPA 2.0 | |
AnnotationAttrRef jakarta.persistence.MapKeyColumn.unique JPA Annotation Attribute in jakarta.persistence.MapKeyColumn boolean unique default false (Optional) Whether the column 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 corresponds to only a single column | |
AnnotationAttrRef jakarta.persistence.PrimaryKeyJoinColumn.columnDefinition JPA Annotation Attribute in jakarta.persistence.PrimaryKeyJoinColumn String columnDefinition default "" (Optional) The SQL fragment that is used when generating the DDL for the column . This should not be specified for a OneToOne primary key association. Defaults to the generated SQL to create a column of the inferred type. Since: JPA 1.0 | |
InterfaceRef jakarta.persistence.EntityManager of type Object if there is only one column in the select list.) Column values are returned in | |
AnnotationAttrRef jakarta.persistence.ColumnResult.type JPA Annotation Attribute in jakarta.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 is used. Since: JPA 2.1 | |
AnnotationAttrRef jakarta.persistence.OrderColumn.columnDefinition JPA Annotation Attribute in jakarta.persistence.OrderColumn String columnDefinition default "" (Optional) The SQL fragment that is used when generating the DDL for the column . Defaults to generated SQL to create a column of the inferred type. Since: JPA 2.0 | |
AnnotationAttrRef jakarta.persistence.ForeignKey.value will generate a constraint whose update and delete actions it determines most appropriate for the join column or columns to which the foreign key annotation is applied. ConstraintMode.NO_CONSTRAINT specifies | |
AnnotationAttrRef jakarta.persistence.DiscriminatorColumn.columnDefinition JPA Annotation Attribute in jakarta.persistence.DiscriminatorColumn String columnDefinition default "" (Optional) The SQL fragment that is used when generating the DDL for the discriminator column . Defaults to the provider-generated SQL to create a column of the specified discriminator type. Since: JPA 1.0 | |
AnnotationRef jakarta.persistence.SqlResultSetMapping JPA Annotation SqlResultSetMapping Target: TYPE Implemented Interfaces: Annotation Specifies a mapping of the columns of a result set of a native SQL query or stored procedure. Example: {@snippet ... ColumnResult [] columns default {} Specifies the result set mapping to scalar values. Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.JoinColumn.table JPA Annotation Attribute in jakarta.persistence.JoinColumn String table default "" (Optional) The name of the table that contains the column . If a table is not specified, the column is assumed to be in the primary table of the applicable entity. Default: If the join is for a OneToOne or ManyToOne | |
AnnotationAttrRef jakarta.persistence.JoinColumn.columnDefinition JPA Annotation Attribute in jakarta.persistence.JoinColumn String columnDefinition default "" (Optional) The SQL fragment that is used when generating the DDL for the column . Defaults to the generated SQL for the column . Since: JPA 1.0 | |
EnumConstRef jakarta.persistence.InheritanceType.JOINED JPA Enum Constant in jakarta.persistence.InheritanceType JOINED A table for each abstract or concrete entity class, with only the columns mapped to persistent fields and properties declared by the entity class. Each class in the hierarchy has its own table, but that table does not contain columns | |
AnnotationAttrRef jakarta.persistence.Index.columnList JPA Annotation Attribute in jakarta.persistence.Index String columnList default null (Required) The columns included in the index, in order, following the BNF rule column _list given above. Since: JPA 2.1 | |
InterfaceRef jakarta.persistence.criteria.CriteriaUpdate using bulk update operations must manually update the value of the version column , if desired, and/or manually validate the value of the version column . The persistence context is not automatically | |
EntityManager.createNativeQuery(sqlString) - JPA Method if there is only one column in the select list.) Column values are returned in the order of their occurrence in | |
AnnotationAttrRef jakarta.persistence.DiscriminatorValue.value JPA Annotation Attribute in jakarta.persistence.DiscriminatorValue String value default null (Optional) The value that indicates that the row is an entity of the annotated entity type. If the DiscriminatorValue annotation is not specified and a discriminator column is used, a provider-specific | |
AnnotationAttrRef jakarta.persistence.EntityResult.fields JPA Annotation Attribute in jakarta.persistence.EntityResult FieldResult [] fields default {} Maps the columns specified in the SELECT list of the query to the properties or fields of the entity class. Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.AssociationOverride.foreignKey JPA Annotation Attribute in jakarta.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 | |
AnnotationAttrRef jakarta.persistence.NamedNativeQuery.resultSetMapping , and columns may be used to specify a result set mapping. These elements may not be used in conjunction with resultSetMapping . Since: JPA 1.0 |