ObjectDB Database Search

1-50 of 200 results

jakarta.persistence.Column

Jakarta Persistence (JPA) Annotation Type jakarta.persistence. Column Implemented Interfaces: Annotation Target: Method, Field Specifies the column mapped by the annotated persistent property or field. If no Column annotation is explicitly specified, the default values apply. Example 1: @ Column

jakarta.persistence.Column.secondPrecision

Jakarta Persistence (JPA) Method in jakarta.persistence. Column int secondPrecision (Optional) The number of decimal digits to use for storing fractional seconds in a SQL time or timestamp column . Applies only to columns of time or timestamp type. The default value -1 indicates that fractional

jakarta.persistence.AttributeOverride.column

Jakarta Persistence (JPA) Method in jakarta.persistence.AttributeOverride Column column (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: Jakarta Persistence (JPA) 1.0

jakarta.persistence.FieldResult.column

Jakarta Persistence (JPA) Method in jakarta.persistence.FieldResult String column Name of the column in the SELECT clause - i.e., column aliases, if applicable. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Column.unique

Jakarta Persistence (JPA) Method in jakarta.persistence. Column boolean unique (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

jakarta.persistence.Column.options

Jakarta Persistence (JPA) Method in jakarta.persistence. Column String options (Optional) A SQL fragment appended to the generated DDL which declares this column . May not be used in conjunction with Column .columnDefinition . The specified DDL must be written in the native SQL dialect of the target

jakarta.persistence.Column.table

Jakarta Persistence (JPA) Method in jakarta.persistence. Column String table (Optional) The name of the table that contains the column . If absent the column is assumed to be in the primary table. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Column.length

Jakarta Persistence (JPA) Method in jakarta.persistence. Column int length (Optional) The column length. Applies only to columns whose type is parameterized by length, for example, varchar or varbinary types. Default: 255 Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Column.precision

Jakarta Persistence (JPA) Method in jakarta.persistence. Column int precision (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

jakarta.persistence.Column.columnDefinition

Jakarta Persistence (JPA) Method in jakarta.persistence. Column String columnDefinition (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. The specified DDL must be written in the native SQL dialect

jakarta.persistence.Column.scale

Jakarta Persistence (JPA) Method in jakarta.persistence. Column int scale (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 scale

jakarta.persistence.ConstructorResult.columns

Jakarta Persistence (JPA) Method in jakarta.persistence.ConstructorResult ColumnResult[] columns (Required) The mapping of columns in the SELECT list to the arguments of the intended constructor, in order. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Column.name

Jakarta Persistence (JPA) Method in jakarta.persistence. Column String name (Optional) The name of the column . Defaults to the property or field name. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Column.nullable

Jakarta Persistence (JPA) Method in jakarta.persistence. Column boolean nullable (Optional) Whether the database column is nullable. Default: true Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Column.insertable

Jakarta Persistence (JPA) Method in jakarta.persistence. Column boolean insertable (Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider. Default: true Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Column.updatable

Jakarta Persistence (JPA) Method in jakarta.persistence. Column boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default: true Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Column.check

Jakarta Persistence (JPA) Method in jakarta.persistence. Column CheckConstraint[] check (Optional) Check constraints to be applied to the column . These are only used if table generation is in effect. Default: {} Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.Column.comment

Jakarta Persistence (JPA) Method in jakarta.persistence. Column String comment (Optional) A comment to be applied to the column . This is only used if table generation is in effect. Default: "" Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.NamedNativeQuery.columns

Jakarta Persistence (JPA) Method in jakarta.persistence.NamedNativeQuery ColumnResult[] columns Specifies the result set mapping to scalar values. May not be used in combination with NamedNativeQuery.resultSetMapping . Default: {} Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.SqlResultSetMapping.columns

Jakarta Persistence (JPA) Method in jakarta.persistence.SqlResultSetMapping ColumnResult[] columns Specifies the result set mapping to scalar values. Default: {} Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.JoinColumn

: Annotation Target: Method, Field Specifies a column for joining an entity association or element collection. If the JoinColumn annotation itself is defaulted, a single join column is assumed ... Customer class @OneToMany @JoinColumn(name = "CUST_ID") // join column is in the table for Order

Comparison in JPQL and Criteria API

each comparison operator. One column presents a comparison of NULL value with a non NULL value. The other column presents a comparison of two NULL values: Operators One NULL operand Two NULL operands

Database Explorer

a single object, every column represents a persistent field, and the content of a cell is the value ... columns in Table viewer windows. The [Tree View] determines which fields are displayed as child nodes

jakarta.persistence.MapKeyJoinColumn

key join column is in the collection table, join table, or table of the target entity that is used to represent the map. If no MapKeyJoinColumn annotation is specified, a single join column is assumed ... = "STORE")) @ Column (name = "COPIES_IN_STOCK") @MapKeyJoinColumn(name = "MOVIE", referencedColumnName

jakarta.persistence.CollectionTable

, the columns of the collection table that correspond to the embeddable class or basic type are derived ... of the Column annotation. In the case of a basic type, the column name is derived from the name of the collection-valued field or property. In the case of an embeddable class, the column names are derived

jakarta.persistence.MapKeyColumn

: Annotation Target: Method, Field Specifies the mapping for the key column of a map whose map key ... public class Item { @Id int id; ... @ElementCollection @MapKeyColumn(name = "IMAGE_NAME") @ Column (name ... ) The name of the map key column . The table in which it is found depends upon the context. If the map key

jakarta.persistence.AttributeOverride

of the respective embedded field or property. If AttributeOverride is not specified, the column is mapped ... (String address) { ... } } @Entity @AttributeOverride(name = "address", column = @ Column (name = "ADDR ... Integer id; protected String name; @AttributeOverride(name = "state", column = @ Column (name = "ADDR_STATE

jakarta.persistence.PrimaryKeyJoinColumn

Interfaces: Annotation Target: Type, Method, Field Specifies a primary key column that is used as ... , the foreign key columns are assumed to have the same names as the primary key columns of the primary ... of the primary key column of the current table. Defaults to the same name as the primary key column

jakarta.persistence.OrderColumn

: Annotation Target: Method, Field Specifies a column that is used to maintain the persistent order ... that is to be ordered. The order column is not visible as part of the state of the entity or embeddable class ... column must be of integral type. The persistence provider maintains a contiguous (non-sparse

jakarta.persistence.SecondaryTable

properties of the entity are mapped to the primary table. If no primary key join columns are specified, the join columns are assumed to reference the primary key columns of the primary table, and have the same names and types as the referenced primary key columns of the primary table. Example 1: Single

jakarta.persistence.ColumnResult

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 alias, if applicable. Scalar result types ... = { @EntityResult( entityClass = com.acme.Order.class, fields = { @FieldResult(name = "id", column = "order_id

jakarta.persistence.DiscriminatorColumn

Interfaces: Annotation Target: Type Specifies the discriminator column for the SINGLE_TABLE and JOINED inheritance mapping strategies . The mapping strategy and discriminator column are only specified ... is applied. If the DiscriminatorColumn annotation is missing, and a discriminator column is required

jakarta.persistence.Index

is given by the following simple BNF: column _list ::= index_ column [, index_ column ]* index_ column ::= column _name [ASC | DESC] If neither ASC nor DESC is not specified, ASC , that is, ascending order ... : "" Since: Jakarta Persistence (JPA) 1.0 String columnList (Required) The columns included in the index, in order

jakarta.persistence.FieldResult

: Annotation Used in conjunction with the EntityResult annotation to map columns specified in ... .Order.class, fields = { @FieldResult(name = "id", column = "order_id"), @FieldResult(name = "quantity", column = "order_quantity"), @FieldResult(name = "item", column = "order_item

jakarta.persistence.ConstructorResult

, passing in as arguments values from the specified columns . All columns corresponding to arguments of the intended constructor must be specified using the columns element of the ConstructorResult ... , columns = { @ColumnResult(name = "id"), @ColumnResult(name = "name"), @ColumnResult(name

jakarta.persistence.Entity

type maps to a single column in one of the tables mapped by the entity, a field of property of embeddable type has nested mappings to multiple columns in one of the tables mapped by the entity ... to a foreign key column or columns in one of the tables mapped by the entity

jakarta.persistence.SqlResultSetMapping

Interfaces: Annotation Target: Type Specifies a mapping of the columns of a result set of a native SQL ... = { @FieldResult(name = "id", column = "order_id"), @FieldResult(name = "quantity", column = "order_quantity"), @FieldResult(name = "item", column = "order_item") }) }, columns = { @ColumnResult(name

jakarta.persistence.EntityResult

should select all the columns that are mapped to the entity object. This should include foreign key columns to related entities. The results obtained when insufficient data is available are undefined ... [] fields Maps the columns specified in the SELECT list of the query to the properties or fields

jakarta.persistence.AttributeConverter

: - a basic type representing the type of the database column - the target type, that is, the type ... attribute value to be converted Returns: the converted data to be stored in the database column ... the database column into the value to be stored in the entity attribute. Note

jakarta.persistence.OneToOne

maps a unique foreign key relationship, either a foreign key column or columns with a unique constraint ... the foreign key column or columns . Alternatively, an optional OneToOne association is sometimes mapped ... property. Example 1: One-to-one association that maps a foreign key column // On Customer class: @OneToOne

jakarta.persistence.JoinColumn.referencedColumnName

(Optional) The name of the column referenced by this foreign key column . When used with entity 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

jakarta.persistence.Id

primitive wrapper type; String ; UUID ; Date ; Date ; BigDecimal ; 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 property

jakarta.persistence.JoinTable

Persistence (JPA) 1.0 JoinColumn[] joinColumns (Optional) The foreign key columns of the join table ... ) 1.0 JoinColumn[] inverseJoinColumns (Optional) The foreign key columns of the join table ... key constraint for the columns corresponding to the joinColumns element when table generation is in

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 ... represented by a row is determined by the value held by a discriminator column . Since: Jakarta Persistence

jakarta.persistence.Embedded

@AttributeOverrides({ @AttributeOverride(name = "startDate", column = @ Column ("EMP_START")), @AttributeOverride(name = "endDate", column = @ Column ("EMP_END"))}) public EmploymentPeriod getEmploymentPeriod

jakarta.persistence.EmbeddedId

to override the column mappings declared within the embeddable class. The MapsId annotation ... column name for "name" attribute is overridden @AttributeOverride(name = "name", column = @ Column (name

jakarta.persistence.DiscriminatorValue

Interfaces: Annotation Target: Type Specifies the value of the discriminator column for the annotated ... . If the DiscriminatorValue annotation is not specified, and a discriminator column is used, a provider ... and the discriminator column are only specified for the root of an entity class hierarchy or subhierarchy in

jakarta.persistence.Basic

to a single database column . The Basic annotation may be applied to a property or instance variable whose type ... . The database column mapped by the persistent field or property may be specified using the Column ... and is disregarded for primitive types; it may be used in schema generation to infer that the mapped column

jakarta.persistence.AttributeOverrides

fields. Example: @Embedded @AttributeOverrides({ @AttributeOverride(name = "startDate", column = @ Column (name = "EMP_START")), @AttributeOverride(name="endDate", column = @ Column (name = "EMP_END

Step 6: Design a BIRT Report Table

) layout. Set the column number to 2 , number of details to 1 , select the data set (e.g. Points by X ) in the third field and click OK . Fill the table with data by dragging the x and y columns from