ObjectDB Database Search

101-150 of 200 results

doctor error message after database getting page errors

(and during that times the system is nearly unusable): ... [2023-09-01 05:43:19 #4 store ] RetrievalTask.reportPrimaryResult0: page#18247113, reader.getPos() = 21 [2023-09-01 13:03:07 #5 store ] RetrievalTask.reportPrimaryResult0: page#18647442, reader.getPos() = 1344 [2023-09-01 13:03:32 #6 store ] RetrievalTask

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 ... increases. Less space is wasted in database when the storing objects sequentially, because every page

How Should I Configure objectdb.conf to Obtain 256KB Disk IO Requests and Maximize Shared PersistenceManager Entity Cache?

is to benchmark the different options. support Support What is stored in a datastore pagefile cache ... of arbitrary objects (like key-value store )? CBE CBE Does ObjectDB access the datafile in page-sized IO requests? CBE CBE Yes. support Support What is stored in a datastore pagefile cache page? 

Extended mapping-definitions

anything else to get the problem done? With best regards, Thomas TomS Thomas Steinbach You suggest storing instances ... ;functionality remains the same? support Support You suggest storing instances of one class in different ... [...] - It depends on how objectDB stores java-objects. Does it store them depending on their java

Index causes increased memory usage

; How are the indexes stored ?  Is it simply a pointer to the field to be indexed, or is there a data structure stored in memory that assists in searching on indexes?  Are they cached in any way? Here's a bit ... is stored to the file are the entries in the page cache cleared out?  Or do they remain? 

Saving custom list which implements java.util.List fails

Hi, I'm evaluating ObjectDB for storing Objects modeled with Eclipse Modeling Framework (EMF ... ArrayList {     // nothing in here } But storing the object causes this error message ... transaction: Attempt to store an instance of a non persistable type tutorial.MyList - field tutorial

Database size is much larger than expected (x2)

I store images into objectdb. The schema is : ::=( , , , , ) ::=String ::=char ::=int ::=byte ... are stored in a single file of 7GB? gzdillon Lai Yang Question 3: The following messages will occur ... , regardless of how many references, the original data has to be only one. Why objectdb stores it many

How storage works?

attached stored in the DB. If I update my Car adding a new Wheel object is all the Car updated? Or ... and only one part is changed, the Object DB stored the all complex data model or only the changed part? Thanks hferreira25 Herve Ferreira If you update a complex object model - only modified entity objects are stored by

Adding multi part path index on non-embedable object member

= FetchType.LAZY) private List stores ; // Setter/Getter } So I wanted to add index on Customer for merchant.name or on stores .name given those merchant and Store class has the corresponding fields. e.g.  @Entity @Indices({ @Index(members={"merchant.name"}), @Index(members={" stores .name

Exporting the data out of the ObjectDB

Sandeep Dhamale Currently, migrating data between ObjectDB and other data stores requires writing dedicated code. If the other data store supports JPA (and JPA is supported for most popular RDBMS), you can use JPA to retrieve entity objects from ObjectDB and then store them in the other data store

@Entity saved in Tomcat session - problem

Hi, I have found a problem, when storing @Entity object in Tomcat session. When starting or ... is to create copy of @Entity class as normal POJO and use it to store in session. The problem is, that we need the same logic for temporary users (without storing in DB) and permanent users ( stored in

Run out of memory

and store it back in the database to access / modify later. I require to be able to rollback changes as well, where there can be massive amount of changes. I have been storing the data using a single entity manager and following the batch shown at https://www.objectdb.com/java/jpa/persistence/ store

Query filter comparing Dates

;// GregorianCalendar calendar = new GregorianCalendar(); All date and time values are stored in ... changes the behaviour of the stored date to an incorrect way. jakab Gergely Jakab Using date ... . When stored in the database, or sent as a parameter in a query,  java.sql.Date  and java

A few questions on object database design

I've been trying to model a database that stores data in an MMORPG. With ObjectDB, a lot of things are easier to perform. Intuitively, I created an entity class called player and stored ... . After all, everything stored in player instances are unique to that player... So, is it OK to store

Dates

Question on dates. SQL doesn't seem to store timezone with dates (oddly). So, any best practises ... David Moshal When a Date instance is stored in an ObjectDB database it is converted automatically ... better. If you want to store a timezone you may use a separate int field. support Support

List of Enum Values in an entity

Entity with an ArrayList of Enums: private ArrayList flags; The flags are stored into the database without any problem. In the explorer I can see that it is stored as array of Strings. Unfortunately ... () + "]";    }   }   return output; } } And as I said, the flags are stored in the database

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

