Internal Website Search

101-150 of 200 results

EM close causes an exception

are still running? Another option, do you use multiple databases in that test? If you do, maybe ... to ObjectDB on each JVM? Maybe this issue is related to multiple threads, possibly using multiple databases, but on the same JVM rather than to multiple JVMs? support Support I checked it in

Embedded & Activation & Scalation

Hi there, Our app is highly scalable and can be distributed among multiple processes on multiple ... only limitation. Is there a way to spawn multiple server instances "embedded" into our app so we can avoid the single-process restriction though still have multiple processes to avoid a SPOF? Yes, the OEM

Multi-tenant capability with hierarchies

but only with an generel answer. What we need are multiple tenants (would be best if every tenant has its own file/db ... this with ObjectDB? ObjectDB doesn't support queries on multiple databases, so it is possible ... to open multiple databases, but currently we don't have an example that does that. If you use

Mismatch client-server protocol prefix

:757) I checked multiple times if the versions match. They do. DB server version 2.6.2. Client ... ;   } This code worked for a couple of years now and is used in multiple projects. mosi0815 ... to every transaction stops to work correctly. I also found multiple examples on the Internet where they don't

virtual servers and one file

that's a crutch. Could there be a way in the future to split the database across multiple files? Thank ... machine either way. Could there be a way in the future to split the database across multiple files ... how breaking a database into multiple files, for example one file per entity class, may help

PersistenceManager.getObjectsById(Collection,boolean) throwing JDOException

containing a single oid object (the method is written to support multiple objects ... should return an empty collection. It should work with single or multiple IDs and with any collection ... multiple entities (error 636) at com.objectdb.jdo.PMImpl.getObjectsById(PMImpl.java:512) at com.objectdb

Database size is much larger than expected (x2)

! You can check it by repeating insertion of   a pic of multiples . I can not send the 7GB file ... objects have identity and support multiple references without duplication. All the other types ... loops and file reading operations" will cause the persistence of my class into multiple copies? TIA

after upgrade to 2.9.0 database destroys, urgent issue at our most important customer, production shutdown

with multiple parents), which are unlikely to be solved by the Doctor. Is it the a log for the database ... there should be only one process that accesses the database file. Accessing a database from multiple processes concurrently can cause exactly this issue of structural issues (orphan pages and page with multiple

Multi-tenant setup

Hi, does anybody have experience with multi tenant setup of objectDB. For example using multiple schema or multiple database. How to handle connections between app (Jboss Wildfly) and pass query ... use ObjectDB with multiple databases. It is very easy when accessing databases directly (by

Server vs embedded mode in multi-instance scenario

We are creating a web app that will have multiple different clients, each on their own EC2 ... given time (100k absolute maximum). We will probably have multiple instances per client for availability ... connections from multiple instances. But from what I can tell, there will be about a 50% performance drop from using Server mode to accommodate the

Examples of queries

, Paul paulfo Paul Boon See this sections in the manual regarding SELECT queries that select multiple expressions: Multiple SELECT Expressions Result Classes (Constructor Expressions) What you need is not unique for GROUP BY but for common for queries that return multiple expressions in every result. support Support

Where Does ObjectDB Block/Lock?

when accessing PersistenceManager by multiple threads? 2) Does it lock at PersistenceManager ... PersistenceManager / Transaction methods are synchronized so multiple threads should be able ... a queue) you will need multiple   PersistenceManager instances. In ObjectDB 1.x pessimistic locks

Embedable & Reference?

behavior. Embedded objects cannot be shared by multiple references. If you have multiple references to an embedded object during persist then multiple instances of that embedded object are stored in

Objectdb EntityManagerFactory problem

one  EntityManagerFactory per application, with multiple   EntityManager instances for multiple database connections. support Support

ObjectDB embeddable Springboot

Hi I have not seen, cursory search was not informative, if odb can be embedded like derby.  How does odb handle byte[].  How do you create multiple dbs.  Finally is there a gui ... (see supported types ). How do you create multiple dbs. See this documentation page .  Finally

Activation Issue

code is per machine. Use your site license to generate multiple activation codes. You may also specify multiple activation codes in the configuration file (in order to share the same objectdb.conf file

Are Queries in ObjectDB Multithreaded ?

. However, if your application use multiple threads that execute multiple queries against ObjectDB simultaneously

Optimistic lock failed

your accessing that object in the database from multiple methods simultaneously or you've got some ... . If you still get the error then you can try waiting before trying the transaction again or trying multiple times. jgleoj23 Joseph Gardi

Inserted entities with strings as keys and indices needs more and more ram memory in comparing to primitive integers as keys and indices

@ GeneratedValue primary keys are sequential. So when you persist multiple new objects their primary ... primary keys. Automatic @ GeneratedValue primary keys are sequential. So when you persist multiple new

On ensuring ID available after persist

allocation to commit or flush - multiple IDs for multiple objects can be allocated together in one round

Searching lists within objects

; } A possible solution: Avoid multiple Attribute instances with identical type / value by defining a composite ... are currently used in such comparison, so it might be still more efficient to use multiple JOINs in this case

How to open a running db in ObjectDB Explorer?

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

ArrayIndexOutOfBoundsException at com.objectdb.o.ALS.c(ALS.java:89)

EntityManagerFactory with multiple   EntityManager instances. It is uncommon to create multiple  

Performance tuning, best practices

is also for a single user with that specific operation? ObjectDB can use multiple cores to serve concurrent requests from different users, and also tries to use multiple cores for a single request

