ObjectDB Database Search

101-150 of 200 results

Pre-detach loading: retrieval by navigation not working in if statement

: objectdb.temp.no-detach NOT USED This problems only seems to occur in my large web application ... web application parallel to the large web application, but the problem does not happen in ... selected operations (while "visiting" the loaded managed entity) to load and fetch desired values. In

Occasionally slow requests in load testing

, however there are quite a few "spikes" in the performance where we are getting a lot of very slow ... we can see that most of the requests get stuck in one of 2 places: com.objectdb.o.PGC:w: line number ... around 350 threads in the db server process and it is configured for 400. The server it is running

Explorer in 2.3

First, the new Explorer in ObjectDB is fantastic! This is exactly what we've needed - an easy way ... . Then allow import of that file into another database. 2. Lazy loading of data, especially in table view ... movement of the scrollbar also causes large pauses ( 30 seconds in some cases). I am using remote

UserException: Invalid configuration in 'internal' - Check permissions

path. With such information I have tried to create an entityManager, in each slave, as follows ... .UserException: Invalid configuration in 'internal' - Check permissions. : Is there any way to change ... ) Exception in thread "main" java.lang.Exception: java.lang.ExceptionInInitializerError at com.jscilib.jppf

Memory Leak in EntityManagerFactory ?

don't understand. 1. the server is running in embedded mode 2. the static EntityManagerFactory (m_manager_factory in the example) is opened via m_manager_facory = Persistence. createEntityManagerFactory ... and removed from memory (checked in the Profiler) 4. nevertheless there are lots of identical Copies

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

ObjectDB support, while the entities in a result set list from a JPQ query are initially managed ... of the container, and then in ObjectDB (but not in EclipseLink) lazy loading fails. The 3 possible solutions in the ObjectDB case seem to be: 1. Use explicit FetchType.EAGER on all desired collections

in-memory and on-disk support?

looking at replacing a setup of H2 where I have 40GB in -memory backed by 800GB on-disk, the 40GB in ... , the records at the end continuously purge as the new ones come in (duplicate write, one to in -memory and one to on-disk). Does ObjectDB offer a similar in -memory/on-disk option? I noticed the embedded and TCP

Corrupted Database or error in ObjectDBExplorer?

). Can you analyze the problem and tell us if its a problem of the explorer or a real problem in ... .RequirementBasedTestCaseImpl  (its the 9th entity)   If we execute queries in the explorer we observed ... The data in this database is probably fine, but apparently the Explorer is missing a recent schema change

What role is the JDO in ObjectDB?

Mike Keith believe the JDO is out of date. Then what role of JDO in ObjectDB? Will our codes with JDO be out of date? Due in part to some of the failures of the EJB persistence model, and some ... and consuming them. JDO also had a query language that was decidedly object-oriented in nature, which did

Configuration and Activation Code in ObjectDB 2.x

for activating the odbee.jar file and got the activation code.It is mentioned in the side that i need to use the activation code using tag in the objectdb.conf file. In 1.x objectDB, we are not using any objectDB ... Information about the ObjectDB 2.x configuration file is provided in chapter 6 of the ObjectDB

javax.persistence.PersistenceException: No Persistence provider for EntityManager named in Karaf 4.0.7 and OSGi DS test

Hello, I've written a small OSGi Declarative Services application to run in Apache Karaf 4.0.7 to persist an entity into an ObjectDB database. I'm working in C/S model and I have both the ObjectDB ... ://localhost:6136/technolink.odb;user=admin;password=admin exception in the Karaf log. I have deployed

Vacuum - Reclaiming Unused Space In Odb

.  Our odb files are about 50Gb in size and are written to about a million times a day with both adds and updates.  This is creating a lot of unused space in the database that we are wanting ... file (basically a sql dump) and reload.  Is there a capability in ObjectDb to provide a vacuum

Inserted entities with strings as keys and indices needs more and more ram memory in comparing to primitive integers as keys and indices

keys are sequential and therefore they are stored in sequence pages in the database. New objects with UID primary keys may have to be stored distributed in the entire database file, so a similar transaction may require searching positions in the database and processing much more database pages

How to open a running db in ObjectDB Explorer?

