ObjectDB Database Search
1-50 of 200 resultsjakarta.persistence.SchemaManager.create(boolean) Jakarta Persistence (JPA) Method in jakarta.persistence.SchemaManager void create ( boolean createSchemas ) Create database objects mapped by entities belonging to the persistence unit ... it may ignore the problem and continue. Parameters: createSchemas - if true , attempt to create schemas | |
jakarta.persistence.PersistenceConfiguration.SCHEMAGEN_CREATE_SOURCE Jakarta Persistence (JPA) Field in jakarta.persistence.PersistenceConfiguration SCHEMAGEN_ CREATE _SOURCE The source of artifacts to be created . Standard sources are: metadata , script , metadata ... .persistence.schema-generation. create -script-source" . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.PersistenceConfiguration.SCHEMAGEN_CREATE_SCRIPT_SOURCE Jakarta Persistence (JPA) Field in jakarta.persistence.PersistenceConfiguration SCHEMAGEN_ CREATE _SCRIPT_SOURCE An application-provided SQL script to be executed when the schema is created . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.PersistenceConfiguration.SCHEMAGEN_CREATE_TARGET Jakarta Persistence (JPA) Field in jakarta.persistence.PersistenceConfiguration SCHEMAGEN_ CREATE _TARGET The provider-generated SQL script which creates the schema when "jakarta.persistence.schema-generation.scripts.action" is set. Since: Jakarta Persistence (JPA) 1.0 | |
Step 1: Create a Maven Web Project We start by creating a new Maven-WTP dynamic web project in Eclipse: Open the [New Project ... ; Next . Verify that the Create a simple project checkbox is disabled and click Next . Enter  ... . 1.0 ) and Package ( guest ), and click Finish to create the project. The configuration | |
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 ... ). Enter Maven Version (e.g. 1.0 ) and Package ( guest ). Click the Finish button to create the project. The configuration of the new created project is contained in a pom.xml file that was created | |
Step 1: Create a Java Project We start by creating a new Java project, using: File New Project... If you are using Eclipse IDE for Java EE Developers, you can see in the [New] menu a command for creating a [JPA Project ... the bin subdirectory of the ObjectDB installation directory: Click Finish to create the project | |
Step 1: Create a Java Project We start by creating a new NetBeans Project: Open the [New Project] dialog box, e.g. by using File ... qualified class name is set (you may use copy & paste). Click the Finish button to create ... with ObjectDB/JPA support. The next step is creating a JPA Entity class . | |
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 ... to GlassFish 3 (which has to be downloaded separately) . Click the Finish button to create the Java EE 6 ... : You should now have an Eclipse Java EE 6 project with ObjectDB/JPA support. The next step is creating a JPA Entity class . | |
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 ... ;and Java EE 6 Web and click Next . Click the Finish button to create the project (Frameworks are not ... Application project with ObjectDB/JPA support. The next step is creating a JPA Entity class . | |
Step 2: Create a Project and a Report To use BIRT we need to create a BIRT Report project in Eclipse: Open the [New Project] dialog box ... 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 . | |
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 ... to Tomcat 6 (which has to be downloaded separately) . Click the Finish button to create the dynamic ... : Now you should have an Eclipse Dynamic Web project with ObjectDB/JPA support. The next step is creating a JPA Entity class . | |
Step 4: Create an ObjectDB Data Set Queries against the database are represented in BIRT as data sets. To create the data set: Open ... and selecting New Data Set . Select the data source that was created in the previous step (e.g. ObjectDB ... and paste to enter the above query and click Finish . When the data set is created successfully | |
Step 1: Create a Web Project We start by creating a new NetBeans Web Application Project: Open the [New Project] dialog box, e ... the path to Tomcat. Click the Finish button to create the project (Frameworks are not required). To add ... with ObjectDB/JPA support. The next step is creating a JPA Entity class . | |
Step 3: Create an ObjectDB Data Source Connections to the database are represented in BIRT as data sources. To create an ObjectDB data source: Open the [New Data Source] dialog box by right clicking the Data Sources node in the [Data ... of the ObjectDB data source. The next step is using this data source to create a data set for the BIRT report. | |
creating EntityManager on odb file created on Mac 64bit on Windows 32bit Hello, I have an odb file created on my Mac OSX 64bit. When I further, in other program, create ... . But, when I transfer this program and odb file to Windows XP 32bit it crashes while creating ... \expressedpathfinder\UnitDB.class' expressedpathfinder is my main package in java project where I create and use | |
jakarta.persistence.criteria.CriteriaBuilder explains how to use CriteriaBuilder . Public Instance Methods Expression abs ( Expression x ) Create ... : absolute value. Since: Jakarta Persistence (JPA) 1.0 Expression all ( Subquery subquery ) Create ... . Since: Jakarta Persistence (JPA) 1.0 Predicate and ( Expression x , Expression y ) Create a conjunction | |
Date and Time in JPQL and Criteria Queries for building date and time expressions that represent the current date or time: // Create current date expression: Expression date = cb. currentDate (); // date only // Create current time expression: Expression time = cb. currentTime (); // time only // Create current date & time expression: Expression | |
JPA Runtime Tuning & Configuration the PersistenceConfiguration.LOCK_SCOPE property when you create the EntityManagerFactory , or set "jakarta ... .LOCK_SCOPE , or specify it when you create the EntityManager . Query setHint using ... property when you create the EntityManagerFactory , or set "jakarta.persistence.cache.retrieveMode | |
Online Backup").getSingleResult(); The backup query string is always "objectdb backup" . The backup is created in the backup ... subdirectory is created in the backup root directory. The subdirectory's name reflects the current date and time (for example, 201912312359 ). The backup database file is then created in this new | |
Database Explorer an editor. New entities To create and store new entities, open the Create New Entities dialog box by using ... of objects to create . Click the Create and Persist button to create and store the new entities | |
jakarta.persistence.criteria.MapJoin basic type. Since: Jakarta Persistence (JPA) 3.2 Expression entry () Create an expression ... Persistence (JPA) 1.0 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression ... ( Object value ) Create a predicate to test whether the expression is equal to the argument | |
Database Transaction Replayer default, the recording directory is created in the same directory as the database file. If the purpose ... creates one by copying the existing database file when the database is opened. Creating the initial backup ... is also created in the recording directory. Its name, .odb , specifies the last executed transaction | |
JPA Core Types. Use its static methods to create an EntityManagerFactory as the first step for accessing ... : A heavyweight factory class responsible for creating EntityManager instances. Create ... schema management, such as creating , dropping, or truncating schemas. Use this interface | |
jakarta.persistence.criteria.ListJoin Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test ... equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument ... ) Create a fetch join to the specified single-valued attribute using an inner join. Inherited from | |
jakarta.persistence.criteria.PluralJoin Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test ... Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal ... ) Create a fetch join to the specified single-valued attribute using an inner join. Inherited from | |
jakarta.persistence.criteria.Root ) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression ... . Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test ... fetch ( SingularAttribute attribute ) Create a fetch join to the specified single-valued attribute | |
jakarta.persistence.criteria.SetJoin Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test ... equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument ... for equality. Since: Jakarta Persistence (JPA) 3.2 Fetch fetch ( SingularAttribute attribute ) Create | |
jakarta.persistence.criteria.CollectionJoin type. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create ... Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression ... ( SingularAttribute attribute ) Create a fetch join to the specified single-valued attribute using an inner | |
jakarta.persistence.criteria.From) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression ... ( Object value ) Create a predicate to test whether the expression is equal to the argument. Inherited from ... . Since: Jakarta Persistence (JPA) 3.2 Fetch fetch ( SingularAttribute attribute ) Create a fetch join | |
jakarta.persistence.criteria.Join of the given basic type. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create ... . Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test ... ( SingularAttribute attribute ) Create a fetch join to the specified single-valued attribute using | |
Database Management Settings is appropriate for most applications. The element When recovery is enabled, ObjectDB creates a recovery file ... environments. By default, the recovery file is created in the same directory as the database file ... default, a recording subdirectory is created in the same directory as the database file | |
Numbers in JPQL and Criteria Queries the following examples. Binary Operators Creating a binary arithmetic operator requires two operands ... expression or a simple Java numeric object. // Create path and parameter expressions: Expression path ... byte , short , int , long , float , double , BigInteger , and BigDecimal . Unary Operators Creating | |
JPA Connections and Transactions of an EntityManagerFactory instance is to create EntityManager instances. An EntityManagerFactory is constructed ... ) and provides an efficient way to create multiple EntityManager instances for that database. The instantiation ... the database. If the database does not already exist, a new database file is created . When the application | |
BIRT/ODA ObjectDB Driver when using client-server mode. ObjectDB/JPA data source To create an ObjectDB data source: Open the New ... (for example, objectdb://localhost/points.odb;user=admin;password=admin ). Click Finish to create the ObjectDB data source. Data sets and JPQL To create the data set: Open the New Data Set dialog box by right | |
jakarta.persistence.EntityManager to the associated persistence unit. An application-managed EntityManager may be created ... . The given function should close any resources it creates , but should not close the connection ... . Since: Jakarta Persistence (JPA) 1.0 EntityGraph createEntityGraph ( Class rootType ) Create a new | |
Logical Operators in JPQL and Criteria API There are two ways to create a NOT expression: Predicate p5 = cb. not (isInUN); Predicate p6 = isLarge. not (); The not method of the CriteriaBuilder interface creates a Predicate by negating a specified | |
Obtaining a JPA Database Connection already exist at the specified path, ObjectDB creates one. You also use the EntityManagerFactory ... more detail how to use the EntityManager and transactions for create , read, update, and delete (CRUD) database operations. | |
Paths and Types in JPQL and Criteria API , represented by subinterfaces of From , such as Root and Join . Creating a FROM expression automatically ... . Navigation expressions , represented by the Path interface. Creating a navigation path expression does | |
Step 2: Entity Class and Persistence Unit class name. Click Finish to create the new class. A new class that should represent Guest objects in the database was created in the project (under Java Resources: src guest). Use copy ... persistence.xml file was created as shown below: Finally, use copy and paste to copy the following content | |
Step 3: Add a Context Listener Class a ServletContextListener to perform initialization and cleanup operations: The database will be opened (or created ... the Finish button. Click Finish to create the new listener class. Now replace the content of the new ... the Enhancer to enhance the entity class, creates an EntityManagerFactory instance and stores it as | |
Step 2: Entity Class and Persistence Unit Finish to create the new entity class. A new class that should represent Guest objects in the database was created in the project (under Java Resources: src/main/java guest). Use copy ... ; Finish . Verify that a new persistence.xml file was created as shown below: Finally, use copy | |
Step 3: Add a Main Class to create the class. Copy and paste the following code to the newly created class file: package ... (String[] args) { // Open a database connection // ( create a new database if it doesn't exist | |
Step 3: Add a Context Listener Class a ServletContextListener to perform initialization and cleanup operations: The database will be opened (or created ... to create the new listener class. Now replace the content of the new source file with the following code ... and creates an EntityManagerFactory instance and stores it as an application scope attribute in | |
Report Generation with BIRT and JPA This tutorial demonstrates how to create reports based on data in an ObjectDB database using the popular open source Business Intelligence and Reporting Tools (BIRT). In order to keep things as ... that we will create will be based on the following subset of these points: (11, 11), (12 | |
Step 2: Define a JPA Entity Class name (case sensitive). Enter Point as the class name (case sensitive). Click Finish to create the new class. Copy and paste the following code into the newly created Point class: package tutorial | |
Step 4: Add a Servlet Class In this step we will add a servlet to manage guestbook web requests: Open the [ Create Servlet] dialog box by right clicking the guest package node (in the [Package Explorer] window), selecting ... to create the new servlet class. Now replace the content of the new source file with the following code | |
Step 2: Entity Class and Persistence Unit - use exactly that case sensitive package name. Click Next to create the new entity class. In ... objects in the database was created in the project (under Source Packages guest). Use copy and paste | |
Step 2: Entity Class and Persistence Unit as the package name - use exactly that case sensitive package name. Click Next to create the new ... objects in the database was created in the project (under Source Packages guest). Use copy and paste | |
Step 4: Add a Servlet Class In this step we will add a servlet to manage guestbook web requests: Open the [ Create Servlet] dialog box by right clicking the guest package node (in the [Package Explorer] window), selecting  ... GuestServlet as the class name - use exactly that case sensitive class name. Click Finish to create |