About Data Set

manual

[ODB1] Chapter 3 - Persistent Classes

Explains what a persistence capable class is and which types are supported by JDO.... 3.1  Persistent Classes Only classes that represent data in the database should be declared persistent because persistent classes ... and Hashtable , and the interfaces - Collection , Set , List and Map . java.math.BigInteger and ...

 
issue

Add Type level permissions to ObjectDB Server

It would be useful if instead of creating a web service layer on top of a database, I could just set up permissions to entities and entity variables for client connections. This would be beneficial when providing specific raw data where additional business logic is not required. I suppose you could create transient entities for data that does require additional business logic though. ... a web service layer on top of a database, I could just set up permissions to entities and entity variables for client connections. This would be beneficial when providing specific raw data where additional business logic is not required. I suppose you could ...

 
issue

Server out of memory exceptions

I've started to get memory exceptions on objectdb instances running as a server. The objectdb log reports this as: ... we should have 12 clients loading a 2mb msg - so 24mb raw data size? (Let me know if I've got this wrong though!) The test dies after ... The server was throttled to 256mb but cache sizes were set to 0mb. (I'll post the dump via support tickets again as this ...

 
forum_thread

Error using query with MAX() function

I have a class that is persisting a Entity that holds remarks and a time. Then when I query for the latest remark I get a internal error when the remark is larger than 1966 chars. Here is a test class and entity that reproduces the problem on my system. ... It works better but not completly. When my remarks data has null remarks interspersed in the data I get the another error. ... is my log output at the time of the error with log level set to debug. [2011-05-02 21:10:36 #150 query.manager] <queryRequest ...

 
issue

ObjectDB BIRT Driver Update

The ObjectDB BIRT/ODA driver is an extension of the open source Business Intelligence and Reporting Tools (BIRT) that adds support of ObjectDB as a data source and JPQL as a data set query language. ... Reporting Tools (BIRT) that adds support of ObjectDB as a data source and JPQL as a data set query language. In the current implementation ObjectDB is embedded ...

 
forum_thread

Dirty checking

Hi, wondering if anyone knows the best way to detect which objects have been changed in the database. ie: which objects, and which collections of objects, have been dirtied.     ... is a simple example, more complex views are composed of data from several different Entity clases. So, one way to do this, ... So, based on current thinking, I need to: 1) set the config file to track array changes. 2) capture all entities changed ...

 
forum_thread

Compress ODB file with XML content

Harman company requested to reduce ODB size as much as possible after database created and one of unliked solution was to use ZIP/UNZIP after/before use object DB database. Harman would like to ask Object Db team about possible internal methods to reduce/compress object DB data on run-time or after close ODB file. Does exist any compress data solution from ObjectDB side? ... possible internal methods to reduce/compress object DB data on run-time or after close ODB file. Does exist any compress data solution from ObjectDB side? ZIP is able to reduce ODB size up to ...

 
forum_thread

Updating Entities

Hello, I'm currently writing a program using JavaFX and ObjectDB and I'm encountering a problem with Entities not sending their updates to each other. I have two Entities in question at the moment: Employee and Paygrade. ... ( ) ; ... } I use a set of controller classes for each of the models. Each controller package ... interact with Model classes (Entities with persistent data). Pulls data from my personal Query class which contains all ...

 
forum_thread

mapping file is not being loaded

Hi, I am evaluating ObjectDB by using it with an in-house developed library in order to prototype its capabilities / performance. I am having a problem in that the in-house library in question reads a simple configuration file to determine available persistence units, and then bootstraps them using the JPA Persistance.createEntityManagerFactory() method and passing in the persistence unit name (again, obtained from the configuration file ). ... ( "project.odb" ) ;   //this set is alwasy empty with ObjectDB Set<EntityType> managedEntities = ... it.  After running the unit test, the Metamodel data for any other entity class that was reachable from the one I persisted was ...

 
forum_thread

Level 2 cache not hit in @ManyToOne

Hi! I have 2 entities: User and Item, both @Cacheable. Item has @ManyToOne private User user. Level 2 JPA cache is activated and it works ok for find by id (tested by changing data in explorer and reading in my app). Problem 1: find by id on Item it's good, it hits the cache, but not for its field "user". "user" is loaded each time from the DB (tested by changing data in explorer and reading in my app). "user" should also be taken from L2 cache, shouldn't it? Otherwise...it's a huge performance hit. ... and it works ok for find by id (tested by changing data in explorer and reading in my app). Problem 1: find by id on Item ... "user" is loaded each time from the DB (tested by changing data in explorer and reading in my app). "user" should also be taken from L2 ...