ObjectDB Database Search

1-50 of 200 results

Schema Update

creates new , separate persistable classes with no instances. Therefore, you should back up your database ... ... ... A element has two roles: If you specify the optional new -name attribute, the package name changes from the original name (specified by the required name attribute) to the new name. All classes in

Database Explorer

the same tree path (that is, the object is an ancestor of itself). To open a new viewer window ... a new viewer window by using the Window Open Tree Window and Window Open Table Window commands ... an editor. New entities To create and store new entities, open the Create New Entities dialog box by using

Database Schema Evolution

to the persistent fields of an entity class. New entities must be stored using the new class schema, and old entities, which were stored using the old class schema, must be converted to the new schema. Note ... to the new schema only when that entity is stored in the database again. An entity is converted

Database Management Settings

for each new database file. The resize attribute specifies the size by which to extend the database ... of concurrent threads that the database engine can serve simultaneously. When this maximum is reached, new ... thread competition. The element The element specifies how newly defined indexes are handled. When a new

Storing JPA Entities

Using Jakarta Persistence (JPA) You can store new entities in the database either explicitly by ... code stores an Employee entity class instance in the database: Employee employee = new Employee ... , and its initial state is New . An explicit call to persist associates the object with an owner EntityManager , em

Retrieving JPA Entities

the persistence context, JPA constructs a new object and populates it with data from the database or the Level 2 (L2) cache, if enabled. JPA then adds the new entity to the persistence context as a managed entity and returns it to the application. The construction of a new managed object during retrieval

Database Doctor

database file : Creates a new database file and copies all recoverable data from the corrupted file to the new file. Corrupted database files Database files can be damaged or corrupted ... , specify two command-line arguments: $ java -cp objectdb.jar com.objectdb.Doctor old.odb new .odb

Eclipse Public License - v 1.0

reserves the right to publish new versions (including revisions) of this Agreement from time to time ... the Agreement Steward to a suitable separate entity. Each new version of the Agreement ... subject to the version of the Agreement under which it was received. In addition, after a new version

JPA Shared (L2) Entity Cache

and then added to the shared cache. On commit : New and modified entities are added to the shared cache ... .storeMode property specifies whether to add new data to the cache on commit and retrieval ... updated with new data. CacheStoreMode . USE : New data is stored in the cache, but only for entities

BIRT/ODA ObjectDB Driver

extension. To install it: Open the Install dialog box by selecting Help Install New Software... . In ... when using client-server mode. ObjectDB/JPA data source To create an ObjectDB data source: Open the New ... and selecting New Data Source . Select ObjectDB Data Source from the list of available data source types

SELECT clause (JPQL / Criteria API)

