ObjectDB Database Search

1-50 of 200 results

Database Management Settings

and for 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 for each new database file . The resize attribute specifies the size by which to extend the database

Database Transaction Replayer

ObjectDB can record its internal engine operations in special binary recording files (journal files ). Recording is disabled by default and can be enabled in the configuration . The ObjectDB Replayer ... When recording is enabled , ObjectDB maintains a recording directory for each database file . The name

Programatic configuration or configuration file loaded from classpath or file

/jpa/setting . However, I have a dynamic environment and don't want to place the configuration file in ... ;programmatically? b) Is it possible to place the configuration file in my own jar and have it loaded by ... , it must be read from the configuration file . b) ) Is it possible to place the configuration file in

virtual servers and one file

where the hard drives are also virtualized. From a certain size of the objectdb file (approx. 1.5 GB ... files access and only part of the virtual file is in the virtual server's cache. Have you ever heard ... that's a crutch. Could there be a way in the future to split the database across multiple files ? Thank

Unable to delete the .odb file programatically

Hi, I created the test.odb file , read the contents and now trying the delete the odb file using objectd2.x. I see the folder there are two files created test.odb and test.odb$. Using the following code to delte the odb files     PersistenceManager pm = (PersistenceManager

Failed to read DB file while online backup is running

and also write) failed with an exception during an online backup of the same DB file was running and was close ... ._JdoUserException: Failed to read from file '/path_to_db/dbFile.odb' NestedThrowables: java.io ... by: com.objectdb.o._JdoUserException: Failed to read from file '/path_to_db/dbFile.odb

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

Database Files

Hi.  According the docs, "Every transaction commit is first written to the recovery file and then to the database".  During my testing, every time I make a transaction the recovery file keeps growing, but the actual odb file never changes unless I restart the server.  The  .odr

Unable to convert 1.x odb file to 2.x

well, but then on converting 1 of the DB files I got this error: java -jar converter.jar ../old.odb ../new.odb ObjectDB 1.0 - 2.0 file conversion Exception in thread "main" java.lang.RuntimeException: Internal Exception ... ) Please advice how to solve this. jakab Gergely Jakab I tried the conversion on another odb file

mapping file is not being loaded

a simple configuration file to determine available persistence units, and then bootstraps ... (again, obtained from the configuration file ). After the entity manager factory is obtained, the Metamodel is empty - none of the entities referenced in the mapping file are present in the Metamodel

zip file or JAR manifest missing

I found the message: Error opening zip file or JAR manifest missing: /E:/projects/ObjectDB/bin ... more Error opening zip file or JAR manifest missing: /E:/projects/ObjectDB/bin/objectdb.jar ... : Error opening zip file or JAR manifest missing: /E:/projects/ObjectDB/bin/objectdb.jar gzdillon Lai

Logging archive contains non-objectdb log files

Hi, I'm dealing with problem, that objectdb's log archive folder contains several other log files which are not part of objectdb. We use single location for our application log files and also objectdb log files . When application crashes or retarts, we noticed that several of our log files reside

multiple different applications access one odb file

Hi, is it possible to access one odb file from different applications? What we would like to accomplish. We have one app (runs on Wildlfy server) and it uses xyz.odb DB file . The other two apps ... addon connects to the odb file , could it be adapted to make queries to the database. The customer

DB Explorer and Doctor unable to open DB file

