ObjectDB Database Search

151-200 of 200 results

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

ClassCastException: cannot be cast to com.objectdb.spi.TrackableUserType

. However, although my method to store the method is shown below:     @Override void store ( Object instance ) { PersistenceManager pm = connect() def transaction = pm.currentTransaction ... .main.logException( "com.epimss.lab.db.Connection. store (instance)", e ) } finally { if( transaction

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

Merge Issue: Attempt to reuse an existing primary key value

instances were stored in the database, so this test failed with build 2.4.6_16 and passed with build 2.4 ... ,   storing 3 B instances can be explained. The second B instance is duplicated to a managed B instance in the cascading merge , and then also stored as a third instance during commit as

Eclipse plugin problem (using ObjectDB as a separate bundle)

.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at com.epimss.lab.db.Connection. store (Connection ... ;  new Connection( ISharedPreference.DB_OBJECTDB, "admin", "admin" ). store ... .clarke St Clair Clarke OK. It runs now. Second search fails with: com.epimss.lab.db.Connection. 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

Pre-detach loading: retrieval by navigation not working in if statement

; } } But this works, storing the test in a temporary variable: test = lz.getPresent().getValue() != null ... the compiler just removes it, for the loading to be triggered it has to be somehow stored in ... , but could not reproduce the problem. The following works WITHOUT storing the test in a temporary variable

Is ObjectDB suitable for DMS (Document Management System)?

Is ObjectDB suitable for DMS (Document Management System) like application that requires to store attachments in database? I specificaly mean the ability to store and handle file attachments(MS ... Marko You can store large attachments in ObjectDB as byte[] fields. The database size is limited

Question about overriding default equals and hashcode

). So why these informations are revelants to persistance of my beans ? xirt Sylvain ObjectDB doesn't store methods or methods names, but it stores field names and types, including static final , for using in ... to your classes, their names and types are stored in the ObjectDB schema. support Support

NegativeArraySizeException on commiting a transaction

. ObjectDB does not support an entity object 1GB at the moment, and unfortunately trying to store ... , but starting build 2.6.9_08 you can store entity objects larger than 1GB (which failed in previous versions), e.g. 1.5GB. However, note that ObjectDB is not designed for storing such a large size of data in

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

merger missing in log

was repaired before switching to version 2.7.5):   [2018-05-14 15:00:48 #1 store ]  Database ... 15:00:52 #2 store ]  Database 'F:\Hummingbird\Objectdb\db\coresystemdb.odb' is opened by 476@wzbhb101 [2018-05-14 15:00:52 #3 store ]  Configuration path: F:\Hummingbird\Objectdb\db\objectdb

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

JPA 2.2 LocalDate still not working

transaction: Attempt to store an instance of a non persistable type java.time.LocalDate or am I ... ;OffsetTime and OffsetDateTime are converted and stored as UTC. support Support Thank ... but for comprehension reasons: Why would someone want to store an entity as Object instead of using the right type

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

InternalException

and is stored for future use. The app is then effectively doing the following actions in a loop: Open a new transaction Load an object from the database Update the object Commit the transaction, storing ... an object from the database Remove the object Commit the transaction, storing the updates