ObjectDB Database Search

151-200 of 200 results

Cannot initialize db after inserting a java.util.List

) at org.mortbay.jetty.servlet. Context .startContext( Context .java:136) at org.mortbay.jetty.webapp ... ) at org.mortbay.jetty.servlet. Context .startContext( Context .java:136) at org.mortbay.jetty.webapp

Eclipse4 RCP - No Persistence provider for EntityManager

by the plugins ClassLoader. I have no clue how to solve that Problem. Setting the Context Classloader ... to get around these ClassLoader issues paddy Patrick Gerhardt If setting the context class loader works ... available in LocalEntity location, so you can change the  context class loader only later

Activation Issue

it doesn't matter because it dies before connecting. The project starts a Spring application context ... (DefaultListableBeanFactory.java:687) at org.springframework. context .support ... . context .support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) at org

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

Launching explorer giving some bugs

: invalid context 0x0 Jul 19 23:15:51 KadirBASOL.local java[10319] : CGContextSetBaseCTM: invalid context 0x0 Jul 19 23:15:51 KadirBASOL.local java[10319] : CGContextGetCTM: invalid context 0x0 Jul 19 23:15:51 KadirBASOL.local java[10319] : CGContextSetBaseCTM: invalid context 0x0    

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

Does ObjectDB has a similar feature like Oracle Database Change Notification ?

has to set listeners for these events and then notify other applications and servers. support Support

Master database switching to read-only mode, possibly caused by slave failure

the master and the slave. The slave keeps listening for updates from the master and applies any update

Is named-query supported in orm.xml

after generator definition (if any) and before listener and attribute definitions. support Support yes

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

Sample JDO Architecture for Follow Up Questions

context ) is required.  So, I will explain my architecture in this forum thread and have my other threads refer to this architecture for their context . * I attached an architecture diagram ... to maximize available CPU power but minimize thread context switching overhead. Each thread has queues

Caching/Paging Questions...

memory size of ObjectDB L2 cache or EntityManager context ? Q4: Would paging result sets ... of the persistence context (the EntityManager L1 cache) but instantiation of the results ... the configuration , so strong references will be used automatically until the persistence context is cleared

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

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

ObjectDB 2.7.5

Improved recovery from failure when recovery is enabled with no sync  ( issue #2293 ). Added support of using JDO listeners with JPA EntityManager. Added debug logging got persist cascading ( issue #2299 ). Fixed a bug in restricting server access to a range of IPs ( issue #2292 ). Fixed

Object DB Explorer fails to open database

. Towfique Imam Thank you for this report. There was a problem in handling listeners and callback methods

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