Hi! I've just discovered that I can't see the content of a database while it's in use. Is there any way in which I could do that? It's not nice at all to close the application, copy the db in ... of the data, not the live information. * I forgot to mention that the db is used in embedded mode

JPA Named Queries

literals dynamically into the query string, which results in more efficient queries. @NamedQuery ... { ... } To attach multiple named queries to the same entity class, wrap them in a @NamedQueries annotation ... class Country { ... } Note: You can also define named queries in JPA XML mapping files instead

ObjectDB - JPA Object Database for Java

it is the bottleneck in most applications. ObjectDB is extremely fast and much faster than any other JPA ... database with JPA support in one product , sparing the need to integrate an external JPA ORM ... , and in minutes you will be able to run your first Java and JPA database driven application in Eclipse

Database Doctor

(for example, a bug in the operating system, Java, or ObjectDB). Copying a database file while it is in use. A network or I/O failure when copying, moving, or transferring a database file. Transferring a database file over FTP in ASCII mode instead of the required BINARY mode. Deleting a database's

Eclipse Distribution License - v 1.0

. Redistribution and use in source and binary forms, with or without modification, are permitted provided ... , this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in

JPA Criteria Query Selection and Results

and ordering, mirroring the SELECT and ORDER BY clauses in JPQL or SQL. These interfaces allow you to specify ... of Expression , most criteria expressions can be used directly in the SELECT clause. Defines a selection ... TupleElement . Represents a single selection in a compound selection and can be used to obtain the values

jakarta.persistence.EntityManager

- { // do work in a persistence context ... }); In the Jakarta EE environment, a container-managed ... . A persistence context is a set of entity instances in which for any given persistent entity identity ... under the control of the persistence provider. Any entity instance can be characterized as being in

JPA Criteria Query Expressions

interface for expressions ├─ Predicate # Boolean expression (WHERE/HAVING) │ └─ CriteriaBuilder. In # IN ... ;to allow using expression as query results. A boolean expression used to define restrictions in ... of arguments. A predicate used to determine if an expression matches any value in a provided list

Is ObjectDB better than competing object databases?

: ObjectDB is unique in supporting the standard APIs. It is the only object database with built in ... is also unique in supporting features that are usually available only in relational databases. For example, most object databases do not support user defined primary keys, even though this is very useful in

JPA Queries

with full type safety. General query objects Execute SELECT, UPDATE and DELETE queries in JPA using these core interfaces: The base interface for executing queries in JPA. It is often replaced by TypedQuery in modern applications to ensure compile-time type safety. A sub-interface of Query used

Obtaining a JPA Database Connection

In JPA, a database connection is represented by the EntityManager interface ... . When using JPA, every operation on a database is associated with an EntityManager . Furthermore, in ... resources (such as a database file pointer or a socket to a remote server) in a connection pool

ObjectDB 2.9 Developer's Guide

you productive with ObjectDB and JPA in a short time. Guide Structure Demonstrates basic database programming using ObjectDB and JPA. Shows how to define JPA entity classes that can be persisted in ... A prior knowledge of database programming (SQL, JDBC, ORM or JPA) is not required in order to follow

Deleting JPA Entities

) private Address address; : } In the preceding example, the Employee entity has an address field ... entity is removed, the remove operation cascades to the referenced Address entity. In ... . For example: @Entity class Employee { : @OneToMany ( orphanRemoval =true) private List addresses; : } In

JPA Relationships Annotations

Relationships define associations between entities. They are represented In Java code by attributes (persistent fields or properties) in persistent classes that hold a reference or a collection ... the ordering of elements in a List-valued association at the time of retrieval. Specifies the attribute

Server User List

addresses in a comma-separated list and use a hyphen (-) to specify a range. For example, a value of "192.18.0.0-192.18.194.255,127.0.0.1" allows connections from any IP address in the range 192.18.0.0 ... . If no permissions are specified, the user can still view the directory's contents in the Explorer but cannot open

ObjectDB Website - Terms and Conditions of Use

from using or accessing this site. The materials contained in this web site are protected by ... of these materials or upon the termination of this license, you must destroy any downloaded materials in your possession whether in electronic or printed format. Some materials on ObjectDB website

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

.Source [null](TEST: a 2nd source in (1st project)) INFO: RequestBean []: Persisted: com.greensoft.entity.Source [4](TEST: a 2nd source in (1st project)) INFO: RequestBean []: Created: com.greensoft.entity.Source [null](TEST: a 3rd source ( in 2nd project)) INFO: RequestBean []: Persisted: com.greensoft

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

