ObjectDB Database Search

51-100 of 171 results

Selective merge/cascade of detatched entity

I'm having an issue with my application, and I'm hoping you guys will be able to help. Please forgive typos and obvious errors, I'm having to retype from a non-internet connected network. A contrived example is: @Entity public class Salesman { private String name; @OneToMany(fetch=FetchType.EAGER

Upgrade to Java 8 won't run

more greymatter Lee Grey It seems that this exception is caused by having java.util.HashMap.Entry in ... . Having this type in the database is unexpected and may be the result of a non standard operation

Should I be able to persist a JFrame (or gui components in general)?

of Netbeans (and not having any separate Java EE stuff installed). What happened is I couldn't import ... trying this without paying attention... The exception was due to having chosen "Java EE 6 API Library

Dirty checking

: @Embeddable @EntityListeners (Listener.class) So, having to go and make all @Embeddables into @Entities. and, having to manually save each one. Question: What's the best way to cascade persistence of Entities

PersistenceException: Failed to locate field

having access to an old version, shouldn't it automatically flush it's caches if the schema evolves ... solution But having to run it twice is fine for me. dmoshal David Moshal

ObjectDB Parsing taking huge processing time

factors may make  getPersistenceManagerFactory  particularly slower, such as having a configuration file with many unused activation keys or having schema with hundreds of complex types

Optimization Question

only one is transacting the database at any given time, but then that defeats the whole point of having

Optimistic Locking

We are having problems with optimistic locking. I made a simple test case to try to induce an optimistic lock. I have two users logged on to our system.  They both read and display the same data.  Then I change the data with user 1 and submit, and then I change it with user 2 and submit

NontransactionalWrite error using Collections.sort .

Hi, i started to use ObjectDB today and i'm having problem using command Collections.sort in persisted object.  Attempt to modify an object with no active transaction when NontransactionalWrite is disabled: br.ufpa.linc.MetriX.api.model.Interface#105 (error 635)   I don't want

@AttributeOverrides , and postgresql + own TYPE

with trying. It is only one file, having 135 line. Very much thank you for your help and I hope for answer

Replication error - parsing objectdb config

\$replication but I'm having some trouble connecting to the slave database: [ObjectDB 2.2.1_01] javax

Externalising persistence.xml properties in Glassfish?

either with Glassfish/JBoss and having environment specific datastore properties being build independent

Object as parameter results in exception

on to the TypedQuery? I see the value in not having to repeatedly execute the Criteria definitions

em.flush(); em.clear(); loosing data and not persisting managed objects

I'm having trouble with flush() and clear() in a loop inside a transaction not persisting modified objects to database. Sometimes it does other times it doesn't. Here is my Entity. import javax.persistence.Basic; import javax.persistence.Entity; import javax.persistence.Id; import javax

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 frustration at not having a satisfactory standardized persistence API, another persistence specification

OptimisticLockException

would have thought that would be done automatically. Having used objectdb for nearly 10 years now, all in

Join query problem with new statetment

an embeddable class to entity class, which results in having a class with mixed objects in

ClassCastException of same object type

used over a network via the server. So having more than one copy of objectdb seems to be impractical

@ElementCollection query returning extra result per element in collection

Hi,   I'm having a hard time narrowing down an issue that only became apparent with in the UI. The issue is that, I'm getting repeated results of the owning entity of an '@ElementCollection'. The entity returned is repeated for every element in the collection. Switching back to EclipseLink

Failed to generate dynamic type

and message, it is hard to improve error, having only message which is equal to null thank you, we will check 2.2.8_08 Tomasz Tomasz Wozniak

object creation during pmf.getPersistenceManager()

even having 300 PC classes. In the future it could be an option for an enhancer to generate

Type ... is not defined as an entity (@Entity is missing) (error 302)

. support Support I'm having the save error building the helloworld exemple(http://www.objectdb.com

Duplicate Entity class names causes Exception in Query

and so far it works without having to use qualified entity names. Sorry, I didn't see that you only want

using DbUnit with ObjectDb

couldn't find a way around having to include the name of the entity as the XmlElement name

Removing objects where ManyToMany relationships exist

well, so, the TreeSet is reduced in size? Or do I end up having a number of null pointers in the Sets? 

EntityManager JPA or JDO impl and different behavior

how, by having a Map that it's key is an Entity and the values are a List of another entity, the list

Problem with Criteria Querys

