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

lockfiles in client/server mode

the client is attempting to create lockfiles in /tmp/ObjectDB. my account and the tomcat account ... is defined in src/main/webapp/META-INF/persistence.xml with a jdbc URL that looks to me as though it ought to connect to the server rather than attempt to start in embedded mode. i have also tried

Externalising persistence.xml properties in Glassfish?

for your time! Willks William Hello, Why dont you create multiple  presistance units in ... to pick them up if you give the place holder. I know I have tried this in the application.xml   ... . in your persistance.xml use placeholders for the data you want. In this example I have the place

composite index not used in query

only results that satisfy: (a.startDate:1). [Step 1c] Retrieve fields in Action (a) instances. [Step 1d ... over all the instances (a1) in a.objectsInCharge. [Step 2b] Retrieve fields in ObjectNode (a1) instances ... above) ------------------------------------------ [Step 3a] Iterate over all the instances (v$1) in a1.childNodes

Wrong data stored in time only fields

This may be related to the fix for the problem described in this thread: Wrong data stored in date only fields . The object and its date and time fields are the same as in the referenced thread ... and in 100K records it will show up in about 1.5K records with no obvious pattern. Also it appears

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

Enum fields are set to null and embeddable enum class does not show in explorer

in the related objects is set to null. This is highly critical because it will cause data loss! The enum type is also not listed in the explorer. I am talking about an enum class, which implements ... Petzold This has effect, when something  in the explorer is edited and saved (with missing

Memory leak in com.objectdb.o.CST

where there are over 3gigs allocated in thousands of com.objectdb.o.CST instances as shown in screenshot ... you have mistaken shallow heap size as instances.  It is only 1 instance of EMF as seen in the better view I uploaded in this reply.   So the question remains.  What could these 132 instances

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

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] dialog box by right clicking the WEB-INF node under the Web Pages node ( in the [Projects] window ... the controller in the previous step). The next step (and the last in this tutorial) is setting the Spring XML configuration .

Step 4: Run the Application

You can run the application now by right clicking the Main node ( in the [Projects] window) 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

Spring MVC JPA Tutorial - IntelliJ Project

To open and run the  Spring MVC JPA tutorial project in Download and extract the project zip file: Spring MVC JPA - Maven Project (8KB) Open the project in IntelliJ IDEA: Select  File ... ) at the top of the dialog box. In the Deployment tab select  + Artifact... Guestbook:war and click

Java EE JPA Tutorial - Maven Project

a simple Java/JPA database driven web application (for GlassFish 3/ JBoss 6) in   Eclipse or  ... . You will have to deploy the generated WAR file in your GlassFish server. You may also open and run the Maven project in your IDE: NetBeans IDE and IntelliJ IDEA have built in Maven support.