, the inability to robustly query relationship fields in a web application renders the ObjectDB ... showing the query result in indexTest.xhtml. The problems is illustrated by running the attached JavaEE ... via a querying @EJB gives many fields null (and not even empty, I mean truly null). In

Schema-Update: Deactivation of automatic entity class removing and introduction of a new class remove in the schema config

Hello, in our application we use ObjectDB in embedded mode as part of the Profile ... design. The product can be installed in different configurations ( in other words with more or ... of entites which are not found in the class path. With this background it would be very helpful

Tracking changes to new collections (in enhancement mode) after flush

Hello, We have an issue with a list as a value in a hashmap. Within one transaction a new key ... operations being performed in between. Once the transaction is committed, the issue is that the last element in the list is not persisted and cannot be retrieved in another transaction. The last element

boolean field flips after schema update (in class) of another field

on several instances the values of other boolean fields in the same class (next to the new one) flip or ... anything) and values in the database changed. We did not have this in our testing and stating environment, but now in field. Object DB version was upgraded maybe two times in the last months in

Removed entities can be found by query in the same transaction

and flushed. The bug was introduced with ObjectDB Version 2.7.4_04, therefore in the moment we are using 2.7.4_03. Unfortunately it is difficult to create an example, because the error only occurs in ... . Apparently the query was directed to the wrong snapshot. Are you sure that this bug exists in 2.7.4

Step 5: Design a BIRT Report Chart

In this step we will add a simple chart to the report: Open the [New Chart] dialog box by dragging ... . In the [Select Chart Type] tab select Tube as the chart type and click Next . In the [Select Data] tab - enter row["y"] as the Y series and  row["x"] as the X series, (use Ctrl + Space in

Getting Started with JPA

. That is one of the benefits of ObjectDB, which is the only Object Database with built in support of JPA. The sample application is also explained in details in   Chapter 1 of the  ObjectDB Manual , but if you prefer to start by running a live sample application in your IDE, you should be able to follow

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 ... : If a new guest has registered (using a JSP form that will be added in the next tutorial step) - a new Guest

Step 4: Add a Servlet Class

In this step we will add a servlet to manage guestbook web requests: Open the [Create Servlet] dialog box by right clicking the guest package node ( in the [Package Explorer] window), selecting  ... that will be added in the next tutorial step) - a new Guest entity is constructed and stored in the database

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 ... (using a JSP form that is shown in the next tutorial step) - a new Guest entity is constructed

Step 4: Add a Controller Class

In this step we will add a Spring Controller to manage guestbook web requests: Open the [New Java Class] dialog box by right clicking the guest package node ( in the [Package Explorer] window ... to process the web request: If a new guest has registered (using a JSP form that will be added in

Step 2: Define a JPA Entity Class

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the tutorial package node ( in the [Projects] window ... objects in the database. Besides the @Entity annotation and the id field (and its annotations

Step 1: Create a Maven Web Project

We start by creating a new Maven-WTP dynamic web project  in Eclipse: Open the [New Project ... ; maven-archetype-webapp as a filter, select  maven-archetype-webapp in the artifact list and click ... of the new created project is contained in a  pom.xml file that was created in the project main

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 ... : persist - for storing a new  Guest entity in the database. getAllGuests - for retrieving

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 ... - for storing a new  Guest entity in the database. getAllGuests - for retrieving all the existing 

Step 4: Add a Controller Class

In this step we will add a Spring Controller to manage guestbook web requests: Open the [New Java Class] dialog box by right clicking the guest package node ( in the [Projects] window) and selecting ... has registered (using a JSP form that will be added in the next tutorial step) - a new Guest entity

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 ... - for storing a new  Guest entity in the database. getAllGuests - for retrieving all the existing 

Step 2: Define a JPA Entity Class

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the project node ( in the [Projects] window ... on " + signingDate + ")"; } } The new class should represent Guest objects in the database

Step 1: Create a Java Project

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 ... ) and click Next . In the Libraries tab, click Add External JARs... and select the objectdb.jar file from

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 ... ) class defines two methods: persist - for storing a new Guest entity in the database. getAllGuests