Query and commit simultaneously

the database at the same time using multiple threads. However, if all the threads share the same ... ) and you have to use multiple EntityManager/PersistenceManager instances, usually one per thread

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

multiple EntityManager instances, one per thread. Every thread with its own EntityManager has a private persistence context, i.e. the same database object is represented by multiple separate memory

Feature Request for database.obj$ file

.  If there is one could this cause the behavior? Yes. ObjectDB supports multiple snapshots of the database for multiple connections (representing by EntityManager instances) by delaying changes

Entity factory - best practices

one every time. Out of curiosity, is my current method thread-safe? Can multiple entity managers exist at the same time? Flying Banana Jiacong Xu Creating multiple EntityManagerFactory instances is thread safe

java.lang.ClassCastException in OSGi runtime when loading data from DB

practice in OSGi. Especially am I wondering how I should get this working when I have multiple bundles ... of OSGi with ObjectDB including multiple bundles with entity classes. Unfortunately we do not

javax.persistence.Converts

JPA Annotation Converts Target: METHOD, FIELD, TYPE Implemented Interfaces: Annotation Used to group Convert annotations. Multiple converters must not be applied to the same basic attribute. See Also: Convert Since: JPA 2.1 Public Annotation Attributes Convert [] value default null The Convert mappings that are to be applied. Since: JPA 2.1

javax.persistence.Convert.converter

JPA Annotation Attribute in javax.persistence.Convert Class converter default void.class Specifies the converter to be applied. A value for this element must be specified if multiple converters would otherwise apply. Since: JPA 2.1

javax.persistence.NamedNativeQueries

JPA Annotation NamedNativeQueries Target: TYPE Implemented Interfaces: Annotation Specifies multiple native SQL named queries. Query names are scoped to the persistence unit. The NamedNativeQueries annotation can be applied to an entity or mapped superclass. See Also: NamedNativeQuery Since: JPA 1

EntityGraph.addSubgraph(attribute,type) - JPA Method

JPA Method in javax.persistence.EntityGraph Subgraph addSubgraph (    Attribute  attribute,    Class  type ) Add a node to the graph that corresponds to a managed type with inheritance. This allows for multiple subclass subgraphs to be defined for this node

EntityManager.getTransaction() - JPA Method

JPA Method in javax.persistence.EntityManager EntityTransaction getTransaction () Return the resource-level EntityTransaction object. The EntityTransaction instance may be used serially to begin and commit multiple transactions. Return: EntityTransaction instance Throws: IllegalStateException - if invoked on a JTA entity manager Since: JPA 1.0

javax.persistence.IdClass

JPA Annotation IdClass Target: TYPE Implemented Interfaces: Annotation Specifies a composite primary key class that is mapped to multiple fields or properties of the entity. The names of the fields or properties in the primary key class and the primary key fields or properties of the entity

InternalException & UserException using objectdb with Jboss AS 7.1.1 final

Hello. We are currently using ObjectDB in application server Jboss as 7.1.1.final. ObjectDB version is 2.5.3_02. The following errors occur when multiple ajax requests are executed: Caused by: com.objectdb.o.InternalException: Error reading UTF string Caused by: com.objectdb.o.UserException

Pessimistic Lock Timeouts setting

where multiple threads can hit a shared counter (which is used to track separate customers product

EntityManagerFactory objects being locked during EntityManager creation

multiple   EntityManagerFactory Instances. support Support

Online backup problem

Hi, We are trying to create a servlet that performs database online backup. Unfortunately, even though no exception is thrown, backup files aren't created. When I turn on DEBUG logging in ODB, I get multiple ClassNotFoundExceptions like : [2011-06-04 05:34:14 #2 type.loader] java.lang

Use temporary files to enable very large transactions

you split the transaction to multiple smaller transactions? support Support     ... you split the transaction to multiple smaller transactions? Because it is a large transaction content ... can be larger than the database, since the same database page may be stored in the file multiple times

objectdb.home for client/server

where our object db home is located at as we might have multiple server instances running on multiple

Internal error

; PersistenceManager by multiple threads and / or other PersistenceManager instances. You wrote: Both threads ... multiple threads and / or other PersistenceManager instances. You wrote: Both threads were using

combined index not used

with multiple JOIN operations with very slow execution time you may be able to manually select the best

Query.setExtensions(extensions) - JDO Method

JDO Method in javax.jdo.Query void setExtensions (   Map extensions ) Set multiple extensions, or use null to clear all extensions. Map keys and values are not standard. An implementation must ignore entries that are not recognized. Parameters: extensions - the map of extensions See Also: addExtension Since: JDO 2.0

Query.setResultClass(cls) - JDO Method

a user-defined class. If there are multiple result expressions, the result class must be able to hold

Query.addSubquery(sub,variableDeclaration,candidateCollectionExpression,parameters) - JDO Method

is used to add multiple subqueries, the subquery replaces the previous subquery for the same named

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

a JDOFatalUserException . If multiple PMFs with the requested name are found, a JDOFatalUserException is thrown

PersistenceManager.getObjectById(oid,validate) - JDO Method

, where multiple PersistenceCapable classes share the same ObjectId class. If the validate flag is false

javax.jdo.spi.StateManager

instance contains a reference to a StateManager . A StateManager might manage one or multiple instances

PersistenceCapable.jdoMakeDirty(fieldName) - JDO Method

declaring the field. This allows unambiguous identification of the field to be marked dirty. If multiple