ObjectDB Database Search

1-50 of 77 results

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

joining of tables

want  join tow table and generate a third table . Ex:   table 1: employee     table 2: address  and the generate table will be table 3: emp_add employee: e_id, e_name address: add_id, city, house_no; the third table will be like. emp_add: e_id, add_id i am using annotation like

how to create only table structure.

hi, I want to create only a table without insertions of data. And also table contains constraints like not_null, unique, primary key etc. Ex: (In sql) create table emp (id int(5) primary key, name varchar2(20)); , so it will create only table . when we want to see the table structure

How to Remove records from many to many relationship tables in JPA

have Relation tables     TransportationEvent  and Conclusion  , relations like @Entity ... = new ArrayList (); .... } here in database i have got another two table like Conclusion ... need to delete  records in both tables (TransportationEvent and Conclusion) here i am trying

Table View for queries in the explorer ?

Hi Is there anyway to get the table view , rather than the tree view, when I'm running queries ... Newman You can run a query in the Explorer also by selecting [Window Open Table Window] from the menu (or clicking the table icon in the toolbar) when the query window is active, and then the results

enumeration table? how to on pure jpa?

Hello , I've relational db , and there is some table named enumerations with , some key and values ... application configs. Like; tablename : enumeration table rows: key       ... ? Like this: @Entity @ Table (name="enumerations") public class Enumerations { //Field binding possible

Populating JavaFx table from ObjectDB

Please I have being working on an application, and I am experiencing some challenges populating my javaFx table from ObjectDB, Please I don't know if I can get a sample code for populating javaFx table from ObjectDB that could aid my Project. Jerry Onoja Jerry You may check the following links

Logical Operators in JPQL and Criteria API

the following table : Set 1: JPQL / SQL Set 2: Java / JDO AND && OR || NOT ! JPQL uses SQL notation ... :area Valid operands for the AND operator are TRUE , FALSE , or NULL . The following table shows ... for the OR operator are TRUE , FALSE , or NULL . The following table shows how the OR operator

impossible to drop a table with 50 million objects

when trying to execute in explorer (max heap size 1GByte) delete from LogEntry l it comes up with a Java heap error after 20 minutes of executing. How to empty such a table ?     hgzwicker Hans-Georg Zwicker This may be because the transaction size is limited by the heap size

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

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

JPA Attributes Annotations

. The embedded state is stored in the same table as the owning entity. Specifies a collection field or

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 to inherited fields or properties, and so the state of an entity instance might be stored across multiple table

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

jakarta.persistence.DiscriminatorColumn

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.DiscriminatorColumn Implemented Interfaces: Annotation Target: Type Specifies the discriminator column for the SINGLE_ TABLE and JOINED ... to DiscriminatorType.STRING . Example: @Entity @ Table (name = "CUST") @Inheritance(strategy = SINGLE_ TABLE

jakarta.persistence.Inheritance

if no inheritance type is specified for an entity class hierarchy, the SINGLE_ TABLE mapping strategy ... for the entity inheritance hierarchy. Default: InheritanceType.SINGLE_ TABLE Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.ElementCollection

embeddable class . Must be specified if the collection is to be mapped by means of a collection table . The CollectionTable annotation specifies a mapping to a database table . Example: @Entity public class

jakarta.persistence.DiscriminatorValue

, should be specified for each concrete entity class in the hierarchy. Example: @Entity @ Table (name = "CUST") @Inheritance(strategy = SINGLE_ TABLE ) @DiscriminatorColumn(name = "DISC", discriminatorType

reading from table gives Unexpected exception

reading from table gives Unexpected exception [ObjectDB 2.6.3] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) 64-Bit Server VM 1.8.0_131 (on Windows 10 10.0). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: null com

Extended mapping-definitions

persisted depending on its java-class. But in this case all the instances would be saved in the same ' table ... it to the ' table ' MetaClass, but read the value val = obj.getName() and persist it to the ' table ... of one class in different ' tables '. Please clarify: Is it only for improving performance, or

jakarta.persistence.TableGenerator.pkColumnValue

(Optional) The primary key value in the generator table that distinguishes this set of generated values from others that may be stored in the table . Defaults to a provider-chosen value to store in the primary key column of the generator table Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.TableGenerator.uniqueConstraints

Jakarta Persistence (JPA) Method in jakarta.persistence.TableGenerator UniqueConstraint[] uniqueConstraints (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

jakarta.persistence.TableGenerator.indexes

Jakarta Persistence (JPA) Method in jakarta.persistence.TableGenerator 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.Id

for the primary key of the entity is assumed to be the primary key of the primary table . If no Column

jakarta.persistence.Index

key has a unique constraint with an index created automatically. See Also: Table SecondaryTable

jakarta.persistence.IdClass

equality consistently with equality of the mapped primary key of the database table . The primary key fields

jakarta.persistence.GeneratedValue

(strategy = TABLE , generator = "CUST_GEN") @Column(name = "CUST_ID") Long id; See Also: GenerationType Id

jakarta.persistence.JoinColumns

the generation of a foreign key constraint when table generation is in effect. If both this element

jakarta.persistence.ManyToOne

annotation. Alternatively, an optional OneToOne association is sometimes mapped to a join table

jakarta.persistence.MapKeyJoinColumns

foreignKey (Optional) Used to specify or control the generation of a foreign key constraint when table

jakarta.persistence.EmbeddedId

with equality of the mapped primary key of the database table . The AttributeOverride annotation may be used

jakarta.persistence.TableGenerator.catalog

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

jakarta.persistence.TableGenerator.schema

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

jakarta.persistence.TableGenerator.pkColumnName

Jakarta Persistence (JPA) Method in jakarta.persistence.TableGenerator String pkColumnName (Optional) Name of the primary key column in the table . Defaults to a provider-chosen name. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.TableGenerator.options

Jakarta Persistence (JPA) Method in jakarta.persistence.TableGenerator String options (Optional) A SQL fragment appended to the generated DDL statement which creates this table . Default: "" Since: Jakarta Persistence (JPA) 3.2

Report Generation with BIRT and JPA

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