Internal Website Search

1-50 of 200 results

Auto Generated Values

generated for that field. This is primarily intended for primary key fields but ObjectDB also supports this annotation for non-key numeric persistent fields as well. Several different value generation ... number generator for every database. This number generator is used to generate automatic object IDs

General Settings and Logging

: The path attribute specifies a directory in which the temporary files are generated . The $temp prefix ... in embedded mode. Specifying an inactivity timeout may solve firewall related issues. In general ... the Explorer easier. The element General logging settings are specified in the element: The path

JPA Annotations for Value Generation

Automatically generated values are mainly useful for primary key fields, but are supported by ... can also reference a value generator , which is defined at the class level by using one of the following annotations: More details about automatic value generation are provided at the Generated Value section of the ObjectDB Manual.

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.

javax.persistence.GeneratedValue.generator

JPA Annotation Attribute in javax.persistence.GeneratedValue String generator default "" (Optional) The name of the primary key generator to use as specified in the SequenceGenerator or TableGenerator annotation. Defaults to the id generator supplied by persistence provider. Since: JPA 1.0

JPA Primary Key

keys and automatic sequential value generation . This is a very powerful feature of ObjectDB ... generation is discussed in detail in the Generated Values section. Application Set Primary Key ... value is not generated and the application is responsible to set a primary key by initializing

SSL Configuration

and Truststore Files To use SSL you have to generate at least two files: A Keystore file that functions as a unique signature of your server. This file contains general details (such as a company name ... signature. This file is generated from the Keystore file by omitting the private key

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

Running JPA Queries

- for use when exactly one result object is expected. Query.getResultList - for general use in any ... - for use when exactly one result object is expected. TypedQuery.getResultList - for general use in any ... returns a result list of a raw type (non generic ) instead of a parameterized ( generic ) type: Query query

Database Explorer

displays general information about the database and the bottom sub window displays a list ... the Tools Options...  menu command. The [Options] dialog box contains three tabbed pages: [ General ], [Fonts] and [Views]. The [ General ] Page The [ General ] page contains the following settings

Database Management Settings

file is generated in the directory of the database file, but any other alternative path ... default, a recording subdirectory is generated in the directory of the database file, but any ... are generated by running the Activator utility: java -cp objectdb.jar com.objectdb.Activator from

Database Transaction Replayer

default, the recording directory is generated in the directory that contains the database file ... all the recorded operations. The resulting database file is also generated in the recording directory as .odb ... are applied, the generated result file is expected to be 1000.odb .

JPA Persistable Types

and java.util.Calendar types, on the other hand, are generic and can represent any ... , LinkedHashMap , TreeMap and Properties . Arrays (including multi dimensional arrays). Both generic (e.g. ArrayList ) and non generic (e.g. ArrayList ) collection and map types are supported, as long as

JPA Persistence Unit

specify names of managed persistable classes (see below). The property elements specify general ... classes. However, it might be useful to register classes that define generators and named queries (by annotations). Otherwise, the generators and named queries are available only when the containing

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

Chapter 6 - Configuration

: This page explains how ObjectDB configuration works in general . The Configuration Path By default ... file is not found default values are used. General Configuration Considerations The following rules

BIRT/ODA ObjectDB Driver

language. For step by step instructions on using BIRT with ObjectDB see the  Report Generation ... Generation with BIRT and JPA tutorial for more detailed instructions.

ObjectDB Object Database Features

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

JPA Criteria API Queries

links to the criteria query sections in pages that describe query structure in general , including in ... to the criteria query sections in pages that describe expressions in general , including in the context of string based JPQL queries.

GROUP BY and HAVING clauses

The GROUP BY clause enables grouping of query results. A JPQL query with a GROUP BY clause returns properties of generated groups instead of individual objects and fields. The position of a GROUP BY ... ) that are generated by the FROM clause iteration and pass the WHERE clause filtering (if any

Criteria Query Expressions

The following interfaces are in use in representing general expressions in criteria queries: See the Query Expressions section for more details and examples.

JPA Entity Fields

a generic java.lang.Object , as long as the type of the actual value at runtime is persistable (or null

Database Replication and Clustering

databases on the slave server are automatically generated under a special root directory, $replication

Date and Time in JPQL and Criteria Queries

and time parts are also available in criteria queries by using the generic CriteriaBuilder 's function

Retrieving JPA Entity Objects

class that it takes as a first argument (using generics ). An IllegalArgumentException is thrown

Literals in JPQL and Criteria Queries

are more generic and efficient because they can be compiled once and then run many times with different

Defining a JPA Entity Class

primary keys and automatic sequential value generation . This is a very powerful feature of ObjectDB that is absent from other object oriented databases.

[ODB1] Chapter 9 - ObjectDB Explorer

automatically. You can change this behavior in "Tools | Options | General ". Opening a Remote Database ... at the bottom. The "Database" window is also split into two sub windows. The top sub window displays general ... "Tools | Options | General | Display"). Additional information about working with viewer windows

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

[ODB1] Chapter 8 - ObjectDB Server

with two sub elements, and . The sub element specifies general server settings, and the sub element ... J2SDK as a standard package since version 1.4. Keystore and Trustore To use SSL you have to generate ... contains general details (such as a company name), an RSA private key and its corresponding public key

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

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

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

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

[ODB1] Chapter 7 - JDOQL Queries

more generic . Parameter values are provided when the query is executed so that the same query ... ). Operators Comparison operators Comparison operators ( ==, !=, , = ) generate boolean expressions ... operators ( && , || , ! ) generate complex boolean expressions out of simpler boolean expressions

[ODB1] Chapter 2 - A Quick Tour

file named either package.jdo ( generic name) or Person.jdo (name of the class). More details