Internal Website Search

1-43 of 43 results

Multithreading Test and Deadlock

it. Regarding multithreading speed - currently in ObjectDB embedded mode multithreading improves performance ... threads ). ObjectDB is faster than the alternatives also when using multithreading in writing but the gap becomes smaller, so there may be a place for improvement here. Your test shows that multithreading

Are Queries in ObjectDB Multithreaded ?

Greating again ObjectDB team, Will ObjectDB query engine use multithreading whenever possible ? Thank you indeed ! geekox86 Mohannad AlAwad The ObjectDB engine has an internal mechanism ... before enabling multithreading further, and that is expected in future versions

Exception on creation when running multithreaded

a multithreaded unit test whith 8 threads each creating 100 objects. The objects that gets created

Failing to read entities under load in multithreaded tests

test that creates, reads and updates these entities in multithreaded application 

How to do multithreading with embedded ObjectDB

How to do multithreading with embedded ObjectDB

Obtaining a JPA Database Connection

. Further, in a multithreaded application every thread usually has its own EntityManager instance

Deadlock on Schema Update during Multithreading activity

A possible deadlock was detected when new types are registered during multithreading activity against ObjectDB. Until this issue is fixed, the recommended workaround is to complete registration of all the persistable types before starting any  multithreading activity against ObjectDB. A single

NullPointerException when using multithreading

NullPointerException when using multithreading

Where Does ObjectDB Block/Lock?

.  With my PersistenceManager multiThreaded =true architecture, I desire to know where ObjectDB ... single PersistenceManager ( multiThreaded =true) makes all my requests sequential ... .  With my described multithreaded and queued architecture, with high throughput, especially

Multi-Threading/Distributed-Database Questions...

is executed in parallel using multithreading , so one user thread that runs queries will not block ... execution and multithreading in this previous thread . References from objects in one database

How to open a running db in ObjectDB Explorer?

multiple processes (embedded mode supports concurrently only within a JVM, i.e. multithreading ... supports concurrently only within a JVM, i.e. multithreading , but not accessing the database from

[ODB1] Chapter 1 - About ObjectDB

process, and multi user support may be achieved only by multithreading (several threads) in a single ... are on the same machine. Because embedded database mode supports multithreading , and the web server handles

Remove not working

.option.NontransactionalWrite", "false"); properties.setProperty("javax.jdo.option. Multithreaded

Issue with orphanRemoval and multiple EntityManagers

multithreaded application). When I create a child entity in one transaction and then remove it in

Missing (null) elements in eager loaded references

is multithreaded . Try to get more details if this happens again. You may also try accessing the fields

Explorer and multi-thread

When I use explorer.exe to browse the database in objectdb, eclipse tells me another app occupy it, then how can objectdb support multi-thread? gzdillon Lai Yang Multithreading refers to the ability to use the same database in multiple threads of the same process (same JVM) simultaneously

ObjectDB JPA 2.2 support ( java.util.stream.Stream )

ObjectDB uses multithreading internally for query execution, when possible. support Support

Query and commit simultaneously

Is it possible to query and commit on the same persistence manager (i.e. same odb file) at the same time? jake Jake Hang Multithreading is fully supported by ObjectDB, so you can query and update the database at the same time using multiple threads. However, if all the threads share the same

Multi-thread access to single EM's entities

on the observable behavior of multithreaded code. When I run this example and examine the database

EM close causes an exception

you wrote, it is difficult to see how one JVM affects the other. Do you also have multithreading access

how to operate with same object but two different Thread on database.

below,please see it once. Thank you. Bimal Bimal kumar dalei Usually multithreading with JPA involves

Query vs Extent for retrieving data

the PersistenceManagerFactory have javax.jdo.option.Optimisitic and javax.jdo.option. Multithreaded

Sample JDO Architecture for Follow Up Questions

PersistenceManager, which is set for multiThreaded =true. * There are a limited number of threads

internal object DB locking in an embedded multi threaded application

