ObjectDB Database Search
51-100 of 200 resultsEclipse Public License - v 1.0 OF THIS AGREEMENT. 1 . DEFINITIONS "Contribution" means: a) in the case of the initial Contributor, the initial ... 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 | |
Eclipse Distribution License - v 1.0 this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT | |
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] of this agreement will be binding, unless in writing and signed by an authorized representative of each party. 1 ... Please read carefully this software license agreement. By downloading, installing or using ... other humanly perceivable form. The Customer will use its best efforts and take all reasonable steps | |
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 | |
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 | |
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 | |
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 | |
[ODB1] Chapter 1 - About ObjectDB this guide is supported by all the editions, unless explicitly specified otherwise. 1 .4   ... . It has a small footprint, high performance, and a flexible architecture ( 1 -Tier, 2-Tier or N-Tier). 1 . 1 Why ObjectDB? There are many benefits to using ObjectDB. This section describes some | |
ObjectDB 1.0 Manual technology by Sun Microsystems. The main purpose of this guide is to familiarise you with ObjectDB and JDO in a very short time. Guide Structure The first two chapters introduce ObjectDB: Chapter 1 ... class is and which types are supported by JDO. Chapter 4 - JDO Metadata Shows how to define JDO | |
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 | |
Database Explorer and primary key, separated by a hash symbol ( # ), for example, Point# 1 . Use Edit Set Reference Set to New ... the object by its type and primary key, separated by a hash symbol ( # ), for example, Point# 1 . Use Edit ... , you must specify the path to the file. Alternatively, you can run the Explorer by double-clicking explorer.jar | |
Apache License, Version 2.0, January 2004 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1 . Definitions . "License" shall mean 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 | |
Retrieving JPA Entities 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 ... object with a primary key of 1 : Employee employee = em. find (Employee.class, 1 ); You do not need | |
JPA Optimistic and Pessimistic Locking with this mode marks the clean entity as modified (dirty) and increments its version number by 1 ... . When you use ObjectDB, optimistic locking is enabled by default and is fully automatic. Optimistic ... entity is 1 when it is first stored in the database. In every transaction where an entity  | |
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 | |
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 | |
Query Parameters in JPA a Country object from the database by its name: public Country getCountryByName( EntityManager em ... a value for the parameter by using the setParameter method. The setParameter method supports method chaining by returning the TypedQuery instance on which it was invoked. This allows you to chain | |
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 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 | |
JPA Shared (L2) Entity Cache a second-level (L2) cache of entities, which is managed by the EntityManagerFactory and shared by ... and are shared by all EntityManagerFactory and EntityManager instances for that database ... value. Persistence Unit Settings You can also enable or disable the shared cache by using a persistence | |
SELECT clause (JPQL / Criteria API) query returns Country objects, which then become managed by the EntityManager instance em : TypedQuery ... directly. However, you can add their content to the SELECT clause by using a bound JOIN variable in ... with the containing entities. Therefore, embedded objects that are retrieved directly by a result path expression | |
Storing JPA Entities Using Jakarta Persistence (JPA) You can store new entities in the database either explicitly by ... . The exception is thrown either by persist , if the existing entity is currently managed by the EntityManager , or by commit . Referenced embedded objects The following code stores an Employee instance | |
jakarta.persistence.criteria.CriteriaBuilder Persistence (JPA) 1 .0 Order desc ( Expression expression , Nulls nullPrecedence ) Create an ordering by ... position of first character if found. The first position in a string is denoted by 1 . If the string ... if found. The first position in a string is denoted by 1 . If the string to be located is not found, 0 | |
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 | |
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 ... (just download and extract). The tutorial was written for Eclipse 3.6. 1 but it should work | |
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 | |
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 | |
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 6 - Persistent Objects Persistence objects represent data in the database. 6. 1 Making Objects Persistent In ... 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 | |
[ODB1] Chapter 2 - A Quick Tour, step by step . Both sample programs are contained in ObjectDB's samples directory. 2. 1   ... , but without specifying a name (as done by the bind( ... ) method in section 2. 1 ). This is the JDO portable way ... of the second run is expected to be: Hello World 0 Hello World 1 After two runs, the database contains | |
[ODB1] Chapter 9 - ObjectDB Explorer databases. 9. 1 Running the Explorer The Explorer is a pure Java GUI application. 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 | |
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 : | |
Getting Started with JPA and NetBeans). The tutorial was written for NetBeans 6.9. 1 but it should work with other NetBeans 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. One of the useful string methods that is not supported by JDO 1 .0 but supported in ObjectDB ... a specified order. 7. 1 Introduction to JDOQL A basic JDOQL query has the following ... result = (Collection)query.execute(); Queries are represented by the javax.jdo.Query interface. A Query | |
[ODB1] Chapter 4 - JDO Metadata file. The metadata is used first by the JDO Enhancer, and later by the JDO ... and the other resources (possibly in a jar file). 4. 1 JDO Metadata Files During JDO enhancement and later ... ) 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 and deleting database objects, are provided in the next chapter ( Chapter 6 ). 5. 1 javax ... consumes. Database connections are managed in JDO by the javax.jdo.PersistenceManagerFactory interface ... . The functionality of PersistenceManager instances returned by the getPersistenceManager() method | |
[ODB1] Chapter 3 - Persistent Classes . The JDO specification refers to persistent classes as persistence capable classes . 3. 1   ... 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 |