ObjectDB Database Search

1-50 of 200 results

JPA Value Generation Annotations

Jakarta Persistence (JPA) supports automatic value generation . This feature is primarily useful ... control automatic value generation . Generation configuration Configure field-level generation ... should be automatically generated when a new entity is persisted to the database. It allows defining

Auto Generated Values

is automatically generated . This annotation is primarily for primary key fields, but ObjectDB also supports it for non-key numeric persistent fields. The following sections explain the available value generation strategies. The AUTO strategy ObjectDB maintains a global number generator for each database

General Settings and Logging

attribute specifies the directory in which temporary files are generated . The $temp prefix represents ... recently used databases in the Explorer easier. The element The element specifies general logging settings: The path attribute specifies the directory in which log files are generated . The $objectdb

jakarta.persistence.GeneratedValue.generator

Jakarta Persistence (JPA) Method in jakarta.persistence.GeneratedValue String generator (Optional) The name of the primary key generator to use, as specified by the SequenceGenerator or TableGenerator annotation which declares the generator . The name defaults to the entity name of the entity in

Report Generation with BIRT and JPA

Demonstrates how to use ObjectDB as a data source of the Business Intelligence and Reporting Tools (BIRT), open source report generator.

General JPA Tutorials

All about General JPA Tutorials in Java/JPA database - explanations, examples, references, links and related information.

JPA Primary Key

, and automatic sequential value generation . This powerful feature is absent from many other object-oriented ... . The Generated Values section discusses automatic value generation in detail. Application-set primary key ... key value is not generated , and the application is responsible for setting a primary key by

Privacy Policy

how the Service is used. Usage Data  refers to data collected automatically, either generated by ... ;with news, special offers and general information about other goods, services and events ... is generally retained for a shorter period of time, except when this data is used to strengthen

Database Explorer

-windows. The top sub-window displays general information about the database, and the bottom sub-window ... has three tabs: General , Fonts , and Views . The General tab The General tab contains the following settings

SSL Configuration

, you must generate at least two files: A keystore file that contains the server's unique signature. This file includes general details (such as a company name), an RSA private key, and its corresponding public key ... certificates that the client uses to validate the server's signature. This file is generated from the keystore

JPA Persistable Types

, on the other hand, are generic and can represent any of the above by using the JPA @Temporal annotation ... , and Properties . Arrays, including multi-dimensional arrays. Both generic ( for example, `ArrayList`) and non- generic (for example, `ArrayList `) collection and map types are supported, as long as

JPA Persistence Unit

(see below). The property elements specify general properties. JPA defines standard properties for specifying ... that use annotations to define generators and named queries. Otherwise, these generators and named

JPA Exceptions

General persistence exceptions The base class for general persistence failures is: This is the root ... a single catch block to handle general persistence errors. Transaction and lifecycle exceptions

Apache License, Version 2.0, January 2004

to compiled object code, generated documentation, and conversions to other media types. "Work" shall ... , if provided along with the Derivative Works; or, within a display generated by the Derivative Works

JPA Queries

with full type safety. General query objects Execute SELECT, UPDATE and DELETE queries in JPA using ... clause, representing roots, joins, and fetches. General expressions used within query logic, such as

Running JPA Queries

interfaces define a getResultList() method. The Query version returns a list of a raw (non- generic ) type, while the TypedQuery version returns a list of a parameterized ( generic ) type: Query query = em

BIRT/ODA ObjectDB Driver

. For step by step instructions on using BIRT with ObjectDB see the Report Generation with BIRT ... ) and click Next . Enter a JPQL or a JDOQL query and click Finish . See the Report Generation with BIRT and JPA tutorial for more detailed instructions.

JPA ORM Mapping Annotations

to be included in the generated DDL for a table. Column mapping Map fields to specific database columns using ... java.util.Map when the type cannot be determined via generics . Specifies the mapping for the key column

ObjectDB Object Database Features

