ObjectDB Database Search

1-50 of 151 results

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

Auto Generated Values

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

alter table

Hi: After a table built by real data, how to alter table structure, such as: alter table add column ... alter table add index ... TIA gzdillon Lai Yang There are no tables is ObjectDB. Anyway,  alter table add column ... This is automatic - just change your class (see Database Schema

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

Warmup ( preLoad all table rows into memory )

Hi , I have 3 questions for objectdb : 1-) How can i preload all table rows into memory in objectdb ? So i can query fast. I have seen @Cacheable annotation. But i need warmup table to memory when my software boots up.   2-) Also for speed up I am inserting a message into table

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

Duplicate a table

Hello, I would like to know if it's possible to copy the content of a table representing one class of object to another table whithout having to use java object (no object instantiation) ? In fact ... a table before erasing the content. Thanks. Linuski christophe LASKAWIEC You will have to write code

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

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

Unable to create 128 column of a table.

Hi, Can we create 128 column of table ? am getting following error. java.lang.ArrayIndexOutOfBoundsException: -128 at com.objectdb.o.ALS.g(ALS.java:135) at com.objectdb.o.ANT.G(ANT.java:594) at com.objectdb.o.ANT.x(ANT.java:526) at com.objectdb.o.SCM.o(SCM.java:175) at com.objectdb.o.TYS.d(TYS.java

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

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

JPA Query Structure (JPQL / Criteria)

with it. The main difference between SQL and JPQL is that SQL operates on relational database tables , while JPQL ... , which returns only field values from database tables . This makes JPQL more object-oriented

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

JPA Value Generation Annotations

generation: AUTO (default), IDENTITY , SEQUENCE , TABLE , or UUID . Generator definitions Define specific ... , and allocation size. Defines a named primary key generator that uses a specific database table to ensure

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

What are the main benefits of using ObjectDB?

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

JPA Runtime Tuning & Configuration

Most Jakarta Persistence configuration is static, defined through annotations (e.g., @Entity , @ Table ) or set globally at the persistence unit level during bootstrapping . This section describes dynamic options that control runtime behavior and allow you to adjust settings per session, query, or

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

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

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.InheritanceType JOINED A table ... and properties declared by the entity class. Each class in the hierarchy has its own table , but that table ... instance might be stored across multiple table rows. A join is used to retrieve the state of such entities. Since: Jakarta Persistence (JPA) 1.0

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

Report Generation with BIRT and JPA

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