ObjectDB Database Search
51-100 of 200 resultsChapter 3 - Using JPA This chapter explains how to manage ObjectDB databases by using Jakarta Persistence (JPA). The first two pages introduce basic JPA interfaces and concepts: The next section explains how to use JPA for database CRUD (create, read, update, and delete) operations: The final section discusses advanced topics, such as locking and events: | |
ORDER BY clause (JPQL / Criteria API) The ORDER BY clause specifies the order for the query results. Any JPQL query that does not include an ORDER BY clause returns results in an undefined and non-deterministic order. ORDER BY ... , ordered by country name: SELECT c.name FROM Country c WHERE c.population 1000000 ORDER BY c.name | |
GROUP BY and HAVING clauses The GROUP BY clause groups query results. A JPQL query with a GROUP BY clause returns properties ... , the GROUP BY clause is processed after the FROM and WHERE clauses but before the SELECT clause. When a query includes a GROUP BY clause, the database objects (or tuples) that result from the FROM clause | |
Step 6: Run the Java EE 6 Application You can run the application now by right clicking the GuestServlet node (in the [Projects] window), selecting Run File , and then clicking OK (no need to change the servlet ... server and open the database file in ObjectDB Explorer : This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual . | |
Step 6: Run the Web Application You can run the application now by right clicking the GuestServlet node (in the [Projects] window), selecting Run File , and then clicking OK (no need to change the servlet execution URI ... of the tutorial. Learn more about ObjectDB and JPA by reading the Manual . | |
ObjectDB License Agreement [ver. 2.0.4] by this agreement. 3 . The free edition of the Software includes restrictions on the number of classes ... Please read carefully this software license agreement. By downloading, installing or using ... of this agreement will be binding, unless in writing and signed by an authorized representative of each party. 1 | |
Privacy Policy the Service. By using the Service, You agree to the collection and use of information in accordance ... files that are placed on Your computer, mobile device or any other device by a website, containing ... individuals employed by the Company to facilitate the Service, to provide the Service on behalf | |
BIRT/ODA ObjectDB Driver. For step by step instructions on using BIRT with ObjectDB see the Report Generation with BIRT ... extension. To install it: Open the Install dialog box by selecting Help Install New Software... . In ... . Select the ObjectDB BIRT/ODA feature. Complete the installation by clicking Next twice | |
Chapter 1 - Quick Tour this chapter in your IDE, see one of the following tutorials: These tutorials provide step - by - step ... This chapter demonstrates basic ObjectDB and JPA concepts by introducing a simple example program ... is represented by an object with two int fields, x and y , that store the point's x and y | |
Step 2: Define a JPA Entity Class (and its annotations) - the Point class is an ordinary Java class. The next step is adding to the project | |
UPDATE SET Queries in JPA/JPQL You can update existing entities, as explained in chapter 2 , by following these steps : Retrieve ... . Apply the changes to the database by calling the commit method. JPQL UPDATE queries provide ... queries increase the population of all countries by 10%: UPDATE Country SET population = population * 11 | |
JPA Entity Fields and final entity fields are always considered transient. You can declare other fields as transient by using ... -final entity field is persistent by default unless specified otherwise (for example, by using ... its methods or code. This state is reflected by its persistent fields, including fields inherited from | |
DELETE Queries in JPA/JPQL As explained in Chapter 2 , you can delete entities from the database by following these steps ... within an active transaction, either explicitly by calling the remove method or implicitly through a cascading operation. Apply changes to the database by calling the commit method. JPQL DELETE queries provide | |
JPA Core Types and inheritance relationships. Jakarta Persistence (JPA) 3 .2 Core Types Bootstrapping and Configuration ... . Use its static methods to create an EntityManagerFactory as the first step for accessing | |
JPA Metamodel API (an optional step when using ObjectDB), these methods return only known managed types. This includes ... a specific type by its Class instance: // Get a managed type (entity, embeddable or mapped super classes ... . Type interface hierarchy In the Metamodel API, types are represented by interfaces that extend the Type | |
Apache License, Version 2.0, January 2004 the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright ... and all other entities that control, are controlled by , or are under common control with that entity | |
Obtaining a JPA Database Connection In JPA, a database connection is represented by the EntityManager interface ... an EntityManager instance is a two- step process. First, you obtain an EntityManagerFactory instance ... directory, which by default is the directory where ObjectDB is installed. If a database file does not | |
JPA Class Enhancer The ObjectDB Enhancer is a post-compilation tool that improves performance by modifying ... directly accessing persistent fields of other classes. This practice is required by the JPA specification but not enforced by ObjectDB. Instead, use the accessor and mutator methods of the desired class | |
Eclipse Public License - v 1.0 additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or ... entity that distributes the Program. "Licensed Patents" mean patent claims licensable by | |
Literals in JPQL and Criteria Queries, -127L, 0L, 07777L float : 3 .14F, 0f, 1e2f, -2.f, 5.04e+17f double : 3 .14, 0d, 1e2D, -2., 5.04e+17 ... ) numeric literals. This feature is not supported by all JPA implementations. String literals JPQL ... , 'Adam' or '' ), and a single quotation mark within a string is represented by two single quotation | |
Strings in JPQL and Criteria Queries('India', 'a') is evaluated to 5 . LOCATE('Japan', 'a', 3 ) is evaluated to 4 . LOCATE('Mexico ... ' . TRIM(BOTH FROM ' UK ') is evaluated to 'UK' . By default, spaces are removed, but you can specify ... [, length]) function returns a portion of a string. For example: SUBSTRING('Italy', 3 ) is evaluated | |
ObjectDB Object Database Features Databases are also supported by ObjectDB. The combination of Object Database features ... (limited only by operating system resources). Unlimited CPUs and cores. Reliability and Stability Recovery from failure by using a recovery file and double writing. Additional recovery layer | |
ObjectDB Website - Terms and Conditions of Use 1. Terms By accessing and using this web site, you agree to be bound by these web site Terms ... from using or accessing this site. The materials contained in this web site are protected by ... of these restrictions and may be terminated by ObjectDB Software at any time. Upon terminating your viewing | |
JPA Criteria Queries queries: Criteria Queries Hierarchy in Jakarta Persistence (JPA) 3 .2 Instances of CriteriaQuery , CriteriaUpdate , and CriteriaDelete are first built by static methods ... to define SELECT, WHERE , GROUP BY , and ORDER BY clauses. To execute the query, pass the instance | |
Java EE JPA Tutorial - Maven Project The Java EE Web Application tutorial provides step by step instructions on how to build a simple Java/JPA database driven web application (for GlassFish 3 / JBoss 6) in Eclipse or NetBeans . Building a new application step by step is an effective way to learn - but  | |
jakarta.persistence.EntityManager Exception thrown by ConnectionFunction.apply , if any. Since: Jakarta Persistence (JPA) 3 .2 void ... the checked Exception thrown by ConnectionConsumer.accept , if any. Since: Jakarta Persistence (JPA) 3 .2 void ... via a call to close , to allow resources to be cleaned up by the persistence provider. This approach places | |
Entity Management Settings attribute specifies how non-enhanced classes are handled. ObjectDB can manage non-enhanced classes by ... . The valid values are "weak" , "soft" , and "strong" . Modified entities are always held by strong ... attribute specifies the size of the shared level-2 cache that is managed by | |
JPA Persistence Unit is optional when using ObjectDB but required by JPA. Programmatic configuration (PersistenceConfiguration) Starting with JPA 3 .2 , it is no longer mandatory to use a persistence.xml   ... useful for microservices, dynamic environments, or applications where configuration is managed by | |
Eclipse/JPA Java EE Tutorial: ObjectDB 2. 3 .7_04 or later is required if Glassfish 3 .1.2 (or later) is used. The Tutorial Steps This tutorial consists of the following steps : ... can sign the guestbook by filling a simple form. The visitors that have already signed are listed below the form: Persistence is managed by JPA. Every visitor that has signed the guestbook is represented | |
Numbers in JPQL and Criteria Queries. For example: MOD(11, 3 ) evaluates to 2 . MOD(8, 4) evaluates to 0 . The MOD function takes two integer ... function returns the square root of a specified argument. For example: SQRT(9) is evaluated to 3 SQRT(2 ... in the previous example, you can convert a number to a numeric expression by using the literal method. | |
NetBeans/JPA Java EE Tutorial later is required if Glassfish 3 .1.2 (or later) is used. The Tutorial Steps This tutorial consists of the following steps : ... . Every visitor can sign the guestbook by filling a simple form. The visitors that have already signed are listed below the form: Persistence is managed by JPA. Every visitor that has signed | |
JPA Tutorials, such as GlassFish 3 .0.1 or JBoss AS 6. Another tutorial shows how to use JPA in a Spring MVC Framework 3 web application: Spring MVC and JPA Maven Projects for Download The tutorials provide step by step instructions on how to create the sample applications. In addition, the sample applications | |
Eclipse/JPA Spring MVC Web Tutorial a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. The visitors that have already signed are listed below the form: Persistence is managed by JPA. Every visitor that has signed the guestbook is represented by a Guest JPA entity and all the Guest entities | |
Eclipse/JPA Web Application Tutorial. The demo web application manages a basic guestbook page. Every visitor can sign the guestbook by ... is managed by JPA. Every visitor that has signed the guestbook is represented by a Guest entity ... (just download and extract). The tutorial was written for Eclipse 3 .6.1 but it should work | |
[ODB1] Chapter 6 - Persistent Objects When a new object is constructed by the new operator, it always starts as a transient object, regardless of its type. Instances of persistent classes can become persistent later, as demonstrated by ... . Then it becomes persistent by an explicit call to the makePersistent( ... ) method. When a transient | |
[ODB1] Chapter 2 - A Quick Tour, step by step . Both sample programs are contained in ObjectDB's samples directory. 2.1   ... a list of strings in a database. 2 3 import java.util.*; 4 import javax.jdo.*; 5 import com ... ArrayList list; 18 try { 19 // Retrieve the list from the database by its name: 20 list = (ArrayList | |
JPA Web App Tutorial - Maven Project The JPA Web Application tutorial provides step by step instructions on how to build a simple ... . Building a new application step by step is an effective way to learn - but if you prefer ... ) If Maven is installed - extract the zip and run the application from the command line by | |
Getting Started with JPA - Maven Project The Getting Started with JPA tutorial provides step by step instructions on how to build a simple JPA database driven application in Eclipse or NetBeans . Building a new application step by step ... ) If Maven is installed - extract the zip and run the application from the command line by : mvn test | |
Spring MVC JPA Tutorial - Maven Project The Spring MVC JPA tutorial provides step by step instructions on how to build a simple Java/JPA Spring MVC database driven web application in Eclipse or NetBeans . Building a new application step by step is an effective way to learn - but if you prefer | |
[ODB1] Chapter 9 - ObjectDB Explorer. It is shipped as an executable jar that will run on any system with a Java 1. 3 JRE or later installed ... \odbfe.jar my.odb Some JVM arguments can be useful. For instance, by default Java does not use ... . Otherwise, the required executable jar would not be found by explorer.exe. By default, running explorer.exe | |
NetBeans/JPA Web Application Tutorial application manages a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. The visitors that have already signed are listed below the form: Persistence is managed by JPA. Every visitor that has signed the guestbook is represented by a Guest entity and all the Guest | |
NetBeans/JPA Spring MVC Web Tutorial manages a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. The visitors that have already signed are listed below the form: Persistence is managed by JPA. Every visitor that has signed the guestbook is represented by a Guest JPA entity and all the Guest entities | |
Getting Started with JPA and Eclipse). This tutorial was written for Eclipse 3 .6.1 but it should work with other Eclipse versions as well (dialog boxes and menus might look slightly different but the code would be the same). This tutorial consists of the following steps : | |
[ODB1] Chapter 7 - JDOQL Queries There are various ways to retrieve objects from an ObjectDB database, as shown in section 6. 3 ... result = (Collection)query.execute(); Queries are represented by the javax.jdo.Query interface. A Query instance is constructed by one of the PersistenceManager 's newQuery( ... ) methods. For example, in | |
[ODB1] Chapter 4 - JDO Metadata file. The metadata is used first by the JDO Enhancer, and later by the JDO ... ) By default, JDO manages an extent for every persistent class. An extent enables iteration ... in terms of time and storage space. When extent management is not needed, it can be omitted by | |
[ODB1] Chapter 5 - JDO Connections consumes. Database connections are managed in JDO by the javax.jdo.PersistenceManagerFactory interface ... . The functionality of PersistenceManager instances returned by the getPersistenceManager() method ... properties. Using a Properties File Properties can also be specified in a file, as demonstrated by | |
[ODB1] Chapter 8 - ObjectDB Server An ObjectDB server can manage one or more databases. Databases that are managed by a server can be accessed by multiple processes simultaneously. In addition, the server supports accessing these databases from remote computers by TCP/IP. More details about client server mode vs. embedded database | |
Java EE Web Tutorial (session beans) it requires a full Java EE 6 application server, such as GlassFish 3 .0.1 or JBoss AS 6 ... can sign the guestbook by filling a simple form. The visitors that have already signed are listed below the form: Persistence is managed by JPA. Every visitor that has signed the guestbook | |
[ODB1] Chapter 1 - About ObjectDB Compliant ObjectDB is compliant with the JDO (Java Data Objects) standard, developed by Sun ... DB2 and Microsoft SQL Server. In addition, by using JDO you are backed up by a large community ... move your application to other platforms (Windows, Unix, Macintosh and almost any other platform), simply by taking | |
ObjectDB 1.0 Manual technology by Sun Microsystems. The main purpose of this guide is to familiarise you with ObjectDB ... on programming with ObjectDB and JDO: Chapter 3 - Persistent Classes Explains what a persistence capable class is and which types are supported by JDO. Chapter 4 - JDO Metadata Shows how to define JDO |