About size


Index causes increased memory usage

Hello, ... About 3.5GB are in use by the page cache (which has a size of 64MB per database by default ). Have you changed the cache size? A separate cache is managed per open database. How many database ...


Issue with TYPE expression in Criteria API

Find attached project using latest 2.3.4_03 odb still causes:   ... ) ; System. out . println ( "Size: " + resultList. size ( ) ) ; em. close ( ) ...


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. ... ; System. out . println ( results. size ( ) ) ;   CriteriaQuery ... ; System. out . println ( results. size ( ) ) ;   em. close ( ...


List of Enum Values in an entity

Hello, I'm new with ObjectDB and just tried out the example in the Eclipse/Glassfish tutorial (http://www.objectdb.com/tutorial/jpa/eclipse/ee). After testing was successful, I extended the Guest class with an ArrayList of Enums: private ArrayList<GuestFlag> 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. ... ? "null" : Integer. toString ( flags. size ( ) ) ; System. out . println ( " ... if ( flags != null && flags. size ( ) > 0 ) { for ( ...



... Improved performance of collection and map size evaluation in queries. Fixed a critical bug in page caching ... ) in range queries. Fixed cached result size evaluation to include query arguments ( issue #91 ). Fixed ...


Run out of memory

Hi, I've been looking into ObjectDB for our use, where everything has been great apart from I'm stuck on the following problem.   I am trying to load a large file (> 1GB), process certain information 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.   ... memory until commit. As a result, the transaction size is limited by the available JVM heap size. Actually to be able to store 1GB of data in a single transaction you ...



Return the fetch size, or FETCH_SIZE_OPTIMAL if not set, or FETCH_SIZE_GREEDY to fetch all.(Method of javax.jdo.FetchPlan)


How to enhance the JPA/Spring/MVC to implement RESTfull for CURL client?

Here is my attempt to enhance the JPA/MVC/eclipse tutorial to implement a RESTful service. Why does this not work with this curl command? I get 404. Can someone help me correct this? Do I need to change my web.xml servlet mapping in web.xml? I've been experimenting with and nothing seems to work. Thanks Siegfried Here is my web.xml fragment: ... Status 406 - </h1>     <HR size="1" noshade="noshade"/>     <p> ... </p>     <HR size="1" noshade="noshade"/>     <h3>Apache ... Maximum file size: 32 MB 0 ...


multiple LEFT JOINs do not work as expected

Hi, We have a hierarchical data set of organisations in the database, where each organisation stores a reference to it parent organisation. I'm trying to find all organisations 2 levels under a root organisation, e.g. where organisation.parentOrg is the root or organisation.parentOrg.parentOrg is the root. The query also contains a number of other predicates and it is built dynamically using Criteria API. It could be looking for other number of levels, 2 is just an example. The test query looks like this: ... System. out . println ( resultList. size ( ) ) ;   em. close ( ... System. out . println ( resultList. size ( ) ) ;   em. close ( ...


Persist not working when ObjectDB and another db is used in the same application (through spring) with different tx managers

Hi,  Object are not being persisted when ObjectDB and another db is used in the same application (through spring) with different tx managers, please find an example of this below. Any help is greatly appreciate as we are currently evaluating ObjectDB to use in our new enterprise application and we need to decide if we are going to purchase it very soon. Many Thanks   Persistence.xml ... ;   System. out . println ( t. size ( ) ) ; }   @ Transactional ... ;   System. out . println ( t. size ( ) ) ;   }   ...