- much faster than any other JPA solution. General Highly optimized code (as a result of many profiling ... . Auto Value Generation Modes (for primary Key fields) Database IDs - automatic allocation of global

jakarta.persistence.TableGenerator

Interfaces: Annotation Target: Type, Method, Field, Package Defines a primary key generator that may be referenced by name when a generator element is specified for the GeneratedValue annotation. A table generator may be specified on the entity class or on the primary key field or property. The scope

jakarta.persistence.SequenceGenerator

Interfaces: Annotation Target: Type, Method, Field, Package Defines a primary key generator that may be referenced by name when a generator element is specified for the GeneratedValue annotation. A sequence generator may be specified on the entity class or on the primary key field or property. The scope

jakarta.persistence.GeneratedValue

Interfaces: Annotation Target: Method, Field Specifies a generation strategy for generated primary keys ... primary keys is not supported. Example 1: @Id @GeneratedValue(strategy = SEQUENCE, generator = "CUST_SEQ ... (strategy = TABLE, generator = "CUST_GEN") @Column(name = "CUST_ID") Long id; See Also: GenerationType Id

JPA Criteria Query Expressions

. A builder for general conditional logic sequences using when-then-else logic. A builder for comparing

Database Management Settings

. Activation codes are generated by running the Activator utility from the command line: $ java -cp objectdb

JPA Entity Fields

declared type, including a generic java.lang.Object , as long as the actual runtime value

Database Replication and Clustering

part of any cluster. The replicated databases on the slave server are automatically generated in a special

Date and Time in JPQL and Criteria Queries

criteria queries by using the generic CriteriaBuilder 's function method, as follows: // Create

JPA Attributes Annotations

Jakarta Persistence (JPA) annotations define how entity attributes (fields and properties) are managed. These annotations control data persistence behavior, including fetching strategies, relationship types, and data storage formats. General field mapping Configure standard state mapping behavior

JPA Metamodel Attributes

: COLLECTION , SET , LIST , or MAP . Represents an attribute typed as a generic java.util.Collection

JPA Extended API Reference Guide

Jakarta Persistence API (JPA) 3.2 documentation, generated from the official JavaDoc and enriched with practical notes. It groups the API types into logical sections to help you locate core concepts, query facilities, metamodel details, configuration options, annotations, and exception information

Retrieving JPA Entities

to cast the retrieved object to Employee because find uses generics and returns an instance of the class

Literals in JPQL and Criteria Queries

instead of literals are more generic and efficient because they can be compiled once and then run many

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook HTML output: Open the [New JSP File] dialog box by right clicking the WEB-INF node under the Web Pages node (in the [Projects] window ... content: JPA Guestbook Web Application Tutorial Name: The JSP generates the guestbook page output

Step 2: Entity Class and Persistence Unit

the [Provider and Database] step just click Finish to generate a default persistence.xml file ... JPA persistence unit (with default settings) was generated in a persistence.xml file that was added

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook page output: Open the [New JSP File] dialog box by right clicking the Web Pages node (in the [Projects] window) and selecting New JSP ... Guest Book Web Application Tutorial Name: The JSP generates the guestbook page output, which contains

Step 2: Entity Class and Persistence Unit

entity class. In the [Provider and Database] step click Finish to generate a default persistence.xml ... JPA persistence unit (with default settings) was generated in a persistence.xml file that was added

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook page output: Open the [New JSP File] dialog box by right clicking the Web Pages node (in the [Projects] window) and selecting New JSP ... Guest Book Web Application Tutorial Name: The JSP generates the guestbook page output, which contains

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook page output: Open the [New JSP File] dialog box by right clicking the WebContent node (in the [Package Explorer] window), selecting ... Tutorial Name: The JSP generates the guestbook page output, which contains a simple form for signing

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook HTML output: Open the [New JSP File] dialog box by right clicking WEB-INF under src/main/webapp (in the [Package Explorer] window ... Tutorial Name: The JSP generates the guestbook page output, which contains a simple form for signing

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook page output: Open the [New JSP File] dialog box by right clicking the WebContent node (in the [Package Explorer] window), selecting ... generates the guestbook page output, which contains a simple form for signing the guestbook, followed by

Step 2: Entity Class and Persistence Unit

node (in the [Project Explorer] window) and selecting New Folder (or  New Other... General

Step 4: Run the Application

, a new ObjectDB database file is generated in the db subdirectory under the ObjectDB installation

Step 4: Add a Controller Class

is forwarded to a JSP page (which is presented in the next tutorial step) that generates the HTML output

Step 6: Set the Spring XML

(whose name is derived from the name of the Spring dispatcher servlet in  web.xml ). To generate

Step 4: Add a Servlet Class

" attribute to generate the page output. Finally, the database connection (including the transaction

Step 6: Set the Spring XML

servlet in web.xml ). To generate that file: Right click the WEB-INF node in the [Projects] window

Java EE JPA Tutorial - Maven Project

. You will have to deploy the generated WAR file in your GlassFish server. You may also open and run the Maven

Step 4: Run the Application

) When you run the application for the first time, a new ObjectDB database file is generated in the db sub

Step 3: Add a Main Class

In this step we will add code to the Main class (that was generated with the project) in order to store Point objects in the database and then retrieve them from the database. Use copy and paste to replace the content of the Main class with the following content: package tutorial; import javax

Step 4: Add a Controller Class

(which is presented in the next tutorial step) that generates the HTML output. The JSP uses the GuestDao component