ObjectDB Database Search

51-100 of 200 results

RT Java application recording into 100DB run OOM after a few hours.

Hi, I am running a java application that records data from 100 feeds into 100 different database - this is done is one thread. It works fine several hours - and suddenly i got an out of memory issue (I checked there is no leak in java - I cleared the entity manager every 10 new entity) - I run

Finance data from SQL Server into ObjectDB daily

this make sense? Is there a way to map the structure of the table directly into ObjectDB from SQL Server

Error 613 - i cant put a list into a Squad object

the Athletes into a squad it brings up an exception. so the problematic line would u find int the main class

how to persist an object twice into two diff. collections of two diff. classes

ok my problem,    i persist a Squad Object into a Cup Object at the beginning, after i have to create and persist a competition object in which i have to put some of the already created/persisted squads. the final method looks like that: public void actionPerformed(ActionEvent e) { List

@Unique added afterward is not taken into account

Hello, I encounter an issue with the @Unique annotation. The annotation was added on a given field itemID (String), important point : the annotation was added afterwards (after objects were already added to the table). As a consequence the unique constraint is not taken into account

Integrating the ObjectDB logging into the application logging based on slf4j

We would like to write the logs of ObjectDB with into the log of our application. What do you use for logging? With or without slf4j and if so, what concrete implementation? Do you see a way to combine your logging with our logging? btc_es BTC EmbeddedSystems The ObjectDB logging is based

Insert time increases as db grows.

Hello, I've just installed ObjectDB and done some tests. I'm inserting 22k of records like 10k ... one entity have index on String column. Entities are not enhanced and inserts are committed in a separate ... ; then 11 seconds and so on. Should I change my config in some way to get more stable insertion time

Insertion Speed Rate and Batch Load

1. I got about 10K inserts / second, is it normal? I would expect more than that, like close to 100K/second. I can definitely do 80K inserts /seconds on Oracle with batch insert on table with one primary key. 2. Is batch update/ insert operation supported? I attached the files. edy_at_ssn Edy Oey

Need to close+open database for a commit to be taken into account

Need to close+open database for a commit to be taken into account

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

Hello, I have a problem with inserting of many entities. We use strings as primary key and indices. But if the db table of the entity type contains more and more data then the inserting of further entities needs also more and more ram memory, this leads to out of memory exceptions. But if use

Insert a new entity class in a class hierarchy does not work

Hello, we have an entity class hierarchy and we want to insert a new entity in this hierarchy and our database must be automatically updated by schema evolution. Unfortunately it does not work ... would be also inserted new in the class hierarchy then it works well. See our example in the attachments. Execute

how to implement insert ignore in objectdb?

I want to implement Insert ignore in Objectdb. means if a column is declared as Unique but in case of duplicate it just ignore that row and should not throw exception. Thanks  Manoj Manoj Kumar Maharana Ignoring duplicates is the default when unique is not specified, so the question

Cannot initialize db after inserting a java.util.List

Cannot initialize db after inserting a java.util.List

Significant I/O costs during batch update or insert data.

Significant I/O costs during batch update or insert data.

Database size is much larger than expected (x2)

I store images into objectdb. The schema is : ::=( , , , , ) ::=String ::=char ::=int ::=byte[] ::=@ID So simple a class will fail after 155,648 insertions with -Xmx1432m, ... NO = 151552 ... insertions ? Question 2 : Why the size of db increased to 16,671,309,824, while the original images

the tutorial netbeans and javaee6 dont work,

hi . i am Mauro . i have tried the tutorial for the objectDB and netbeans and JAvaee6 I have insert the persistencex.ml like tutorial (for the embedded mode) . but when i have insert the name into form for to save the new guest into db , i get the following message from glassfsih:   HTTP

jakarta.persistence.Column

is nullable. Default: true Since: Jakarta Persistence (JPA) 1.0 boolean insertable (Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider. Default: true

Eclipse4 RCP - No Persistence provider for EntityManager

it into objectdb.jar, although not very pretty. Alternatively, see this forum thread and the solution ... another Problem... This code works : storageSvc.registerEntity(LocalEntity.class); storageSvc. insert (new ... run the code a second time (without the insert ) I get a ClassCastException (LocalEntity

persists and update together ?

hello on mysql i've seen;   INSERT INTO table (a,b,c) VALUES (1,2,3),(4,5,6) ON DUPLICATE KEY UPDATE c=VALUES(a)+VALUES(b);   This query , inserts data or updates if its already available and this will reduce finding same object again. On jpa :     User obj2

Embed Explorer into IntelliJ

Hi , your explorer jar is old java swing thats fast and compatible with intellij plugins. Its too easy to embed your explorer into Intellij or Android Studio  Here what i have asked for : https://chatgpt.com/share/68ca9770-4df4-8001-85b8-c90596cc804d kadirbasol Kadir BASOL Thank

Problem Using Reflection

I'm currently working on developing my own API to use with ObjectDB and I'm running into the following problem.  Using the API I can insert data into an empty database without any issues ... has already been added for this class, produces this exception. Any insight into why and how I

Cannot insert more than about 2^20 objects

Hi I have a DB with 4 entities and a total of 4 index. Once I reach 1048565 total objects in the whole DB, i am unable to insert more object, although i get NO error message nor exceptions. Doctor said Db is fine (see below) I notice that 1048565 objects + 4 entities + 4 ID indexes + 4

virtual servers and one file

how breaking a database into multiple files, for example one file per entity class, may help ... files. ... but could you please provide more information regarding how breaking a database into ... . You may also insert a deliberate error in the  objectdb.conf  file - if the application

Vacuum - Reclaiming Unused Space In Odb

full), since the exact size depends on the order in which the data is inserted . But any unused space in a BTree ... window of time to perform these backups.  We've looked into using the replication strategy ... and if it exists, all preceding updates also exist. support Support Kevinwh, I'm looking into ObjectDB

OptimisticLockException

Ran into this error for the first time (after many years of using odb): Caused by: com.objectdb.o ... guess I should read doco more. I ran into the same error from a pessimistically locked entity (global ... - but only after stress testing the insertion test case. 5 threads/100 repetitions gave Optimistic lock error

Dependency from enhanced classes to the objectDB library

driven. This means we have several domains. Each domain is split into business layer and persistence ... ; How to use the example step-by-step: 1) Import all projects of the example #2 into your Eclipse (We use ... has three ant task files. You must insert your own activation code in the objectdb.conf. Clean up the project

ObjectDB JDBC to Object compiler

like " insert into ObjectT values('hasan','test')" to ObjectT obj = new ObjectT("hasan","test"); em

Optimization Question

to work on that falls into the category of "if it ain't broke don't fix it" because what we're ... FYI, a new ObjectDB 2 version that has just been released (2.0 RC3) improves performance of insert

OutofMemory error with Object DB 2.0

 odb file and inserts 200 records at a time. The transaction obtained from the PersistentManager ... to other ftp sites from my PC, but cannot connect to objectdb.com Our IT team is still looking into

Different behavior with persist() and queried instances?

the object instance after inserting it into the database everything is perfect -- in debugger

Need help to analyse very high memory usage by objectdb (PRU, SEV, VAL[])

Hello, we have a useCase in which we consume too much memory and run into a "GC overhead limit exceeded" exception. Nearly 90% of the memory are taken by com.objectdb.o.PRU (49%) com.objectdb.o.SEV ... (PRU, SEV, VAL[]) has been created. btc_es BTC EmbeddedSystems This may be caused by large insert

Efficient query on EmbeddedId

@Indices({@Index(members = {"id.field2"})}) or do I have to duplicate entity.id.field2 into entity ... : is there any insert /query performance difference between defining an index on a primitive field or

JBoss 7 startup fails

.zip (the maven project) and imported it into eclipse but I now get the following error in pom.xml ... JBoss versions. support Support Again, many thanks for your efforts. In the end it worked inserting

jakarta.persistence.NamedAttributeNode

-specific attributes. Superclass subgraph entries will be merged into subclass subgraphs. The value ... subgraphs are intended to add subclass-specific attributes. Superclass subgraph entries are merged into

jakarta.persistence.AttributeConverter

the entity attribute into the data representation to be stored in the database. Parameters: attribute ... stored in the database column into the value to be stored in the entity attribute. Note

jakarta.persistence.CacheStoreMode.REFRESH

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.CacheStoreMode REFRESH Insert /update entity data held in the cache when read from the database and when written to the database. Force refresh of cache for items read from database. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityManager.persist(Object)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void persist (    Object entity ) Make a new entity instance managed and persistent, resulting in its insertion in the database when the persistence context is synchronized with the database, or make a removed entity

jakarta.persistence.PersistenceUnitUtil.getIdentifier(Object)

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceUnitUtil Object getIdentifier (    Object entity ) Return the id of the entity. A generated id is not guaranteed to be available until after the database insert has occurred. Returns null if the entity does not

jakarta.persistence.PersistenceUnitUtil.getVersion(Object)

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceUnitUtil Object getVersion (    Object entity ) Return the version of the entity. A generated version is not guaranteed to be available until after the database insert has occurred. Returns null if the entity does not

Add class to objectdb ?

.imageshack.us/img210/8499/screenshot20130203at004.png   I want to insert new Object or Edit ... why dont you add insert new database , insert class and insert object capability to explorer ? explorer

how to operate with same object but two different Thread on database.

Hi,    i have two thread one is for insert data another is for update data but in same ... variables and Getter and setter method constructor and to-string method. Insert .java   Here i create a thread, create object of Gettersettetclass, i.e  insert operation and pass that object

jakarta.persistence.metamodel.Bindable

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.Bindable Type Parameters: - The type of the represented object or attribute An instances of the type Bindable represents an object or attribute type that can be bound into a Path . Since: Jakarta Persistence (JPA) 2.0 Public

jakarta.persistence.NamedAttributeNode.keySubgraph

entries are merged into subclass subgraphs. The value of this element is the name of the key subgraph as

jakarta.persistence.NamedAttributeNode.subgraph

. Superclass subgraph entries will be merged into subclass subgraphs. The value of this element is the name

jakarta.persistence.AttributeConverter.convertToEntityAttribute(Y)

Jakarta Persistence (JPA) Method in jakarta.persistence.AttributeConverter X convertToEntityAttribute (    Y dbData ) Converts the data stored in the database column into the value to be stored in the entity attribute. Note that it is the responsibility of the converter writer to specify

jakarta.persistence.AttributeConverter.convertToDatabaseColumn(X)

Jakarta Persistence (JPA) Method in jakarta.persistence.AttributeConverter Y convertToDatabaseColumn (    X attribute ) Converts the value stored in the entity attribute into the data representation to be stored in the database. Parameters: attribute - the entity attribute value

Out of Memory - Slow leak?

has fixed the problem. The scenario is still the same: I have two "producer" processes which insert messages into an objectdb "queue" database running with an objectdb server process. I have one "consumer" process which reads messages from the queue database and inserts these into an embedded "normal

Can't open replicated database

to the initial empty state of the database. I inserted a few rows into the databases and still got the error

Activation & Object Model Enhancement

be possible to somewhat generate a key with maven & odb on developer machine that could be inserted into

NullPointer running multiple client against server

messages. The message is split into a lightweight metadata message to allow fast searching and a more heavy weight data message. The put methods are shown below. The message is made up of an id, insert