ObjectDB Database Search

1-50 of 200 results

jakarta.persistence.Table

Jakarta Persistence (JPA) Annotation Type jakarta.persistence. Table Implemented Interfaces: Annotation Target: Type Specifies the primary table mapped by the annotated entity type. Additional tables may be specified using SecondaryTable or SecondaryTables annotation. If no Table annotation

jakarta.persistence.MapKeyJoinColumn.table

Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyJoinColumn String table (Optional) 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

jakarta.persistence.JoinColumn.table

Jakarta Persistence (JPA) Method in jakarta.persistence.JoinColumn String table (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

jakarta.persistence.MapKeyColumn.table

Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyColumn String table (Optional) The name of the table that contains the column. Defaults: If the map key is for an element collection, the name of the collection table for the map value. If the map key is for a OneToMany or ManyToMany

Step 6: Design a BIRT Report Table

In this final step we will add a simple table to the report: Open the [Insert Table ] dialog box by dragging a Table  from the [Palette] window and dropping it on the report design (.rptdesign ... ) in the third field and click OK . Fill the table with data by dragging the x and y columns from

jakarta.persistence.InheritanceType.TABLE_PER_CLASS

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.InheritanceType TABLE _PER_CLASS A table for each concrete entity class. Each concrete class in the hierarchy has its own table , and each entity instance is stored as a single table row. No discriminator column is necessary. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Table.check

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

jakarta.persistence.Table.comment

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

jakarta.persistence.Table.options

Jakarta Persistence (JPA) Method in jakarta.persistence. Table String options (Optional) A SQL fragment appended to the generated DDL statement which creates this table . This is only used if table generation is in effect. Default: "" Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.Table.uniqueConstraints

Jakarta Persistence (JPA) Method in jakarta.persistence. Table UniqueConstraint[] uniqueConstraints (Optional) Unique constraints to be placed on the table . These are only used if table generation is in effect. These constraints apply in addition to any constraints specified by the Column

jakarta.persistence.Table.indexes

Jakarta Persistence (JPA) Method in jakarta.persistence. Table Index[] indexes (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 is created automatically. Default: {} Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.InheritanceType.SINGLE_TABLE

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.InheritanceType SINGLE_ TABLE A single table for each entity class hierarchy. Subclasses are stored together with the root class, and each entity instance is stored as a single table row. The concrete subclass represented by a row

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.TableGenerator.table

Jakarta Persistence (JPA) Method in jakarta.persistence.TableGenerator String table (Optional) Name of the table that stores the generated id values. Defaults to a name chosen by persistence provider. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Table.name

Jakarta Persistence (JPA) Method in jakarta.persistence. Table String name (Optional) The name of the table . Defaults to the entity name. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Table.catalog

Jakarta Persistence (JPA) Method in jakarta.persistence. Table String catalog (Optional) The catalog of the table . Defaults to the default catalog. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Table.schema

Jakarta Persistence (JPA) Method in jakarta.persistence. Table String schema (Optional) The schema of the table . Defaults to the default schema for user. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.GenerationType.TABLE

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.GenerationType TABLE Indicates that the persistence provider must assign primary keys for the entity using an underlying database table to ensure uniqueness. May be used to generate primary keys of type Long , Integer , long , or int . Since: Jakarta Persistence (JPA) 1.0

Database Explorer

Windows The Explorer provides two types of viewer windows for viewing the database data. The Table window follows the approach of traditional visual database tools. Every row in the table represents ... , a bookmark in the [Database] tabbed window or an object in a currently open Table or Tree window

Is there a function of "drop table" or "delete from table"?

Besides the em.remove() one by one, is there a function of "drop table " or "delete from table ... () cause exceptions. Yes, you'd better to put it into manual, since "drop table " is often in debugging. I can not find "drop table " in this site BTW. gzdillon Lai Yang The code “createQuery("DELETE FROM

Auto Generated Values

. Therefore, this strategy does not guarantee there will be no gaps in sequence values. The Table Strategy The TABLE strategy is very similar to the SEQUENCE strategy: @Entity @TableGenerator ( name ="tab ... = GenerationType . TABLE , generator ="tab") @Id long id; } ORM-based JPA providers (such as Hibernate

Logical Operators in JPQL and Criteria API

of logical operators, as shown in the following table : Set 1 - JPQL / SQL Set 2 - Java / JDO AND && OR ... must be one of: TRUE, FALSE , and NULL . The following table shows how the AND operator is evaluated based ... must be one of: TRUE, FALSE , and NULL . The following table shows how the OR operator is evaluated

Comparison in JPQL and Criteria API

ObjectDB supports two sets of comparison operators, as shown in the following table :   Set 1 ... by these operators. Comparing NULL values The following table shows how NULL values are handled by ... are always evaluated to TRUE , FALSE or NULL . When both operands are not NULL (not shown in the table ) the operator

jakarta.persistence.JoinTable

: Annotation Target: Method, Field Specifies the mapping of an association to an intermediate join table . It is applied to the owning side of an association. A join table is typically used in the mapping ... , and one-to-one associations (both bidirectional and unidirectional). When a join table is used in mapping

jakarta.persistence.SecondaryTable

Interfaces: Annotation Target: Type Specifies a secondary table for the annotated entity class. Specifying one or more secondary tables indicates that the data for the entity class is stored across multiple tables . If no SecondaryTable annotation is specified, it is assumed that all persistent fields or

jakarta.persistence.JoinColumn

Customer class @OneToMany @JoinColumn(name = "CUST_ID") // join column is in the table for Order ... ) The name of the foreign key column. The table in which this column is found depends on the context ... column is in the table of the source entity or embeddable. If the join is for a unidirectional

JPA Query Structure (JPQL / Criteria)

is that SQL works with relational database tables , records and fields, whereas JPQL works with Java ... rather than just field values from database tables , as with SQL. That makes JPQL more object oriented friendly

What is the Java Persistence API (JPA)?

) is that in JPA data is represented by classes and objects rather than by tables and records as in ... representation in the relational database (as tables and records) and the representation in the Java application

ObjectDB - JPA Object Database for Java

requires slow conversions between graphs of Java objects and flat database table rows. Object Relational ... or NetBeans . Forget relational databases, JDBC, drivers, tables , records, ORM tools and mapping

jakarta.persistence.MapKeyJoinColumn

key join column is in the collection table , join table , or table of the target entity that is used ... (Optional) The name of the foreign key column for the map key. The table in which it is found depends ... the collection table for the map value. If the join is for a map key for a ManyToMany entity

jakarta.persistence.TableGenerator

that may be referenced by name when a generator element is specified for the GeneratedValue annotation. A table ... has strategy= TABLE and a defaulted generator name . The name of this default generator is the defaulted ... annotation. Example 1: @Entity public class Employee { ... @TableGenerator( name = "empGen", table

jakarta.persistence.PrimaryKeyJoinColumn

a foreign key to join to another table . It is used to join the primary table of an entity subclass in the JOINED mapping strategy to the primary table of its superclass; it is used within a SecondaryTable annotation to join a secondary table to a primary table ; and it may be used in a OneToOne mapping in

jakarta.persistence.CollectionTable

Interfaces: Annotation Target: Method, Field Specifies the table that is used for the mapping of collections ... , the columns of the collection table that correspond to the embeddable class or basic type are derived ... ; ... @ElementCollection // use default table (PERSON_NICKNAMES) @Column(name = "name", length = 50) protected Set

jakarta.persistence.MapKeyColumn

) 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 ... table , the map key column is in a join table . If the map key is for a OneToMany entity relationship

What are the main benefits of using ObjectDB?

that ability and require multiple tables , multiple records and join operations in order to support

What is ObjectDB?

objects (and graphs of objects) in an ObjectDB database directly. There's no need to define tables

jakarta.persistence.InheritanceType

Since: Jakarta Persistence (JPA) 1.0 Enum Constants JOINED A table for each abstract or concrete entity class ... class in the hierarchy has its own table , but that table does not contain columns mapped ... table rows. A join is used to retrieve the state of such entities. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Entity

interface may not be designated as an entity. An entity has a primary table , mapped using the Table annotation, and may have one or more secondary tables , mapped using the SecondaryTable annotation ... type maps to a single column in one of the tables mapped by the entity, a field of property

jakarta.persistence.Column

; } Example 2: @Column(name = "DESC", columnDefinition = "CLOB NOT NULL", table = "EMP_DETAIL") @Lob ... . This is a shortcut for the UniqueConstraint annotation at the table level and is useful for when the unique key ... entailed by the primary key mapping and to constraints specified at the table level. Default: false

jakarta.persistence.SecondaryTables

Interfaces: Annotation Target: Type Specifies multiple secondary tables for an entity. Example 1: Multiple secondary tables assuming primary key columns are named the same in all tables . @Entity @ Table (name ... _HIST")}) public class Employee { ... } Example 2: Multiple secondary tables with differently named

jakarta.persistence.AssociationOverride

table , the joinTable element must be specified to override the mapping of the join table and/or ... of the relationship. The joinColumns element must not be specified if a join table is used in the overriding ... corresponding to the joinColumns element when table generation is in effect. If both this element

jakarta.persistence.PessimisticLockScope

owned by the entity that are contained in join tables are locked if the property jakarta.persistence ... such a relationship or element collection generally locks only the rows in the join table or collection table for that relationship or collection. This means that phantoms are possible. Since: Jakarta

jakarta.persistence.ManyToMany

, mapping to an intermediate table called the join table . Every many-to-many association has two sides, the owning side and the non-owning, or inverse, side. The join table is specified on the owning ... the relationship field or property of the owning side. The join table for the relationship, if not defaulted

jakarta.persistence.MappedSuperclass

mapped to a database table . The persistent fields and properties of a mapped superclass are declared ... , since the mapped superclass itself has no table to map. Mapping information may be overridden in each ... ) { ... } public Address getAddress() { ... } public void setAddress(Address addr) { ... } } // Default table

jakarta.persistence.JoinColumn.name

of the foreign key column. The table in which this column is found depends on the context ... column is in the table of the source entity or embeddable. If the join is for a unidirectional OneToMany mapping using a foreign key mapping strategy, the foreign key is in the table of the target entity

jakarta.persistence.GenerationType

. For a primary key of type Long , Integer , long , or int , the provider selects between TABLE , SEQUENCE ... primary keys of type Long , Integer , long , or int . Since: Jakarta Persistence (JPA) 1.0 TABLE ... database table to ensure uniqueness. May be used to generate primary keys of type Long , Integer

jakarta.persistence.Embeddable

an embeddable type. An embeddable class does not have its own table . Instead, the state of an instance is stored in the table or tables mapped by the owning entity. The persistent fields and properties

Report Generation with BIRT and JPA

), (12, 12), ..., (20, 20) The data will be presented in the BIRT report using a chart and a table :

Step 5: Design a BIRT Report Chart

to see the chart with the real data: In the next step we will add a table view of the same data to the report.

Step 4: Create an ObjectDB Data Set

clicking the OK button. In the next steps we will use this data set to build a chart and a table .