ObjectDB Database Search

101-150 of 200 results

Pooling of EntityManagers

this is the most expensive resource. However, the persistence context , i.e., the first level cache that an  ... the persistence context ). However, whether it improves performance or not depends on too many factors ... then you empty the persistence context / first level cache. However, possibly the main gain from pooling

Dependency from enhanced classes to the objectDB library

classes, so it will be found using the thread context class loader (which is also used to load ... it as the thread context class loader for ObjectDB. You can define your own custom class loader, or ... of using the context class loader, and maybe support several class loaders, including for loading XML

connection pooling

specifies a TPC port on which the server is listening for new connections. Usually the default port 6136

Sync ObjectDB and MySQL

Is there a listener or program that can be used to sync across data from/to MySQL and ObjectDB so that I can use ObjectDB for development and then just make sure MySQL always has the same data? ThreaT Ashton Hogan There are plans to implement such a tool. You may subscribe to this feature request

Cast exception?

cannot be cast to database.entity.Player, Listener : { Ext: TestServer, Type: JAVA, Lev: ZONE, { Zone

Soft Reference Object Cache Recommendation

; Perhaps setting ObjectDB to use weak references but then using persistent object callback/ listeners to track

Server connection management

to listen to client requests. When the connection is closed on the client side (including on client

Detecting ObjectDB alive

Hi, I'm wondering how best to be able to detect if ObjectDb Server is alive? For: a) from a java process - I'm guessing you could try and grab a Persistence Manager and/or listen for a Disconnection Exception?? b) from a NodeJs runtime - I'm guessing you could either try and grab the ObjectDb

@PrePersist Implementation

Hi Please help me.I have requirement like In my project having arround 100 pojos .I have used @EntityListener and @prePersist annotaions to invoke my action class .. But problem is how can i get oldvalue and new value of current form of pojo in side my @entity Listener Action class. code snipt

ObjectDB JDO - foreign key constraints

you can still use JPA annotations to set cascading operations. Alternatively you may be able to listen

turn off auto-serialization

; moreover that exception is raised before any preStore callback or listener so I could not check field structure and I'm

How to change properties in urls2.xml?

to which the embedded server is listening by adding a port argument to the url that is used to open the database in

JPA 2.0 Criteria API: (When) Fully supported ?

.persistence.ArgumentException: The filter listener "matches" requires a constant argument.  

Method Invocation On All Entities

some "doBeforeDie" method before the deletion. You may define a callback or listener for JPA

Show Sql/Jpql

listener or callback . support Support Build 2.4.7_01 adds simple text logging of query execution

UTF Error

(RenderKitUtils.java:1272) at com.sun.faces. context .ExceptionHandlerImpl.throwIt(ExceptionHandlerImpl.java:255) at com.sun.faces. context .ExceptionHandlerImpl.handle(ExceptionHandlerImpl.java:119) at javax.faces. context .ExceptionHandlerWrapper.handle(ExceptionHandlerWrapper.java:93) at com.sun.faces

package not found running ObjectDB under OSGi

the following way :  @Override     public void start(BundleContext context ) throws Exception {         super.start( context );                 ClassLoader classLoader =   context .getBundle

JSON serialization and __odbHidden members

{ @SuppressWarnings("unused") @ Context private UriInfo context ; @ Context HttpServletRequest request; @Inject private

UserException - Object User#2 belongs to another EntityManager

.AbstractOwbBean.create(AbstractOwbBean.java:182) at org.apache.webbeans. context .creational.BeanInstanceBag.create(BeanInstanceBag.java:81) at org.apache.webbeans. context .AbstractContext.getInstance(AbstractContext.java:167) at org.apache.webbeans. context .AbstractContext.get(AbstractContext.java:132) at org

Slave server not getting deletes

and delete queries bypass the persistence context and therefore may cause various cache issues ... . DELETE and UPDATE queries bypass the persistence context and the cache, and therefore, an extra caution ... , the  EntityManager  may not be aware that a cached entity object in its persistence context

Multiple inputs not supported on WHERE ?

.jar:5.7.11]     at org.springframework.security.web. context ... ]     at org.springframework.security.web. context .SecurityContextPersistenceFilter ... .security.web. context .request.async.WebAsyncManagerIntegrationFilter.doFilterInternal

@Unique member combination not working

an existing value (('John','Doe')) support Support Thanks, it worked. I was using servlet context because I ... in the servlet context . Maybe you had an old  EntityManagerFactory in the servlet context

WebService : Failed to get reference value of field using enhanced method

of  ClientEntity loaded using difference class loaders. ObjectDB uses the current thread context ... Context class loader to load classes or resources from its environment. (TCCL-Thread Context Class

Closed EntityManagerFactory after upgrading glassfish 3.1.1 to 3.1.2

.UIComponent.encodeAll(UIComponent.java:1760) at org.icefaces.impl. context .DOMPartialViewContext.processPartial(DOMPartialViewContext.java:129) at javax.faces. context .PartialViewContextWrapper.processPartial ... more It seems that there is something wrong with persistent context . it seems that glassfish 3.1.2 behaves differently. I

NullPointerException while setting a new property value

concurrently executing threads, as the entity manager and persistence context are not required ... there is an attempt to provide thread safe EntityManager and persistence context in ObjectDB ... , but be aware that entities (which are part of a persistence context ) are also not expected

ClassCastException of same object type

context class loader before using ObjectDB: Thread.currentThread().setContextClassLoader(MyEntity.class ... bundle. It is embedded as per the thread you mentioned. I will have a look at the thread context

javax.persistence.PersistenceException: No Persistence provider for EntityManager named in Karaf 4.0.7 and OSGi DS test

the context class loader. Setting the context class loader, as suggested in #2 above, is a known

Mismatch client-server protocol prefix

context with path [] threw exception [Request processing failed; nested exception is org ... is very general internal exception. In this context it happens during reading query response on the client

Understanding Database max-threads objectdb.conf Settings Option

These are questions asked in the context of the proposed architecture described in the forum thread titled, "Sample JDO Architecture for Follow Up Questions".   In the objectdb.conf file ... this helps me trade off parallel throughput versus thread context switching overhead. CBE CBE

ObjectDB License Error I got

I wanted to use objectdb on my spring boot app. Here is what i have tried :   package com.manage.config; import org.springframework. context .annotation.Bean; import org.springframework. context .annotation.Configuration; import org.springframework.data.jpa.repository.config.EnableJpaRepositories

Shrinking Database Files

These are questions asked in the context of the proposed architecture described in the forum thread titled, "Sample JDO Architecture for Follow Up Questions".   I thought I read ... some minor helpful context to propose an answer.) CBE CBE ObjectDB reuses space of deleted objects

Many clients access same database

so that there is one Persistence context for all the client programs on the different computers. For example: When I change ... well. How is this possible? joelcraenhals Joël Craenhals You cannot share a persistent context

Updating Entities

context has been modified by an UPDATE query. Therefore, it is a good practice to use a separate ... is about over. DragonRulerX Jared Hinze OK. Note that having a separate object context for every EntityManager

Problem upgrading

. context .SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:91) [spring ... .RELEASE] at org.springframework.security.web. context .request.async.WebAsyncManagerIntegrationFilter

Not Enhanced: ...: com.objectdb.o.TEX: Type ..._$$_javassist_1 is not found

Hello! ObjectDB logs these errors when I start the app and open the log in page. (see attachment) dk.mandecentret.boundary.AuthB is a @javax.enterprise. context .RequestScoped and dk.mandecentret.boundary.UserSessionB is @javax.enterprise. context .SessionScoped. AuthB contains UserSessionB

Failed to write the value of field using reflection (error 363) on LAZY fetch

context , that when my query-method "getEntities()" ends the transaction get closed and no longer ... am using a spring context (org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean)? Any

Jboss 6 persistence.xml startup error

persistence context named: testUnit at org.jboss.jpa.impl.deployment.PersistenceUnitInfoImpl

Can I Disable the Creation of the "log" Directory?

These are questions asked in the context of the proposed architecture described in the forum thread titled, "Sample JDO Architecture for Follow Up Questions".   In the objectdb.conf file (attached to forum thread mentioned above), I disable logging (by setting log path="") but the "log

Objectdb Doctor

can help in this context in two ways: Running the Doctor in diagnosis mode once in awhile

Explorer in 2.3

... commands (also available in the context menu when right clicking a reference). Using copy and paste

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

objects in the persistence context are detached. Because the ownedElements relationship is defined as LAZY ... by the persistent context (EntityManager) and changes made to the objects will be tracked as ... - 142 (Transaction-Scoped Persistence Contexts / Extended Persistence Contexts ) Pages 159 - 160 

com.objectdb.o._PersistenceException: Failed to locate set method for field property using reflection

property or listener fires and causes an error while ObjectDB is loading the data - clearly my fault not

Query in nested transaction returns detached entity if lazy-loaded

listeners for pre persisted and post persisted in order to check the entity version number. For example

ObjectDB 2.1.1

Fixed an  Explorer bug in handling listeners and callbacks. Fixed a bug in using user/password url arguments multiple times. Fixed several bugs in query processing and running.

References to objects of missing obsolete entity classes

.internal. listeners .RequiementHierarchyConstraintsEnforcerListener.handleEvent

Removing of an entity removes also another entity type

context has been modified by an UPDATE query. Therefore, it is a good practice to use a separate ... an small example, since the issue occurs only in a big context . But we found the reason ... entity object in its persistence context has been removed from the database by a DELETE query

JQL-Update Queries fails with activated L2-Cache

, the EntityManager may not be aware that a cached entity object in its persistence context ... cache (the persistence context ). But if the data is also cached in the L2 cache it may not help. Use

Internal error

if we can understand better the context in which this exception is thrown. support Support Thanks ... better the context in which this exception is thrown. sjzlondon Steve Zara We can release a new build

missing merger

the context of ObjectDB, i.e. what is your observation regarding ObjectDB operations, exceptions, log ... the context of ObjectDB, i.e. what is your observation regarding ObjectDB operations, exceptions, log

InternalException: null

the context of your second reported stack trace. If it does't solve the issue, we may need a test case that demonstrates the exception. support Support