ObjectDB Database Search

101-150 of 200 results

General Settings and Logging

specifying 0 as the maximum list size . The user attribute specifies if user names should be saved ... ( "" ) logging to file is disabled. Every day a new log file is generated with the name odb .log ... elements can be added to override the default logging level for a specific ObjectDB subsystem. The names

jakarta.persistence.StoredProcedureQuery

the values of output parameters. Parameters: parameterName - name of the parameter as registered or ... : IllegalArgumentException - if the parameter name does not correspond to a parameter of the query or is not an INOUT or OUT parameter. Since: Jakarta Persistence (JPA) 1.0 Parameter getParameter ( String name

jakarta.persistence.EntityManager

( String graphName ) Obtain a mutable copy of a named EntityGraph , or return null if there is no entity graph with the given name . Parameters: graphName - name of an entity graph Returns: entity graph. Since: Jakarta Persistence (JPA) 2.1 Query createNamedQuery ( String name ) Create an instance

jakarta.persistence.TypedQuery

Parameter getParameter ( String name ) Get the parameter object corresponding to the declared parameter of the given name . This method is not required to be supported for native queries. Inherited from Query Parameters: name - parameter name Returns: parameter object. Throws: IllegalStateException

jakarta.persistence.Query

: maximum number of results. Since: Jakarta Persistence (JPA) 2.0 Parameter getParameter ( String name ) Get the parameter object corresponding to the declared parameter of the given name . This method is not required to be supported for native queries. Parameters: name - parameter name Returns: parameter

jakarta.persistence.criteria.PluralJoin

( String name ) Assigns an alias to the selection item. Once assigned, an alias cannot be changed or reassigned. Returns the same selection item. Inherited from Selection Parameters: name - alias ... . Inherited from FetchParent Parameters: attributeName - name of the attribute for the target of the join

jakarta.persistence.criteria.MapJoin

Methods Selection alias ( String name ) Assigns an alias to the selection item. Once assigned ... Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1.0 Expression as ... FetchParent Parameters: attributeName - name of the attribute for the target of the join Returns

jakarta.persistence.criteria.Root

. Public Instance Methods Selection alias ( String name ) Assigns an alias to the selection item ... Selection Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1.0 ... attribute using an inner join. Inherited from FetchParent Parameters: attributeName - name

jakarta.persistence.criteria.SetJoin

name ) Assigns an alias to the selection item. Once assigned, an alias cannot be changed or reassigned. Returns the same selection item. Inherited from Selection Parameters: name - alias Returns ... from FetchParent Parameters: attributeName - name of the attribute for the target of the join Returns

jakarta.persistence.criteria.CollectionJoin

