ObjectDB Database Search

1-50 of 200 results

Schema Update

- will create new , separate persistable classes with no instances. Therefore, you should backup ... ... ... A element has two roles: If the optional new -name attribute is specified, the package name is changed from the original name, which is specified by the required name attribute, to the new name

Database Schema Evolution

of an entity class are detected by ObjectDB. New entity objects have to be stored in the new class ... , have to be converted to the new schema. Note: In client-server mode the ObjectDB server must be restarted ... object is only updated to the new schema when that entity object is stored to the database

Database Explorer

is a descendant of itself in the tree). To open a new viewer window either write a query in the [Query ... ). You can open a new viewer window using the Window Open Tree Window and  Window Open Table ... of databases but it can also function as an editor. New Entity Objects To construct new entity objects

Database Management Settings

attribute specifies the initial size of every new database file. The resize attribute specifies ... is reached - new requests are pending until previous requests are completed. The optimal number ... indexes are handled. When a new index is defined for an existing entity class that already has instances

Storing JPA Entity Objects

New entity objects can be stored in the database either explicitly by invoking the persist method ... an instance of the Employee entity class in the database: Employee employee = new Employee("Samuel ... is New . An explicit call to persist associates the object with an owner EntityManager em and changes

Retrieving JPA Entity Objects

entity object is not found in the persistence context a new object is constructed and filled with data that is retrieved from the database (or from the L2 cache - if enabled). The new entity object ... . Notice that construction of a new managed object during retrieval uses the no-arg constructor

Database Doctor

of a corrupted ObjectDB database file Repairs a corrupted ObjectDB database file by creating a new ... to the new database file. Corrupted Database Files Database files may be damaged and become corrupted ... two command line arguments: $ java -cp objectdb.jar com.objectdb.Doctor old.odb new .odb The first argument

Query Parameters in JPA

with different parameter values (arguments) is more efficient than using a new query string for every query ... a parameter for the queried name, the new method embeds the name as a String literal ... its own query compilation, which is very inefficient. On the other hand, when using parameters, even if a new

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

Shared (L2) Entity Cache

to the shared cache. On commit - new and modified entity objects are added to the shared cache. JPA ... " property specifies if new data should be added to the cache on commit and on retrieval. The property ... . BYPASS - cache is not updated with new data. CacheStoreMode . USE - new data is stored in the cache

BIRT/ODA ObjectDB Driver

Developers extension. To install it: Open the [Install] dialog box by selecting Help Install New Software ... the [ New Data Source] dialog box by right clicking the Data Sources node in the [Data Explorer] window and selecting  New Data Source . Select ObjectDB Data Source from the list of available

SELECT clause (JPQL / Criteria API)

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

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

Locking in JPA

object. The initial version of a new entity object (when it is stored in the database for the first ... - using the  createEntityManagerFacotory method:   Map properties = new HashMap();   ... ); For an EntityManager  - using the createEntityManager method:   Map properties = new HashMap

JPA Persistable Types

above may be initialized as new Date() , i.e. with both date and time. Their time part is discarded ... database. New enum fields can be added safely only at the end (with new higher ordinal numbers

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

closing 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 ... All to enable the Finish button. Click Finish to create the new listener class. Now replace the content

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

down), by 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

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