Hi, we are using Embeded objectDB 2.4.4_06 in a highly multithreaded concurrent manner and we have noticed a performance problem in our application that seems to be attributed to ObjectDb's internal locking. When profiling our app in JVisualVm we notice a large number of threads are blocked

Optimistic Lock Exception With No Concurrency

that you can still have  OptimisticLockException thrown even with no multithreading if you use multiple

Internal exception on flush

these two exceptions. Maybe both exceptions are caused by using ObjectDB under heavy multithreading . It seems that your application uses   multithreading much more extensively than other applications that use ObjectDB. Probably ObjectDB has still some multithreading issues that require fixes. Any test

stress test -> com.objectdb.o.InternalException: null

multithreaded type registration. Unfortunately this is an issue that we are aware to but couldn't ... . start the multithreaded load test with a database that already has all the types. Types

javax.jdo.PersistenceManagerFactory

setting. Since: JDO 1.0 boolean getMultithreaded () Get the default Multithreaded setting for all PersistenceManager instances obtained from this factory. Return: the default Multithreaded setting ... ) Set the default Multithreaded setting for all PersistenceManager instances obtained from

javax.jdo.PersistenceManager

that we are interested in Return: the objects Since: JDO 2.1 boolean getMultithreaded () Get the current Multithreaded flag for this PersistenceManager . Return: the Multithreaded setting. See Also: setMultithreaded ... ) Set the Multithreaded flag for this PersistenceManager . Applications that use multiple threads

ObjectDB 2.5.1

on Schema Update during Multithreading activity ( issue #1139 ). Fixed a bug in loading mapped (inverse

InternalException: null

to the DB.  When running the app without the multithreading , no errors are coming. jakab Gergely Jakab

spuriously objectdb objects have null references

. but why can we have such a behaviour ? It is only happening under heavy multithread load  hgzwicker Hans-Georg Zwicker

ObjectDB 2.4.5

multithreading problems when using new types simultaneously ( issue #950 ). Fixed a problem

ObjectDB 2.2.4

bugs in using flush. Fixed bugs in cascading merge. Fixed a multithreading deadlock bug . Fixed a bug

Server out of memory exceptions

though!) The test dies after a few minutes of running. I've attached the code, the multithreaded unit test library

Negative snapshot user count

can happen when using DELETE or UPDATE queries in a multithreaded application. A transaction

ObjectDB 2.5.3

Added support for casting from boolean to int in queries. Changed default value of . Fixed a critical Explorer bug that interferes with queries on enum fields. Fixed a multithreading conflict (missing synchronization) in the JPA metamodel API. Fixed implementation of casting ( as ) in criteria queries.

PersistenceManagerFactory.setMultithreaded(flag) - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory void setMultithreaded (   boolean flag ) Set the default Multithreaded setting for all PersistenceManager instances obtained from this factory. Parameters: flag - the default Multithreaded setting. Since: JDO 1.0

PersistenceManagerFactory.getMultithreaded() - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory boolean getMultithreaded () Get the default Multithreaded setting for all PersistenceManager instances obtained from this factory. Return: the default Multithreaded setting. Since: JDO 1.0

PersistenceManager.getMultithreaded() - JDO Method

JDO Method in javax.jdo.PersistenceManager boolean getMultithreaded () Get the current Multithreaded flag for this PersistenceManager . Return: the Multithreaded setting. See Also: setMultithreaded Since: JDO 1.0

PersistenceManager.setMultithreaded(flag) - JDO Method

JDO Method in javax.jdo.PersistenceManager void setMultithreaded (   boolean flag ) Set the Multithreaded flag for this PersistenceManager . Applications that use multiple threads ... . Parameters: flag - the Multithreaded setting. Since: JDO 1.0

javax.jdo.JDOHelper

.NontransactionalWrite", "javax.jdo.option. Multithreaded ", "javax.jdo.option.ConnectionUserName

JDOHelper.getPersistenceManagerFactory(overrides,name,resourceLoader,pmfLoader) - JDO Static Method

. Multithreaded ", "javax.jdo.option.ConnectionUserName", "javax.jdo.option.ConnectionPassword", "javax.jdo