ObjectDB Database Search
51-100 of 200 resultsObjectDB License Agreement [ver. 2.0.4] 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 ... of this agreement. 2 . The Customer is not allowed to modify the Software or any portion of it in any | |
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 | |
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 | |
ObjectDB 2.9 Developer's Guide proficient in a short time. After reading this guide you may want to extend your knowledge of JPA by reading a book on JPA. | |
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 | |
Chapter 2 - JPA Entity ClassesExplains how to define and use JPA entity classes and other JPA persistable types. | |
Step 7: Run the Spring Web App - you should be able to run your application now by selecting Run Run Main Project from the main menu (or ... enabled without specifying a Java agent. This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual . | |
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 | |
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 | |
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 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 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 | |
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 | |
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 | |
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 | |
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 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 | |
JPA Persistable Types are represented in queries by entity names . By default, the entity name is the unqualified name ... can be set explicitly by using the name attribute of the @Entity annotation: @Entity ( name ="MyName ... is declared as embeddable by marking it with the @Embeddable annotation: @Embeddable public class Address | |
Retrieving JPA Entities the Level 2 (L2) cache, if enabled. JPA then adds the new entity to the persistence context as a managed ... the no-argument constructors of entity classes and keep them as simple as possible. Retrieval by class and primary key Every entity can be uniquely identified and retrieved by the combination of its class | |
Database Management Settings for each new database file. The resize attribute specifies the size by which to extend the database ... can improve performance by reducing file fragmentation that can result from frequent resize operations. The page attribute specifies the size of a page in a database file. The default value of 2 KB | |
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 | |
JPA Primary Key and can be retrieved by the combination of its type and its primary key. Primary key values must be unique for each ... part of their containing entities and do not have a separate identity. Automatic primary key By default ... ( long ). The primary key of the first entity is 1, the second is 2 , and so on. Primary key values | |
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 | |
Managing JPA Entities when it is persisted to the database by using an EntityManager 's persist method, which must be invoked ... about making changes to entities. A managed entity can be marked for deletion by using ... is retrieval by refresh , which always requires database access. The main role of the persistence context | |
jakarta.persistence.EntityManager Exception thrown by ConnectionFunction.apply , if any. Since: Jakarta Persistence (JPA) 3. 2 void ... (JPA) 2 .0 T find ( Class entityClass , Object primaryKey , LockModeType lockMode ) Find by primary ... the checked Exception thrown by ConnectionConsumer.accept , if any. Since: Jakarta Persistence (JPA) 3. 2 void | |
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 applicable copyright and trade mark law. 2 . Use License Permission is granted to temporarily download | |
Strings in JPQL and Criteria Queries' . TRIM(BOTH FROM ' UK ') is evaluated to 'UK' . By default, spaces are removed, but you can specify ... to 'aly' . SUBSTRING('Italy', 3, 2 ) is evaluated to 'al' . Positions are one-based (as in SQL), not ... ); Expression l2 = cb. locate (path, "x"); Expression l3 = cb. locate (path, param, cb. literal ( 2 | |
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 ... (+) Expression sum1 = cb. sum (path, param); // 2 expressions Expression sum2 = cb. sum (path, 1000 | |
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 | |
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 | |
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 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 | |
[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 | |
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  | |
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\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 ... version to the same installation directory. 9. 2 Browsing the Database The ability | |
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 | |
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 | |
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 ... would be the same). The Tutorial Steps This tutorial consists of the following steps : | |
JPA Tutorials 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 | |
[ODB1] Chapter 7 - JDOQL Queries (and will be supported by JDO 2 .0) is the match( ... ) method. It provides string comparison using regular ... 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 ... . Therefore, only the first metadata for a class in the search order specified above has effect. 4. 2   ... ) By default, JDO manages an extent for every persistent class. An extent enables iteration | |
[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 | |
[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 3 - Persistent Classes). 3. 2 Persistent Fields and Types Storing a persistent object in the database does not store methods and code. Only the state of the object as reflected by its persistent fields is stored. Persistent fields, by default, are all the fields that are not defined as static , final or | |
[ODB1] Chapter 1 - About ObjectDB. It has a small footprint, high performance, and a flexible architecture (1-Tier, 2 -Tier or N-Tier). 1 ... 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 |