Internal Website Search

1-50 of 200 results

Database Management Settings

on the server side and in embedded mode. The default configuration file contains the following element:    The element The element specifies the database file and page size settings: The initial attribute specifies the initial size of every new database file . The resize attribute specifies

Database Doctor

database file Checks a given ObjectDB database file , verifies that it is healthy and valid, and if the file is not valid (it is corrupted), produces a detailed diagnosis report of all the errors. Repair of a corrupted ObjectDB database file Repairs a corrupted ObjectDB database file by creating a new

Database Transaction Replayer

ObjectDB can record its internal engine operations in special binary recording (journal) files ... & Recording Files When recording is enabled , ObjectDB maintains for every database file a recording directory whose name is the name of the database file with the odr (ObjectDB Recording) suffix. By

Database Explorer

. Running the Explorer The ObjectDB Explorer is contained in the explorer.jar executable jar file , which is located in the bin directory of ObjectDB. It depends on the objectdb.jar file . You can run ... the shell file , setting the paths to the objectdb.jar file and to the JVM). Connecting to the Database

JPA Persistence Unit

a persistence.xml file , which has to be located in the META-INF directory in the classpath. One persistence.xml file can include definitions for one or more persistence units. The portable way ... a persistence unit. The following persistence.xml file defines one persistence unit: My Persistence Unit com

General Settings and Logging

side and the client side. The default configuration file contains the following element:    The element To meet memory constraints ObjectDB can use temporary files when processing large data, such as query results that contain millions of objects. The element specifies temporary file settings

SSL Configuration

in client-server mode, for both the client side and the server side. The default configuration file ... and Truststore Files To use SSL you have to generate at least two files : A Keystore file that functions as a unique signature of your server. This file contains general details (such as a company name

Chapter 6 - Configuration

The ObjectDB configuration file contains one root element with seven subelements ... , the configuration file is loaded from $objectdb/objectdb.conf where $objectdb represents the ObjectDB home ... ) is derived from the location of the objectdb.jar file . It is defined as the path to the directory in

Online Backup

An ObjectDB database can be backed up by simply copying or archiving the database file ... ), since an ObjectDB database is stored as an ordinary file in the file system.  ObjectDB ... directory and the backup database file itself is created in that subdirectory with the name

Apache License, Version 2.0, January 2004

to software source code, documentation source, and configuration files . "Object" form shall mean any form ... to You under this License for that Work shall terminate as of the date such litigation is filed . 4. Redistribution ... ; and You must cause any modified files to carry prominent notices stating that You changed the files

JPA Class Enhancer

the objectdb.jar file . You can run it from the command line as follows: java -cp objectdb.jar com ... to the objectdb.jar file and to the JVM. A usage message is displayed if no arguments are specified ... ) in the CLASSPATH - path to class or jar file (s), *? wildcards supported include: -cp   : 

Database Connection using JPA