.ConvertManager.convertObject(ConvertManager.java:478) at com.objectdb.conv1. store .OldDataMultiPage ... .objectdb.conv.ConvertManager.convertObject(ConvertManager.java:478) at com.objectdb.conv1. store ... (ConvertManager.java:478) at com.objectdb.conv1. store .OldDataMultiPage.convertObjects(OldDataMultiPage.java

Finance data from SQL Server into ObjectDB daily

it to a bean and store it in the ObjectDB. This would all happen in an automated fashion. Does ... to store the data in ObjectDB. support Support Hi -   Thanks for getting back to me. I'm unfamiliar ... classes to store the data in ObjectDB."   I am doing this exactly. Here is the quick code I whipped

Date field Index is corrupted due to time change

to store in it. We use the DB in embedded mode. There is only one object type that we store in the DB, as ... one hour back and moved from CEST to CET time. We store time data as part of the object

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

Type { GOOD, BAD }. This is strictly forbidden when storing enum values using ordinal (i.e. you must preserve the order of the values, since these ordinal numbers are stored in the database ... Anyway, why would the order matter when enums are stored as strings? I didn't change the order in the enum class

@MappedSuperclass and @Transient not working as I expected

. Regarding the transient field - it is not stored in the database and the Explorer merely shows ... for classes annotated @MappedSuperclass also merely stored schemas, without the data? (I ... superclasses (as well as abstract entity classes) do not store data just schema. Usually data in

TYPE Expression

.UserException: Attempt to store an instance of a non persistable type java.lang.Class at com.objectdb.o.MSG.d ... other a little bit above: Caused by: com.objectdb.o._PersistenceException: Attempt to store an instance of a non ... still get this when trying to use TYPE: Caused by: com.objectdb.o.UserException: Attempt to store

Non Embedded byte[]

, sections 4.3 and 4.4.   I desire to store an image as a byte[] but I don't want the byte ... embedded, stored as a single "blob" as a unique ObjectDB persisted object?  (The section 4.4 talks about how each ELEMENT could be stored as a separate object, which would be no be desirable.) CBE CBE

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

has a Collection which stores Athlete Objects, the Athlet has another embeddedCollection of Marks ... a reference to a non managed 'test.Athlet' instance On commit, an attempt to store the  Squad ... cascading persist . See the Storing JPA Entity Objects page in the ObjectDB manual for more details. support Support

how explorer queries work

faking it somehow? jon jon ObjectDB stores the schema in the database (in the odb file) so it doesn't ... your classes to the classpath of the Explorer and the Server, since methods are not stored in ... stored in the database file. Therefore, you should be able to query an existing database

String Encoding Issue

you should get exactly the same String object that you have stored . Therefore, it is very likely ... that a retrieved string is different than the string that was stored (e.g. by comparing them using ... to ObjectDB and the problem is actually with the strings that are stored not just the strings that are retrieved. support Support

How to add different timezone

Hi, Objectdb stores the local timezone .How can i store different timezone? Is there any db level configuration? Manoj Manoj Kumar Maharana ObjectDB stores dates as timestamps without time zones and on retrieval restores exactly the same date objects. Please provide more details

Entity listener - event instead of object

values in updated entity. There is a problem however with accessing "old" version of object stored in ... store separate entity for given event. Right now I'm using BaseEntity which contains ... the same version as the one stored in 'entity'. It's ok, because it's the same entity manager

Changing existing objects from Entity to Embedded

classes should be embedded-only as they are stored only in a HashMap of another Entity. So as first ... got stored in DB. However since this change I can not open the DB file in Explorer. I ... , converted them to the new classes and stored them instead of the old ones. The old ones I deleted

XML and ObjectDB

beyonddc Chun Tat David Chu ObjectDB can be used to store any type of data including XML. For example, you can define a generic Element entity and store the XML as a tree of Element nodes. Another option is to define a separate entity class per XML element type. You can also store an entire non

java.sql.Timestamp with milliseconds

Using JPA with other providers java.util.Date will not provide support to store milliseconds ... timestamp; However with ObjectDB the milliseconds are not being stored , as shown this is an ID field ... ) klonq Mathieu Moloney Milliseconds are stored as demonstrated by the following example: import java

Query problem after transaction commit

records but only the latest stored record. I tried to run database explorer on the server machine and able to see all the records including the new stored record. The trick is, after I ran the database ... Ken If you could retrieve old objects but not the recently stored objects then this could be a cache

ClassCastException of same object type

. This application previously stored data in csv files. The application works fine with no classloader issues ... but allow users to store in an ObjectDB for newer data. So is it a classloader issue for ObjectDb

Optimistic locking: prevent version increment on entity collection attribute

, because a document will not store any details on readers (the relationship is stored on the reader

How to Use a SF with extended Persistence Context?

for fast execution so I need to store the queries and I need an EntityManager that doesn't get closed ... for the guest in the DB. if it finds one it updater his date to the current date. if not, it stores a new

explorer NullPointerException

that, New Entity Objects To construct new entity objects and store them in the database, open ... button to construct and store the new entity objects. and I cannot create a new entity objects

Indexes broken after schema update

; [2012-08-19 19:42:25 #74 store ] *** Attempt to remove a non existing index entry: [2012-08-19 19:42:25 #75 store ] BTree ID: -104 [2012-08-19 19:42:25 #76 store ] BTree Name: profileIndex:com.netarray.userservice.entities.User[profile] [2012-08-19 19:42:25 #77 store ] BTree Page: 7 [2012-08-19 19:42:25

Error on commit

odbYYYYMMDD.log file: (*** = Employer public forum policy)   [2012-04-20 11:56:07 #200 store ] *** Attempt to remove a non existing index entry: [2012-04-20 11:56:07 #201 store ] BTree ID: -108 [2012-04-20 11:56:07 #202 store ] BTree Name: com.***.***.***.***.businessObjects.***[m_***Number] [2012

Blocked by find

in case I missed anything in the previous post. The objects being stored in this db are quite ... [0x000000000dd0f000]    java.lang.Thread.State: RUNNABLE at com.objectdb. store .file.PageCache.C(PageCache.java:454) - locked (a java.lang.Object) at com.objectdb. store .file.PageCache.B(PageCache.java

Errors in log to repprt

; ------------------------------------------------------------------------------------------------------------------------ [2019-09-26 11:33:37 #1 store ] Database 'F:\Hummingbird\Objectdb\db\coresystemdb.odb' has been recovered (tr. 257583044-257583286) [2019-09-26 11:33:39 #2 store ] Database 'F:\Hummingbird\Objectdb\db\coresystemdb.odb' is opened by 18440@wzbhb101 [2019-09-26 11:33:39 #3 store

retrieval tas reports in log

we have in the log entries like:   [2020-06-03 16:13:06 #17 store ]  RetrievalTask.reportPrimaryResult0: page#48835201, reader.getPos() = 323 [2020-06-03 16:21:37 #18 store ]  RetrievalTask.reportPrimaryResult0: page#16686765, reader.getPos() = 689 [2020-06-04 23:15:32 #19 store ] 

again merger missing logs + objectdb exception

: ... [2017-09-26 12:16:14 #1222 store ] SectionClassifier: SectionClassifier{238146996-merger[3309]-missing:1} [2017-09-26 12:16:25 #1223 store ] SectionClassifier: SectionClassifier{238146996-merger[3309]-missing:1} [2017-09-26 12:16:33 #1224 store ] SectionClassifier: SectionClassifier{2-merger[3309

Exception makes the system unusable for several minutes

these in the log: [2020-07-24 10:56:45 #50 store ]  SectionClassifier: SectionClassifier{'bd127e47 ... of the log: [2020-07-13 17:10:29 #7 store ] RetrievalTask.reportSecondaryResult: page#55027945, reader.getPos() = 62 [2020-07-13 17:10:29 #8 store ] SectionClassifier: SectionClassifier{'883e69ca-845d-437c

Database access error , Doctor hanging on trying to repair, production shutdown at our biggest customer

we have a database shutdown, logs are showing: [2017-07-10 21:07:23 #1 store ] Database 'F ... ] Server on port 3333 has started by 11028@wzbhb101 [2017-07-14 07:08:38 #3 store ] SectionClassifier: SectionClassifier{2-merger[2699]-missing:1} [2017-07-14 07:09:08 #4 store ] SectionClassifier

Use temporary files to enable very large transactions

; The threshold  indicates a maximum size for a memory based list. Every flush is stored as a separate ... is higher, every flush will be stored in memory rather than in a temporary file. Unfortunately ... can be larger than the database, since the same database page may be stored in the file multiple times

NullPointerException when using multithreading

to do an evaluation and want to store 200 million entities in the database.  I have a temporary key ... ; EmbeddableB is just storing primitive integers in its map.  However it will also be used to store String, and Joda DateTime.  However the test code at this time is just storing

retrieval again and again started

store ]  RetrievalTask.reportPrimaryResult0: page#2809028, reader.getPos() = 0 [2024-07-04 10:07:11 #46 store ]  SectionClassifier: SectionClassifier{48-merger[3590]-missing:1,49-merger[3590 ... :27 #37 store ]  RetrievalTask.reportPrimaryResult0: page#720301, reader.getPos() = 1329com

InvalidClassException

. store .jdo.JdoDaoBase.commitTransaction(JdoDaoBase.java:110) at com.spiffymap. store .jdo.JdoDaoBase ... .ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at com.spiffymap. store .jdo.RequestScopeJdoFilter

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

that can be stored and opened by our customers. Our application is an eclipse RCP application with a domain-driven ... and classes are missing - ObjectDB generates them automatically using the stored schema (e.g ... and known (as its schema is already stored in the database) then ObjectDB builds the class dynamically

ArrayIndexOutOfBoundsException on flush

of the objects that are being stored . The process in test was working ok until the start of this week ... to in the first exception is stored in a HashMap object within the parent entity: @OneToMany