ObjectDB Database Search

1-50 of 132 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

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

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

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

Is redirecting the log file possible

I have the objectdb in the same directory as jdk in the Program Files directory (Win 11). This directory is protected by the O/S and therefore objectdb has problem creating its log file . Relaxing ... the EntityManagerFactory (or is it the EntityManager?) where to store the log- file

Explorer doesn't open file

Explorer doesn't open file ...see attached error message and odb.  Explorer doesn't cleanly ... Should add that Doctor doesn't find any issues and file works fine programmatically. russ0ne Russell Martin ... .Object , the file is opened in the Explorer? support Support Yes, you're right.  When I

Storing XML files in ObjectDB

Hello, Is it possible to store XML files in ObjectDB?   Thanks st.clair.clarke St Clair Clarke ObjectDB can be used to store any type of data including XML. For example, you can define ... class per element type. You can also store an entire non parsed XML file as string or byte[] in one entity object. support Support

Enhancer failure: Failed to process class file of type

Stack trace below:   [ObjectDB 2.7.1_02] Failed to process class file of type 'app.model.ClientSession' (error 422) com.objectdb.o.UserException: Failed to process class file of type 'app.model.ClientSession'         at com.objectdb.o.MSG.d(MSG.java:75

Failed to create a new file 'target\objectdb\log\archive' (error 112)

Hi, we are using ObjectDB 2.4.6_10 (embedded mode). The pre-registration of a data type (see below) fails because ODB can't create a new file in a non-existing folder hierarchy. The user ... .server:integration-test] Failed to create a new file 'target\objectdb\log\archive' (error 112) [11

Get database schema from objectDB file

I am a little bit confused about that Can someone explain what steps do I have to do in order to get the database schema in java given only the objectdb file ? i.e. database.odb ezazop Akis Zazopoulos See the JPA Metamodel API . support Support

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

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

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

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

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

Compare two schemas or odb files

For example, if we make a backup of our database it would be helpful to have the possibility to compare the backup schema (odb file ) with the current version in the database and as result we should get the difference between the two schemas. It would also be sufficient, if we can compare object

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

Replaying recorded requests...

get something like 500 lines of recordset information. Here is the relevant part of the config file ... directory has many files like this: mr.odb_nonclosed, mr_1.odb_nonclosed up to mr_10.odb_nonclosed 2. there is a directory mr.odr, with many files ending in .odr   So, questions: a) how can I

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 .

Database is erased after deploying a new web application version

application (WAR file ) and deploy it from Tomcat's manager, I get a new empty database. I assume ... . Yotam Yotam Boaz Where is your database located (i.e. what is the path to the database file ... you should move it to another directory. support Support Thanks for the quick reply. I've moved the file

Can I Disable the Creation of the "log" Directory?

thread titled, "Sample JDO Architecture for Follow Up Questions".   In the objectdb.conf file ... be disabled?   CBE CBE This may indicate that ObjectDB doesn't use the objectdb.conf file in ... ObjectDB as the log directory is in the  objectdb.conf file . See this manual page regarding

Filename.odb$ Persisting Issue

by Eclipse. I can't seem to manually terminate the file either. I usually have to fully close ... for all of those. So i'm still a bit confused on why this file lingers and why I can't delete it without waiting ... dependencies at this point since I use FXML files for all my UI. The problem I'm describing

Failed to commit transaction: Attempt to commit a rollback only transaction

state change to the database file . Is that possible?   dmoshal David Moshal I don't know. Check the database file with the ObjectDB Doctor and look for exceptions in the log file . support Support ... ; ObjectDB Doctor  on the old file and post the output? I don't think that switching from client

jakarta.persistence.EntityManagerFactory

may be defined by a persistence.xml file , or it may be defined at runtime

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

Activation Issue

Paul Edwards Please verify that your objectdb.conf file is used by the server. The activation setting ... a deliberate error (e.g. at the beginning of the file ) and try restarting the server. If the server starts with no errors - your configuration file is not used and probably misplaced. support Support

Database is locked when in use

the odb files in the file system but the same i was able to do it in object db 1.0. We supprt export ... the follwoing code     query.setParameter("target", new java.io. File ("c:\\backup")); And i want all the odb files to be placed in "backup" directory not backup/[timestamp] directory

Source not found error after downloading ObjectDB 2.3.7_04

for File PMF.class. I had added the zip file jdo_2.2.zip as source. Please help need to complete assg in ... time. I provided the zip file mentioned above. But them it throws an error that source not found.  Basically the PMF.class is compiled from PMF.java and in the source file I am not able to find

Configure ObjectDB in spring context

is to configure entire ObjectDB (optionally objectdb.conf too) in springs context.xml file so that I'd ... creating persistance.xml file . My previous database.xml (which is included in application-context.xml ... to keep this structure, and define all my database related properties in this file ... Can you help

General Performance Issues Illustrated with a Specific Method

(String address) { this.address = address; } } Persistence.xml file cHIMS com.objectdb.jpa.Provider ... seems broken. Please post it as an attachment. support Support Please find as a text file .   MOH-SL Ministry of Health Sri Lanka You should have sent a log file with only one query execution

jakarta.persistence.PersistenceContext.unitName

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceContext String unitName (Optional) The name of the persistence unit as defined in the persistence.xml file . If the unitName element is specified, the persistence unit for the entity manager that is accessible in JNDI

jakarta.persistence.PersistenceUnit.unitName

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceUnit String unitName (Optional) The name of the persistence unit as defined in the persistence.xml file . If specified, the persistence unit for the entity manager factory that is accessible in JNDI must have the same name. Default: "" Since: Jakarta Persistence (JPA) 1.0

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

[ODB1] Chapter 6 - Persistent Objects

are not described in the JDO metadata files , the enhancer identifies them as not persistent and does

ObjectDB 1.0 Manual

database files in the database explorer. Prerequisite Knowledge A prior knowledge of database programming

combined index not used

when you copy directories with many files in Windows, which is very inaccurate. Evaluating query plans ... are the statistics stored in the database file ? hgzwicker Hans-Georg Zwicker Yes. The statistic info is stored in the database file and only replaced with new info when that query is run

ArrayIndexOutOfBoundsException on flush

which blew out the logs: Attempt to commit a transaction after failure in writing to database file 'F ... to commit a transaction after failure in writing to database file 'F:\calculationservice\objectdb\dbs ... .objectdb.o.UserException: Attempt to commit a transaction after failure in writing to database file 'F

Why does ObjectDB duplicate classes from javax.jdo:jdo-api?

. Thanks, Joel jleblanc Joel Leblanc You are right, of course. JDO files should be removed from the objectdb.jar file . When ObjectDB 2.0 was released many years ago, one appealing point was that it had a single JAR file with no external dependencies (e.g., compared to Hibernate