. If the database does not yet exist a new database file is created. When the application is finished using ... the EntityManagerFactory closes the database file . Connection URL The createEntityManagerFactory method takes as ... ), an absolute path or a relative path of a local database file has to be specified (e.g. "my.odb

Server User List

file contains the following element: The elements ... ... Every user is represented by a single element ... file permissions are granted. The comma separated string value may contain the following permissions ... of a database. create - permission to create new subdirectories and database files . delete - permission

ObjectDB Object Database Features

mode. Capabilities and Limitations Database file size up to 128 TB (= 131,072 GB = 134,217,728 MB). Up to 2,147,483,648 entity classes per database file . Up to 2,147,483,648 indices per database file . Up to 9,223,372,036,854,775,808 entity objects per database file . Unlimited database connections

Server Configuration

is affected also by other elements in the configuration file , particularly the and the configuration elements. The default configuration file contains the following element:   The element The element ... to the document root directory of a web server. Every database file in the data directory and in

Obtaining a JPA Database Connection

to get an EntityManager instance. JPA requires the definition of a persistence unit in an XML file in order ... persistence unit in an XML file or you can simply provide the file path of the ObjectDB database ... an argument, but when using ObjectDB, any valid database file path (absolute or relative

Is ObjectDB scalable? What are its limitations?

supports: Database file size up to 128 TB (= 131,072 GB = 134,217,728 MB). Up to 2,147,483,648 entity classes per database file . Up to 2,147,483,648 indexes per database file . Up to 9,223,372,036,854,775,808 entity objects per database file . Unlimited database connections (limited by operating system resources).

Schema Update

refactoring. Only these schema changes are specified in the configuration file . As explained in chapter 2 ... your database files before renaming or moving persistable classes and you must verify that after such changes ... configuration file contains an empty element. If the element is not empty ObjectDB tries to apply

JPA Named Queries

Country { ... } Note: Named queries can be defined in JPA XML mapping files instead of using the @NamedQuery annotation. ObjectDB supports JPA XML mapping files , including the definition of named queries. But, because mapping files are useful mainly for Object Relational Mapping (ORM) JPA providers

Privacy Policy

files that are placed on Your computer, mobile device or any other device by a website, containing ... . The technologies We use may include: Cookies or Browser Cookies:  A cookie is a small file ... electronic files known as web beacons (also referred to as clear gifs, pixel tags, and single-pixel

How to install ObjectDB?

ObjectDB is distributed as a zip file . Just download and extract the ObjectDB distribution zip file . No need to run any install or setup program. You can uninstall ObjectDB by deleting the ObjectDB directory. ObjectDB does not modify the registry or any other system file .

[ODB1] Chapter 8 - ObjectDB Server

mode are discussed in Section 1.2 . Because the JDO API and the format of the database file ... application, packaged in the odbse.jar file . The jar file contains the entire ObjectDB ... the odbse.jar file on both the client and the server machines. This section explains how to run

[ODB1] Chapter 9 - ObjectDB Explorer

is packaged in the main ObjectDB development jar file (odbfe.jar / odbee.jar / odbse.jar), located in ObjectDB's lib directory. Because this file is an executable jar, on most systems, you can double click ... is recommended, copy the file to the bin subdirectory, edit the copy and use it to start Explorer. In

Step 6: Set the Spring XML

of the Spring dispatcher servlet to the  web.xml configuration file and to configure that servlet using another xml configuration file . Open the  web.xml file (under src/main/webapp/WEB-INF) in a text ... of the  web.xml file with the following new content: spring org.springframework.web.servlet

Step 6: Set the Spring XML

of the Spring dispatcher servlet to the web.xml configuration file and to configure that servlet using another xml configuration file . Open the web.xml file (under Web Pages WEB-INF) in a text editor (by right ... ). Use copy and paste to replace the default content of the web.xml file with the following new content

Step 2: Entity Class and Persistence Unit

and paste to replace the new source file content with the following code: package guest; import java.io ... a META-INF/persistence.xml file : Open the [New Folder] dialog box, e.g. by right clicking the project ... , select New File , enter persistence.xml as file name and click Finish . Verify that a new

Step 2: Entity Class and Persistence Unit

the [Provider and Database] step just click Finish to generate a default persistence.xml file ... to replace the new source file content with the following code: package guest; import java.io ... JPA persistence unit (with default settings) was generated in a persistence.xml file that was added

Step 2: Entity Class and Persistence Unit

and paste to replace the new source file content with the following code: package guest; import ... by setting a  META-INF/persistence.xml file : Right click the src/main/resources node (in ... Explorer] window, select  New File , enter  persistence.xml as file name and click 

Step 1: Create a Maven Web Project

. 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 under Project Files in the [Project] window: To add dependency on the Spring MVC Framework and ObjectDB

Step 2: Entity Class and Persistence Unit

file with a default persistence unit (that will be configured later). If the Finish button is disabled ... to replace the new source file content with the following code: package guest; import java.io ... JPA persistence unit (with default settings) was generated in a persistence.xml file that was added

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 (to prevent direct access to the JSP bypassing Spring). Enter  guest as the jsp file name - use

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

[ODB1] Chapter 5 - JDO Connections

). javax.jdo.option.ConnectionURL Specifies a database location. To access a database file directly ... instance, based on the specified properties. Using a Properties File Properties can also be specified in a file , as demonstrated by the following properties file : javax.jdo.PersistenceManagerFactoryClass

[ODB1] Chapter 2 - A Quick Tour

of a single source file , HelloWorld.java , containing a single class: 1 // A simple program that manages ... (line 5). Lines 11-14 A PersistenceManager instance representing a local database file , hello.odb ... file does not exist in that path, a new database file is created automatically. To enable updating

[ODB1] Chapter 4 - JDO Metadata

A JDO metadata file is an XML file with a '.jdo' suffix, containing information about one or ... file . The metadata is used first by the JDO Enhancer, and later by the JDO system. Therefore, at deployment, .jdo metadata files must be packaged with an application's .class files

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 4: Run the Application

) and selecting Run File . The expected output in the [Output] window, is: Total Points: 1000 Average X: 499 ... , a new ObjectDB database file is generated in the db subdirectory under the ObjectDB installation directory. Running the application again will use the existing database file to store an additional

Spring MVC JPA Tutorial - IntelliJ Project

zip file : Spring MVC JPA - Maven Project (8KB) Open the project in IntelliJ IDEA: Select  File ... the Server: Select  File Settings Application Servers . Add Tomcat 6 Server if not set already (Tomcat ... +F10 ). If the browser fails to open check the settings at  File Settings Web Browsers .

Step 1: Create a Maven Web 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 ... files from Maven repositories - open the  pom.xml file and in the pom.xml tab  use 

Step 7: Run the Spring Web App

the content of the index.jsp file (which serves as the default front page) with the following ... ; persistence.xml file - instead of RESOURCE_LOCAL you will have to specify  JTA . To enable on the fly ... without specifying a Java agent. Since we are using ObjectDB in embedded mode - the database file

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 ... ... 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 of the new jsp file with the following content: JPA

Step 4: Run the Application

You can now run the application by right clicking the Main.java file (in the [ Package Explorer ... ) When you run the application for the first time, a new ObjectDB database file is generated in the db sub ... the existing database file to store an additional 1000 objects. You can view the content of the database file

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 ... ... 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 of the new jsp file with the following content: JPA

JPA Web App Tutorial - IntelliJ Project

and extract the project zip file : JPA Web App - Maven Project (6KB) Open the project in IntelliJ IDEA: Select File Open Project... . Select the guestbook-web directory and click OK . Define the Server: Select File Settings Application Servers . Add Tomcat 6 Server if not set already (Tomcat

Java EE 6 JPA Tutorial - IntelliJ Project

: Download and extract the project zip file : Java EE JPA Web App - Maven Project (7KB) Open the project in IntelliJ IDEA: Select  File Open Project... . Select the  guestbook-jee6 directory and click  OK . Define the Server: Select  File Settings Application Servers . Add

Step 7: Run the Spring Web App

the content of the index.jsp file (which serves as the default front page) with the following ... the persistence.xml file - instead of RESOURCE_LOCAL you will have to specify JTA . Since we are using ObjectDB in embedded mode - the database file is created under the Tomcat directory. You can stop the Tomcat

[ODB1] Chapter 3 - Persistent Classes

has to: be declared in a JDO metadata file in XML format. include a no-arg constructor. implement ... class for this purpose (images can also be stored as external files , storing only the file names or ... the byte code of compiled classes. Classes to be enhanced must be located in class files and not in

Step 1: Create a Java EE 6 Web Project

box, e.g. by using File New Project... Select Web Dynamic Web Project and click Next . Choose ... dynamic web project. To add ObjectDB/JPA support to the project, drag the objectdb.jar file from the file system and drop it in the WebContent/WEB-INF/lib node in the Eclipse Project Explorer

[ODB1] Chapter 1 - About ObjectDB

the ObjectDB and JDO jar files with you. You can even run your application on small devices like ... . The database file is accessed directly by the application's process, using JDO and ObjectDB jar files that are added to the application's classpath. In this mode, the database file is locked for a single