ObjectDB Database Search

101-150 of 200 results

ObjectDB is opening too many sockets

general. You can limit the size of the connection pool (the default in ObjectDB is currently 50), by ... the size of the connection pool (the default in ObjectDB is currently 50), by using the JDO method  ... ;setMaxPool? thamal Tomas Hamal You can specify the max pool size when you initialize

Object as parameter results in exception

; if(resultList. size () 0){    return resultList.get(0);   }   return null; } The error ... = q.getResultList();   if(resultList. size () 0){    return resultList.get(0);   ... , company);     List resultList = q.getResultList();   if(resultList. size () 0){  

internal object DB locking in an embedded multi threaded application

the initial database size ). support Support If no conf file is found or provided ... in 500mb files.  do i need to specify the size in kbs? dansmith Daniel Smith The initial size

Caching/Paging Questions...

memory size of ObjectDB L2 cache or EntityManager context ? Q4: Would paging result sets ... and strong references. The size of the L1 cache is automatic. There is no limit on the maximum size

Degrading performance overtime

, if you know the maximum database target size , you may start with that size as an initial database size

Complex Schema Upgrade not working

has no records either. However, looking at the DB- Size , it still has the same size ? The DB-Server

Schema-Update: Rename superclass and remove one subclass

.getResultList(); System.out.println(" size : " + result. size ()); We get an exception: [2016-11-14 10:48:56 #1

Is 2 level cache in use?

Hi, Is there any way to check, if 2 level cache is in use? Right now I've done two things: 1. objectdb.conf with cache size is placed in WEB-INF directory of my web application. 2. persistence.xml ...  by setting its size to 0. The main problem with the default implementation is that the server

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

.createQuery("SELECT t FROM Transfer t").getResultList();     System.out.println(t. size ... ; System.out.println(t. size ());   }   pmbrierley Michael Brierley Both addObject and  addObjectw

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

are per database. For example, the default cache size for database pages is 64GB per database, or 6.4GB per 100 databases, so it can easily exceeds your VPS RAM. If you must keep 100 databases open concurrently then you will have to reduce cache sizes , etc. support Support

List of Enum Values in an entity

== null ? "null" : Integer.toString(flags. size ());   System.out.println("    ... output = name + " (signed on " + signingDate + ")";   if (flags != null && flags. size () 0

OneToMany and cascade delete problem

for this example, but if you look at logs: Store: 4, size : 10 Offer: Offer for product: 94, store: 4 ... ; lwalkowski Lukasz Walkowski Running the new test with enhancement enabled produces: Store: 4, size : 9

Server connection management

Side) You should be able to set the connection pool size by a property in persistence.xml :      ... . Currently the default pool size is 50. support Support This is very useful information. I

ObjectDB Clustering VS Hadoop Hbase

Support As you said, the ObjectDB clustering can not support a database whose size is beyond the size

Merge with Parent/Child entities not possible

(parentEntity);   Assert.assertEquals(4, parentEntity.getChildren(). size ());   entityManager ... , parentEntity.getChildren(). size ()); } }     wua Andreas Wurm This seems to be an old issue. The test passes with build 2.6.0_01. support Support

Embedded in JDO metadata not working in objectDB 2.x ?

. Is the enormous increase of database file size caused by the number of not-embedded objects in ObjectDB 2 opposed ...   JDO annotation ? Yes. 1. Is the enormous increase of database file size caused by the number

Performance problem

database. Their size and number of records are almost identical. When running production database in ... is different, possible due the size of the results (probably related to the number of related objects) First

Bulk Delete and Update - best practice?

transactions are limited to the heap size , so this test that deletes and updates more than 500MB of data in one transaction requires a larger heap size . This limitation may be removed in future releases

Query filter comparing Dates

Hi, I am using an indexed java.util.Date field in my Entity and I came across some weird behaviour in query filters comparing this Date field. Could You please clarify why are there zero- size result collections in the first pack of queries and non-zero size results in the second pack ? I

multiple LEFT JOINs do not work as expected

; System.out.println(resultList. size ());         em.close();   ... (); System.out.println(resultList. size ()); em.close(); emf.close(); } private static Node persistTree(  

EM.find() is suddenly slower

to the disk?). Try to disable the L2 data cache or decrease its size , assuming you use it. support ... the size of the eagerly fetched graphs of objects. support Support Thank you for the patch

Fetching Collections Puzzle

, the children field of all my retrieved nodes are of size zero When I declare the FetchType as Eager ... might look empty - but as soon as your application accesses its content (e.g. by invocation of the size

Calendar in Criteria Querys

;       System.out.println(results. size ());       ... ;     System.out.println(results. size ());        

Problem witch CriteriaBuilder isMember(..)

has different members, but the same size .  List uid1_list = .. new Testclass(1,1), new Testclass(2,1 ... list the size of 3   To avoid this behavior (of the criteria builder.in method), you can set

ObjectDB eclipse plugin

that is added to my application that currently has 15 eclipse plugins. The size of objectdb.jar is 1.29 MB ( times 15 = 19.35Mb!) - a significant increase in size . With a single eclipse plugin I

large numbers of records

system memory.  Is this size of database file supported in-memory on ObjectDB. We have a server ... supports pure memory database since version 2.6.4. There is no size limit, but it is a new feature, so if you experience issues let us know. support Support

Can't get arraylist/vector type attributes

the entitymanager I write something like vector. size () or I print it's size or I do anything with the vector

doctor error message after database getting page errors

). The OutOfMemoryError crash when running the Doctor is probably due to insufficient heap size . The Doctor seems to run fine with the default JVM heap size on a PC with 16GB RAM. Did a server restart solve the issue

Run out of memory

side in C/S mode) still keeps the changes in 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