class is specified in a NEW expression, as follows: SELECT NEW example.CountryAndCapital(c.name, c ... NEW example.CountryAndCapital(c.name, c.capital.name) " + "FROM Country AS c"; TypedQuery query = em ... the NEW state , which means that they are not managed. Such entities lack the JPA functionality

Privacy Policy

;with news , special offers and general information about other goods, services and events ... Our Privacy Policy from time to time. We will notify You of any changes by posting the new Privacy ... about this Privacy Policy, You can contact us by visiting this page on our website: https://www.objectdb.com/post/ new ?op= new

Query Parameters in JPA

with different parameter values is more efficient than using a new query string for each execution ... strings, and each new query string requires its own compilation, which is inefficient. In contrast ... , compiled query program if one is available. This is true even if a new TypedQuery instance

JPA Optimistic and Pessimistic Locking

. Optimistic Locking ObjectDB maintains a version number for every entity. The initial version of a new ... ;an EntityManagerFactory , use the createEntityManagerFactory method: Map properties = new HashMap(); properties ... properties = new HashMap(); properties.put("jakarta.persistence.lock.timeout", 3000); EntityManager em = emf

JPA Persistable Types

, and date3 fields above might be initialized with new Date() , which contains both date and time. The time ... type that is already in use in an existing database. You can safely add new enum constants only at the end of the list, which gives them new , higher ordinal numbers. Alternatively, enum values

Step 2: Entity Class and Persistence Unit

the [ New Java Class] dialog box, e.g. by right clicking the project node (in the [Package Explorer] window) and selecting  New Class . Enter  guest as the package name - use  exactly that case ... class name. Click  Finish to create the new class. A new class that should represent Guest

Step 2: Entity Class and Persistence Unit

the project node (in the [Package Explorer] window), select  New Source Folder , enter src/main/java as Folder Name and click Finish . Open the [ New Java Class] dialog box, e.g. by right clicking the new source directory node (in the [Package Explorer] window) and selecting 

Step 4: Add a Controller Class

In this step we will add a Spring Controller to manage guestbook web requests: Open the [ New Java ... ) and selecting  New Class . The package name should be  guest . Enter  GuestController as ... the new Spring Controller class. Now replace the content of the new source file with the following code

Step 4: Add a Controller Class

In this step we will add a Spring Controller to manage guestbook web requests: Open the [ New Java ... New Java Class ... Enter GuestController as the class name - use exactly that case sensitive class name. The Package should be guest. Click Finish to create the new Spring Controller class. Now

Step 2: Entity Class and Persistence Unit

the [ New Entity Class] dialog box, e.g. by right clicking the project node (in the [Projects] window) and selecting New Entity Class ... (or New Other... Persistence Entity Class and clicking Next ). Enter ... - use exactly that case sensitive package name. Click Next to create the new entity class. In

Step 2: Entity Class and Persistence Unit

the [ New Entity Class] dialog box, e.g. by right clicking the project node (in the [Projects] window) and selecting  New Entity Class ... (or  New Other... Persistence Entity Class and clicking ... as the package name - use exactly that case sensitive package name. Click Next to create the new

Step 4: Add a Servlet Class

In this step we will add a servlet to manage guestbook web requests: Open the [ New Servlet] dialog box by right clicking the guest package node (in the [Projects] window) and selecting New Servlet ... package name should be guest. Click Finish to create the new servlet class. Now replace the content

Step 4: Add a Servlet Class

In this step we will add a servlet to manage guestbook web requests: Open the [ New Servlet] dialog box by right clicking the guest package node (in the [Projects] window) and selecting New Servlet ... package name should be guest. Click Finish to create the new servlet class. Now replace the content

Step 4: Add a Servlet Class

  New Other... Web Servlet and clicking  Next . The Java package name should be guest ... to create the new servlet class. Now replace the content of the new source file with the following code ... a new guest (if any): String name = request.getParameter("name"); if (name != null) { em

Step 2: Define a JPA Entity Class

the [ New Java Class] dialog box, e.g. by right clicking the project node (in the [Package Explorer] window) and selecting New Class . Enter guest as the package name - use exactly that case sensitive package ... to create the new class. The new class should represent Guest objects in the database. Use copy

Step 4: Add a Servlet Class

; New Other... Web Servlet and clicking  Next . The Java package name should be guest. Enter ... the new servlet class. Now replace the content of the new source file with the following code: package ... a new guest: String name = request.getParameter("name"); if (name != null) guestDao.persist( new

Step 3: Define an EJB Session Bean

that we will define in this step: Open the [ New Session Bean] dialog box by right clicking the guest package node (in the [Projects] window), selecting New Other... Java EE (or Enterprise JavaBeans) Session ... name. The Java package name should be guest. Click Finish to create the new session bean (EJB

Step 3: Define a Spring DAO Component

) that we will define in this step as a Spring MVC component: Open the [ New Java Class] dialog box by right clicking the guest package node (in the [Projects] window under Source Packages) and selecting New ... name. The Package should be guest. Click Finish to create the new DAO Spring component class. Now

Step 3: Define a Spring DAO Component

) that we will define in this step as a Spring MVC component: Open the [ New Java Class] dialog box by right clicking the guest package node (in the [Package Explorer] window) and selecting  New Class ... that case sensitive class name. Click  Finish to create the new DAO Spring component class. Now

Step 2: Define a JPA Entity Class

the [ New Java Class] dialog box, e.g. by right clicking the project node (in the [Projects] window) and selecting New Java Class ... Enter Guest as the class name - use exactly that case sensitive class name ... to create the new class. Use copy and paste to replace the new source file content with the following

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 ... as a new server by clicking the New Runtime... button . Follow the instructions and specify the path

Step 3: Define an EJB Session Bean

that we will define in this step: Open the [ New Java Class] dialog box by right clicking the guest package node (in the [Package Explorer] window) and selecting New Class . The package name should be guest ... to create the new session bean (EJB) class. Now replace the content of the new source file

Step 2: Define a JPA Entity Class

the [ New Java Class] dialog box, e.g. by right clicking the tutorial package node (in the [Projects] window) and selecting New Java Class ... Enter Point as the class name - use exactly that case sensitive class name. The package name should be tutorial . Click Finish to create the new class. Use copy

Step 1: Create a Maven Web Project

We start by creating a new Maven-WTP dynamic web project in Eclipse: Open the [ New Project] dialog box, e.g. by using  File New Project... Select  Maven Maven Project and click  ... of the new created project is contained in a  pom.xml file that was created in the project main

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 ... runtime. Note: You may have to add GlassFish 3 as a new server by clicking the New Runtime... button

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]. We are not using that type of project in this tutorial but rather an ordinary Java Project. In the [ New

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook HTML output: Open the [ New JSP File ... ) and selecting New JSP ... Enter guest as the jsp file name - use exactly that case sensitive class ... Finish to create the new JSP file. Now replace the content of the new jsp file with the following

Step 3: Add a Context Listener Class

the EntityManagerFactory . To register a ServletContextListener : Open the [ New Listener] dialog box by right clicking the guest package node (in the [Package Explorer] window), selecting New ... the Finish button. Click Finish to create the new listener class. Now replace the content of the new

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 New Project... Select Java Java Application and click Next . Choose a Project Name (e.g. Tutorial ... of the ObjectDB installation directory and click Open . Now you should have a new NetBeans project

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 ... the project. The configuration of the new created project is contained in a pom.xml file that was created

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook page output: Open the [ New JSP File] dialog box by right clicking the Web Pages node (in the [Projects] window) and selecting New JSP ... to create the new JSP file. Now replace the content of the new jsp file with the following content: JPA

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook page output: Open the [ New JSP File] dialog box by right clicking the Web Pages node (in the [Projects] window) and selecting New JSP ... to create the new JSP file. Now replace the content of the new jsp file with the following content: JPA

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook page output: Open the [ New JSP File ...   New Other... Web JSP File and clicking  Next . Enter  guest as the jsp file name - use  exactly that case sensitive class name. Click  Finish to create the new JSP file. Now

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook HTML output: Open the [ New JSP File ... ), selecting  New Other... Web JSP File and clicking Next . The parent folder should be WEB-INF ...   exactly that case sensitive class name. Click  Finish to create the new JSP file. Now

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, e.g. by using File New Project... Select Business Intelligence and Reporting Tools Report Project and click Next : Enter a project name and click Finish : Now we can create a first report in the new

Step 3: Add a Context Listener Class

closing the  EntityManagerFactory . To register a ServletContextListener : Open the [ New File] dialog box by right clicking the guest package node (in the [Projects] window) and selecting New ... to create the new listener class. Now replace the content of the new source file with the following code

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook page output: Open the [ New JSP File ... New Other... Web JSP File and clicking Next . Enter guest as the jsp file name - use exactly that case sensitive class name. Click Finish to create the new JSP file. Now replace the content

Step 1: Create a Web Project

We start by creating a new NetBeans Web Application Project: Open the [ New Project] dialog box, e.g. by using File New Project... Select Java Web Web Application and click Next . Choose a Project ... : You may have to add Tomcat 6 as a new server by clicking the Add... button . Follow the instructions and specify

Step 2: Define a JPA Entity Class

on the project in the [Package Explorer] window and select New Class . Enter tutorial as the package ... the new class. Copy and paste the following code into the newly created Point class: package tutorial ... public String toString() { return String.format("(%d, %d)", this.x, this.y); } } The new class

Step 6: Set the Spring XML

of the  web.xml file with the following new content: spring org.springframework.web.servlet ... that file: Right click the WEB-INF node in the [Package Explorer] window, select  New Other... XML ... ; copy and paste to replace the content of the  spring-servlet.xml file with the following new