Hi, i am having problems running following code...   import java.util.*; import javax.persistence.*; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.ParameterExpression; import javax.persistence.criteria

Embedable & Reference?

;consequences of not having an identity for embedded objects. Sharing persistent objects is only possible with entity objects. support Support

Calendar in Criteria Querys

Hi, i am having troubles creating criteria querys for Calendar objects. As far as I can see CriteriaBuilder has no methods for checking if one Calendar is bevor or after another. Javas Calendar Class got such methods, but i dont know how to use those in my query. suez Tobias JPA supports 3

Issue with alias

is:     FROM - WHERE - GROUP BY - HAVING - SELECT - ORDER BY and you cannot use an element before it is defined.   support Support

Optimization of Map Queries

hi! I am having loads and loads of occurrences of something like ((com.test.MyEntity) $1.map.get('com.test.MyEntity')).someProperty ... ((com.test.MyEntity) $1.map.get('com.test.MyEntity')).someOtherProperty .. ((com.test.MyEntity) $1.map.get('com.test.MyEntity')).someMoreProperties I need to use

Time Sequence Object Command DB

without having to update objects defined using the older schemas.  When the database is loaded

dual access

Hello Exploring the product having had significant experience win Kodo/BEA/JDO1.x, yes I know dated but still works.  Is it possible to still have the SQL emitted from only the JAVA syntax?  If so is it also possible get each SQL statement before it is sent to the store?  Does

How force always recreate database on redeployment.

, and am not having problems with drop anymore. In client-server mode, sometimes drop works

Stalling on "run File" in Netbeans when using -javaagent:lib/objectdb.jar

am having problems with a console-based Netbeans Java Application with a nominated Main class

Many connections possible? and will it makes problem in future?

My questions is about : 1-) Can objectdb server handle 200.000+ connections at the same time concurrently ? Does it have queue and cache ? 2-) is it dangerous to use that system on many online users ?   kadirbasol Kadir BASOL Having 200,000 concurrent threads is probably a bad idea. Usually

Possible issue with Spring JPA and Embedded

Hello, I'm having some fun with Spring and embedded objects. I have need to embed some small objects inside another object. When I tried this from our project it doesn't work, so I created a small unit test (which is attached called "TestEmbeddable.java"), and it works perfectly. So I think

Occasionally slow requests in load testing

when the DB is running normally is barely registering and once it starts having this issue it is around 10

Attempt to refresh a non managed entity object (error 635)

Support Still having problems here. Was going to put a long posting here, but I think I'll explore

NullPointerException on initial database creation

I'm having trouble creating a simple test case that reproduces it.  At this point, I think it may be related to having a class annotated with @Startup or @ApplicationScoped that references

Query fails with failed to read

;especially after having a c/s connection the usage before   [2018-08-28 17:12:57 #5 store.file ... after having a c/s connection the usage before. There is a change in one of the recent ObjectDB builds that may solve this Explorer behaviour. support Support

ObjectDB 2 JDO Manual

have been having significant trouble finding the information I need to use JDO in general

Unexpected exception (Error 990) - Merge with no Transaction

I am frequently having an error when merging a detached object outside of a transaction. (Is this allowed? I am not trying to modify the object, just read data from it.) Here is a test case: package com.experiments; import javax.persistence.*; import java.util.HashMap; public class ErrorTest

Best practice for history tracking

We would like to add to records start and end timestamp fields. When end field is null, it indicates the last version of this item. Few questions: in terms of performance, what would be faster, having a single timestamp and looking for the top1 when ordered by time or the above solution, looking

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

my evaluation of ObjectDB and report my client, the end-customer (without having to tell

Can't open replicated database

having much joy replicating the exact circumstances which cause it. I'll send an update if I can track

ArrayIndexOutOfBoundsException with enhanced Entity

for which I use and store a string now. but it seems the second issue is really having an embeddable

Eager load Map

I'm having an issue eager loading a nested map. I've attached @ManyToMany(fetch=FetchType.EAGER) attributes to no avail. If the map is viewed in the debugger or force iterated in the code it loads ok. The attached code attempts to replicate the scenario. Its not an exact match but is the best I

Issue with DISTINCT Select

, what is the desired, JPA-Conform way of NOT having a result with doubled $1 and stilll use something like our code

BIRT Driver Improvements

though is the thing about having a runtime driver either integrated in the objectdb jar or (better