Out of Memory Error

Hi Team, We are observing an Out of Memory error while accessing odb files, but it occurs inconsistently. The sizes of the odb files are not large, with a maximum of 4-5MB. Please see the attached ... , Vinoth vinothr120 Vinoth Ramesh OutOfMemoryError is expected when the heap size is insufficient

user defined backup target

. that seems reasonable 1. Our server does (minimum) one database-file backup per day and the size may be in between 100 MB to 1GB (without documents) which means the size of the backup directory will increase

Criteria Query results in a NoResultException instead of returning object

.getName()));     criteria.where(predicates.toArray(new Predicate[predicates. size ... Predicate[predicates. size ()])); return em.createQuery(criteria).getSingleResult();   String queryStr

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 ... ODB size up to 50 times. Additional info: https://www.objectdb.com/issue/23 Harman Alexander Golyshkin

Performance Issues After Migrating to ObjectDB - Urgent Assistance Required

Size : Our MySQL database was 66GB in size before migration. Migration Status : We are halfway

Issue with orphanRemoval and multiple EntityManagers

Hi, We have a problem where our database size grows over time more than expected. We've traced it down to the following issue: I have some entities that are using OneToMany relationship ... of addresses: "+res3. size ());         em.close();   

I can't get cascading delete to work in JDO

("Holders: " + holders. size ());         query.closeAll();         ... .execute();         System.out.println("Dependents: " + dependents. size ());  

cannot delete objects after crash (see issue 2283)

after the crash we cannot delete specific objects, see screenshots of explorer. Database will be soon available ( size 5.561.119 KB) on hummingbird-systems.com, user/pw your db name, main menu option ... , coreSystemDb_.rar ( size 5.589.297 KB). upload is complete we are meanwhile in a problematic situation

out of memory error

space). Increasing the JVM heap size could solve the problem, or alternatively, tuning ObjectDB configuration to use less heap size . If the exception is thrown in embedded mode you may wrap relevant

Issue with TYPE expression in Criteria API

).getResultList();         System.out.println(" Size : " + resultList. size

ArrayIndexOutOfBoundsException: -1

when the operation has started). You cannot disable that cache since it has a minimum size even if you request zero size . In some situations (e.g. when using flush that is followed by other operations and then commit

ObjectDB 2.7.0

Extended maximum supported entity object size to nearly 2GB. Added a temporary system property to disable "enhancement ... is old" checks. Fixed a bug in handling remove and persist of the same ... property access mode. Fixed a bug in allowing page sizes larger than 64KB (which are not supported by ObjectDB). Fixed an issue of very slow online backup.

[ObjectDB 2.5.6_05] Unexpected exception (Error 990)

in which ObjectDB does not have enough heap space. Please try to increase the size of the JVM heap or change the configuration to use less heap size . support Support

Unexpected Exception (java.lang.NullPointerException: Cannot invoke "com.objectdb.o.ORS.Z9())

size . We did not configure a log-archive (log-archive path="" retain="0"). That caused an exception when the log file reached its size limit. Here's the stack trace of that issue: com.objectdb.o

Large query parameter - out of memory

cached query result size . Since Java doesn't provide information on heap memory size of data

ODB Server tries to write a log file to a weird location

We are testing client-server architecture. Our server has the following config: path = "$temp" threshold = "64mb" / inactivity-timeout = "0" / size = "0" user = "true" password = "true" / path ... = "0" /                 size = "0" user = "true" password

NullpointerException when execute a commit

.objectdb.o.IVP.l(IVP.java:148) at com.objectdb.o.IVP.k(IVP.java:130) at com.objectdb.o.ISP. size (ISP ... .ISP. size (ISP.java:164) at com.objectdb.o.CLT.visitRefs(CLT.java:156) at com.objectdb.o.TVS.j(TVS.java

Schema-Update: Rename superclass and remove one subclass

.getResultList(); System.out.println(" size : " + result. size ()); We get an exception: [2016-11-14 12:48:56 #1

Online Backup degrades responsiveness.

than when it's not during the busy time of the day. The db is working fine. But it has grown to 20gig in size with 79 million records. I don't know if it's because the size of the DB making the backup process

com.objectdb.o.InternalException

No idea what happened.  A simple getResultList() opearation. DB table affected size is ~ 26000 records, physical DB file size is ~ 8.5MB Thanks for any help ! Leon log file: ------------------------------------------------------------------------------------------------------------------------ [2016

JPQL support for mapped by (inverse) collections

As discussed and demonstrated in this forum thread , collection operators and methods (IS EMPTY, SIZE , MEMBER OF, IN) are currently not supported for mapped by (inverse) collections ... ; //System.out.println(query.getResultList(). size ());         // SELECT a FROM