Methods Selection alias ( String name ) Assigns an alias to the selection item. Once assigned, an alias ... Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1.0 Expression as ( Class ... using an inner join. Inherited from FetchParent Parameters: attributeName - name of the attribute

jakarta.persistence.criteria.ListJoin

( String name ) Assigns an alias to the selection item. Once assigned, an alias cannot be changed or reassigned. Returns the same selection item. Inherited from Selection Parameters: name - alias Returns ... . Inherited from FetchParent Parameters: attributeName - name of the attribute for the target of the join

jakarta.persistence.criteria.From

to the type. Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods Selection alias ( String name ... the same selection item. Inherited from Selection Parameters: name - alias Returns: selection item ... FetchParent Parameters: attributeName - name of the attribute for the target of the join Returns

jakarta.persistence.criteria.Join

Instance Methods Selection alias ( String name ) Assigns an alias to the selection item. Once assigned ... Selection Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1.0 Expression ... attribute using an inner join. Inherited from FetchParent Parameters: attributeName - name

ObjectDB License Agreement [ver. 2.0.4]

written approval. 7. ObjectDB Software may use the Customer name , logo and domain name in press releases

Obtaining a JPA Database Connection

:$objectdb/db/points.odb"); The createEntityManagerFactory static method expects a persistence unit name as ... by ObjectDB to be a database URL rather than a persistence unit name . The $objectdb variable

Eclipse Distribution License - v 1.0

the documentation and/or other materials provided with the distribution. Neither the name of the Eclipse Foundation, Inc. nor the names of its contributors may be used to endorse or promote products derived from

BIRT/ODA ObjectDB Driver

data source types. Enter data source name (e.g. ObjectDB Points ) and click Next . Specify an ObjectDB ... . Select an ObjectDB data source (e.g. ObjectDB Points ).  Enter a data set name (e.g. Points by X

UPDATE SET Queries in JPA/JPQL

variable (with or without an explicit variable name ) for iteration. Multiple variables and JOIN are not ... variable name - if defined). Multiple field update expressions, separated by commas, are also allowed

Online Backup

mode a subdirectory of the ObjectDB home directory on the server side). A new subdirectory with a name ... directory and the backup database file itself is created in that subdirectory with the name

JPA Criteria API Queries

queries (e.g. as named queries ) may be preferred. For dynamic queries that are built at runtime -  ... method takes a Parameter (or a ParameterExpression ) instance as the first argument instead of a name

jakarta.persistence.PersistenceConfiguration

via this API reflect the similarly- named elements of the persistence.xml file. This API may not be used ... EntityManagerFactory configure() { return new PersistenceConfiguration() . name ("DocumentData") .nonJtaDataSource ... name of the JDBC driver class. Since: Jakarta Persistence (JPA) 1.0 JDBC_PASSWORD Password for JDBC

jakarta.persistence.MapKeyJoinColumn

// unidirectional @JoinTable( name = "COMPANY_ORGANIZATION", joinColumns = @JoinColumn( name = "COMPANY"), inverseJoinColumns = @JoinColumn( name = "VICEPRESIDENT")) @MapKeyJoinColumn( name = "DIVISION") Map organization; } Example 2: @Entity public class VideoStore { @Id int id; String name ; Address

jakarta.persistence.CollectionTable

of the Column annotation. In the case of a basic type, the column name is derived from the name of the collection-valued field or property. In the case of an embeddable class, the column names are derived from the field or property names of the embeddable class. To override the default properties

jakarta.persistence.AttributeOverride

, " key. " or " value. " must be used to prefix the name of the attribute that is being overridden in ... of embedding, a dot ( . ) notation form must be used in the name element to indicate an attribute within an embedded attribute. The value of each identifier used with the dot notation is the name

jakarta.persistence.EntityManagerFactory

a named copy of the given EntityGraph to this EntityManagerFactory . If an entity graph with the given name already exists, it is replaced. Parameters: graphName - name for the entity graph entityGraph - entity graph Since: Jakarta Persistence (JPA) 2.1 void addNamedQuery ( String name , Query query

jakarta.persistence.EntityGraph

) Get an existing attribute node for the attribute with the given name , or add a new attribute node if there is no existing node. Inherited from Graph Parameters: attributeName - name ... graph. If there is already an existing node for one of the given attribute names , that particular

jakarta.persistence.TableGenerator

that may be referenced by name when a generator element is specified for the GeneratedValue annotation. A table ... of the generator name is global to the persistence unit (across all generator types). If no name ... class, then the name defaults to the name of the entity. If no name is explicitly specified

jakarta.persistence.Graph

for the attribute with the given name , or add a new attribute node if there is no existing node. Parameters: attributeName - name of the attribute Returns: the attribute node. Throws ... nodes to the entity graph. If there is already an existing node for one of the given attribute names

jakarta.persistence.JoinColumn

and the default values apply. Example: @ManyToOne @JoinColumn( name = "ADDR_ID") public Address getAddress ... Customer class @OneToMany @JoinColumn( name = "CUST_ID") // join column is in the table for Order ... CollectionTable ForeignKey Since: Jakarta Persistence (JPA) 1.0 Annotation Elements String name (Optional

jakarta.persistence.Subgraph

node for the attribute with the given name , or add a new attribute node if there is no existing node. Inherited from Graph Parameters: attributeName - name of the attribute Returns: the attribute node ... . If there is already an existing node for one of the given attribute names , that particular argument is ignored and has no effect

jakarta.persistence.MapKeyColumn

is a basic type. If the name element is not specified, it defaults to the concatenation of the following: the name of the referencing relationship field or property; " _ "; " KEY ". Example: @Entity public class Item { @Id int id; ... @ElementCollection @MapKeyColumn( name = "IMAGE_ NAME ") @Column( name

jakarta.persistence.SequenceGenerator

that may be referenced by name when a generator element is specified for the GeneratedValue annotation. A sequence ... of the generator name is global to the persistence unit (across all generator types). If no name ... of an entity class, then the name defaults to the name of the entity. If no name is explicitly specified

jakarta.persistence.NamedNativeQuery

Interfaces: Annotation Target: Type Declares a named native SQL query and, optionally, the mapping of the result of the native SQL query. Query names are scoped to the persistence unit. A named query ... how the native SQL query result set should be interpreted, for example: @NamedNativeQuery( name

jakarta.persistence.AssociationOverride

an embeddable class, the name element specifies the referencing relationship field or property ... syntax must be used in the name element to indicate an attribute within an embedded attribute. The value of each identifier used with the dot notation is the name of the respective embedded field or

jakarta.persistence.PrimaryKeyJoinColumn

, the foreign key columns are assumed to have the same names as the primary key columns of the primary table of the superclass. Example: Customer and ValuedCustomer subclass @Entity @Table( name = "CUST ... @Table( name = "VCUST") @DiscriminatorValue("VCUST") @PrimaryKeyJoinColumn( name = "CUST_ID") public

jakarta.persistence.ColumnResult

ConstructorResult annotation to map a column of the SELECT list of a SQL query. The name element references the name of a column in the SELECT list — i.e., column alias, if applicable. Scalar result types ... order_item, " + "i. name AS item_ name , " + "FROM Order o, Item i " + "WHERE (order_quantity 25

JPA Lifecycle Events

should always return void and take no arguments. They can have any name and any access level ( public , protected

JPA Query Structure (JPQL / Criteria)

elements such as names of entity classes and persistent fields, which are case sensitive. In addition

Retrieving JPA Entity Objects

= manager.getName(); Accessing a persistent field in a hollow object (e.g. the name of the manager in

Chapter 6 - Configuration

which objectdb.jar is located, with one exception - if the name of that directory is bin , lib or build

Step 2: Define a JPA Entity Class

To store objects in an ObjectDB database using JPA we need to define an entity class: Right click on the project in the [Package Explorer] window and select New Class . Enter tutorial as the package name (case sensitive). Enter Point as the class name (case sensitive). Click Finish to create

Step 3: Define a Spring DAO Component

Java Class... . Enter  GuestDao as the class name - use  exactly that case sensitive class name . The Package should be guest. Click Finish to create the new DAO Spring component class. Now

Step 3: Add a Main Class

In this step we will add a main class to the project to store and retrieve Point objects from the database: Right click the tutorial package in the [Package Explorer] window and select New Class . The package name should be tutorial . Enter Main as the class name (case sensitive). Click Finish

Step 2: Create a Project and a Report

and click Next : Enter a project name and click Finish : Now we can create a first report in the new ... file name (e.g. report.rptdesign ) and click Finish. The next step is creating an ObjectDB data source .

Spring MVC JPA Tutorial - IntelliJ Project

, click the  + icon and select  Tomcat Server Local . Enter a name (e.g.  Guestbook

Step 1: Create a Maven Web Project

We start by creating a new Maven web project in NetBeans: Open the [New Project] dialog box, e.g. by using File New Project... Select Maven Maven Web Application and click Next . Choose a Project Name (e.g. Guestbook ) and select Java EE 5. Enter Maven Group Id (e.g. com.objectdb.tutorial.spring

Step 1: Create a Java EE 6 Web Project

We start by creating a new Java EE dynamic web project in Eclipse: Open the [New Project] dialog box, e.g. by using File New Project... Select Web Dynamic Web Project and click Next . Choose a Project Name (e.g. Guestbook ). Select GlassFish Server Open Source Edition 3 (Java EE 6) as the Target

Step 3: Create an ObjectDB Data Source

of available data source types. Enter data source name (e.g. ObjectDB Points ) and click Next . Specify

Step 1: Create a Java EE Web Project

We start by creating a new Java EE 6 Web Application project in NetBeans: Open the [New Project] dialog box, e.g. by using File New Project... Select Java Web Web Application and click Next . Choose a Project Name (e.g. Guestbook ) and click Next . Select GlassFish Server 3 (or above) 

Step 1: Create a Web Project

We start by creating a new Eclipse Dynamic Web Project: Open the [New Project] dialog box, e.g. by using File New Project... Select Web Dynamic Web Project and click Next . Choose a Project Name (e.g. Guestbook ). Select Apache Tomcat v6.0 as the Target runtime. Note: You may have to add Tomcat 6