ObjectDB Database Search

51-100 of 128 results

Missing Data on Retrieval (0, null values)

objects, when applicable. Having ordinary Java classes to represent your persistent data (including

Memory use in OneToMany relationships

? I would assume so and can this be worked around by having PicData a reference to the Pet like

Join query problem with new statetment

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

Failed to commit transaction: Attempt to reuse an existing primary key value (613)

to me why is it happening  i would be grateful with you cause i am having this problem for 2-3 weeks

LIKE wildcard with single character "_" behaves like a "*"

_") It matches both "key" and "keyboard" Having the underscore anywhere else works fine, however. 

Optimization Question

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

@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

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

check the attachments. I believe this could be caused by having an array of objects as the value in

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

Issue with compile time enhancement

) is listed as having been enhanced. I am running with ObjectDB in embedded mode via a reference

Update entity without first opening a transaction

Hi everyone, I want to update an entity in my program without having to open a transaction, do the modifications and commit the transaction. I want to have a managed entity that is in sync with my database. So when I got a Person class and I do person.setName("John"), the name in my database

Vacuum - Reclaiming Unused Space In Odb

I was curious if you could assist me with a challenge we are having with our objectdb database.  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

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

TimeSeries and ObjectDB

(same as before) - there is no overhead of having each TimeSerie point - in a different entity

Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

Explorer, without having any problem. That's the main point. That's a real pain. In the first app I

Unable to delete the .odb file programatically

do. May be, this thread is having the lock and that is the reason, we are unable to delete the odb file. I

ObjectDB Explorer very slow with remote con

. By having just 1 SSH connection to the VPS, it works at an acceptable speed. Sorry and thanks for your reply. zmirc Mircea Chirac

Recommendation - concurrent access multiple class v

and version x+1 of a class. I would really need your advice on this, because having 100% uptime is mandatory

Objectdb server out of heap space

is acceptable, but having the whole server die is not (at the very least put in a watchdog process

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

Hi, I upgraded the odb file using converter.jar which is having 15943 entry. Previously, with object 1.x, the same query was getting executed within an seconds and now the same is taking around 40 seconds in object db 2.x I have build the query using the follwoing Query query = persistanceManager

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

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

IN expression in a Criteria Query

(Unknown Source) I also found another issue with this query: SELECT a FROM Account a GROUP BY a.code HAVING

@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

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

Using Enum type in NamedQuery: Field is not found in type

I'm trying to switch an application that worked fine in Hibernate to ObjectDB and am having issues with queries that reference enum types. On my entity object is a static enum public static enum Type {     A,B,C } that is stored in an @Enumerated member variable private Type type

Issue with alias

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

OptimisticLockException

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

@PrePersist Implementation

Hi Please help me.I have requirement like In my project having arround 100 pojos .I have used @EntityListener and @prePersist annotaions to invoke my action class .. But problem is how can i get oldvalue and new value of current form of pojo in side my @entity Listener Action class. code snipt

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

Duplicate a table

Hello, I would like to know if it's possible to copy the content of a table representing one class of object to another table whithout having to use java object (no object instantiation) ? In fact, I would like to execute a native query like "select * into T0 from T1" My purpose is to backup

Invalid/Missing licence when connecting, however correct licence is definitely present

to having the activation key in an objectdb.conf file that is not in use. Therefore, the first thing

Fetch Set from DB only works on debug mode

of ObjectDB. Now I updated to 2.7.5_05, but I still having the same problem. As i'm pretty sure it is a bug

Null returned by Persistence.createEntityManagerFactory

Hi, So I'm currently having an issue where createEntityManagerFactory returns null. When I run the application on the my local machine through Tomcat it works fine, the odb file is created.    public class TaskDaoODBImpl implements TaskDao {     private

TypedQuery implementation problems

Hi everyone, I'm having problems. I have implemented TypedQuery in a module of my web system and everything works perfectly. but when making another module and implementing TypedQuery again it doesn't work anymore I would appreciate your opinion. I leave a portion of my code with example. @Service

object creation during pmf.getPersistenceManager()

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

How force always recreate database on redeployment.

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

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

BIRT plugin: Trouble with Client/Server connection

I am having trouble setting up the birt points.odb sample with a client/server connection. I can connect to points.odb with the explorer.  I added a "Data Source" that works fine with local file.  The connection using the server url fails the ping test.  I get (Failed to connect

pm.newObjectIdInstance returns null

'ish). Trying to modify as little as possible. I am having trouble with the following:(names

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

Allow removal of entity class from ObjectDB & Explorer

also, therefore I made a feature request with it. We look forward to having this feature available. Thanks

BIRT Driver Improvements

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

Query on primary key is slow when using 'IN'

OR ...) AND (storeOid = 1 OR ...)), having too many parameters on both sides would make

Enhancing a class causes it to not save changes.

, but I hate having unexplained exceptions in logs as they tend to bite you in the long term... [2019-09

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

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

ArrayIndexOutOfBounds with Critera API and function call

is there. The only thing is that we're having an inheritance hierarchy like class TestEntity_1 { public

ArrayIndexOutOfBoundsException with enhanced Entity

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

Internal objectdb exception when using different language on a machine

regards BTC btc_es BTC EmbeddedSystems Maybe the problem is due to having two different  TCVector