Hi, one of my DB files can not be open by neither DB explorer, nor the DB Doctor. Both are writing ... ; My application can work with the DB file without difficulties though (reading and storing the embedded type ... and converted this DB file to the new format. Any ideas how to resolve this ? jakab Gergely Jakab

Database(*.odb) file size on disk

Hello, we have questions about the file size of ObjectDB database on disk. Can you tell us something about how the deleting of entities affects the size of *.odb files on disk? -Will the released memory always used by new entities? -Will be the database file automatically reduced?  

Failed to write to ObjectDB log file

I get an Error message: Failed to create a new file 'file:C:\Programme\Cytoscape_v2.8.3\plugins ... to create a log file at the default path. Possible solutions: Change the location of the log files ... specifying empty path. Then, zipped back into objectdb.jar file . Now it works fine. Thanks!  marcins Marcin

Server Configuration

is also affected by other elements in the configuration file , such as the and elements. The default configuration file contains the following element: The element The element specifies how clients can connect ... server. Every database file in the data directory and its subdirectories can be accessed by the server

Schema Update

refactoring. You specify only these schema changes in the configuration file . As explained in ... files before renaming or moving persistable classes. You must also verify that after making ... configuration file contains an empty element. If this element is not empty, ObjectDB tries to apply

JPA Lifecycle Events

only in a mapping XML file , such as orm.xml ; there is no equivalent annotation: This mapping file

Storing JPA Entities

XML element in the XML mapping file : The mapping file must be in the default location, META-INF/orm

ObjectDB License Agreement [ver. 2.0.4]

and objects in a database file . The full edition of the Software (without the restrictions ... an ObjectDB OEM license and it has not expired. Only the ObjectDB runtime jar file is distributed

Index Definition

files . When an entity is stored in the database, every indexed field must contain either null or a value ... is an ordered map data structure that ObjectDB maintains in the file system, not in memory. The B

Database Replication and Clustering

with the appropriate elements in its configuration file : The url attribute of the element specifies

Use temporary files to enable very large transactions

further version. Can you implement it that ObjectDB used temporary files ? btc_es BTC EmbeddedSystems ... which this data is written to a temporary file . Even without speed optimizations, but with priority ... EmbeddedSystems Although ObjectDB already uses temporary files for many activities (e.g. processing large query

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

File lock exception on odb$

objectdb were not shutdown properly which in turn meant we had several odb$ files left behind. I ... below. No other process had a lock on the file , especially as the server had just been rebooted and the os allowed us to delete the files in question without any problem. In this case we weren't

Multiple files support for search and persist

to seperate files ( Each file is binded to different disk ) How can i configure objectdb for multiple files ? is there any example ?   eix128 Kadir BAŞOL An ObjectDB database is a single file ... much more complicated). Currently you may be able to improve performance by: moving other files that ObjectDB use (e

Can't open DB-file with explorer, but from within my code it works

): 1) my recent db- file , created with the old-version, has been copied to the local db-folder of the new version automatically 2) But I can't open the db- file with the objectDB explorer ... - file programatically (from within my code) without any errors 4) the db doctor ends without error

ObjectDB tries to create a File in a localtion without write access

Hello, if we install our Product into the windows Program Files directory which have by default ... : Failed to create a new file 'IndexManager_12.mrg_filter' at com.objectdb.o._PersistenceException.b ... :78) ... 25 more Caused by: com.objectdb.o.UserException: Failed to create a new file 'IndexManager

Database File Compression

ObjectDB database files are usually smaller than database files of other Database Management ... . Usually smaller files are also faster because less I/O operations are required and memory cache ... . So the effect of using compressed ObjectDB database file on performance is unknown yet. support Support

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 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 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 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

Report Generation with BIRT and JPA

simple as possible - we will use the basic  points.odb ObjectDB database file from the Getting Started tutorial. The database file contains 1,000 Point entities, which represent points on the line y

Step 2: Define a JPA Entity Class

and paste to fill the new source file with the following content: package tutorial; import java.io ... indicates that a persistence unit definition in an XML file is missing. This is discussed in the ObjectDB

JPA Web App Tutorial - NetBeans Project

To open and run the  JPA Web Application tutorial project in NetBeans: Download and extract the project zip file : JPA Web App - Maven Project (6KB) Open the Maven project in NetBeans: Select  File Open Project... . Select the  guestbook-web directory and click  Open

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 ... ] window and select Add Jar/Folder... Select the objectdb.jar file from the bin subdirectory

Eclipse/JPA Spring MVC Web Tutorial

. Therefore, required JAR files (ObjectDB, Spring Framework) will be downloaded automatically during build

JPA Web App Tutorial - Maven Project

.xml file ) and port 8080 has to be available for the Jetty embedded server. No need to download

Step 4: Add a Controller Class

the new Spring Controller class. Now replace the content of the new source file with the following code

Step 4: Add a Servlet Class

to create the new servlet class. Now replace the content of the new source file with the following code

Step 3: Add a Context Listener Class

source file with the following code: package guest; import javax.persistence.*; import javax.servlet

Getting Started with JPA and Eclipse

distribution zip file . The distribution zip contains everything necessary (no external dependencies

Java EE JPA Tutorial - Maven Project

. You will have to deploy the generated WAR file in your GlassFish server. You may also open and run the Maven