ObjectDB Database Search
101-150 of 200 resultsEntity factory entityManagerFactory = (...); entityManagerFactory.setEntityFactory(myFactory); The JPA listeners ... listener instances inside his application and add this listener via API call to ObjectDB (like ... the EntityManager in a JPA listener method by using JDO: EntityManager em | |
Problem to use find method on an abstract Class: AbstractMethodError is thrown.remoting] (MSC service thread 1-10) JBAS017100: Listening on /127.0.0.1:9999 08:17:22,672 INFO [org.jboss.as.remoting] (MSC service thread 1-11) JBAS017100: Listening on localhost/127.0.0.1:4447 08:17 ... :17:23,452 INFO [org.jboss.web] (MSC service thread 1-14) JBAS018210: Registering web context | |
Tomcat + JPA Problem sending context initialized event to listener instance of class OcspServer.CertEntryListener java.lang ... to the tomcat directory ( context .xml). In my opinion this caused the trouble. Another Question ... The database location is specified on: http://www.objectdb.com/tutorial/jpa/eclipse/web/ listener | |
Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities_persistence_ context _in_stateful This however has the consequence of a long conversation until the stateful ... lazy relationships after they are detached as long as the context is still avalable ... only once, and not in any way related to extended EntityManager or persistence context . - "container detached | |
Migration problem.springframework.boot. context .properties.bind.DefaultValue; import org.springframework.data ... and listeners . Is there anything specific in this code that you want to check? support Support | |
problem with lazy loading - unittest project attached ApplicationContext at org.springframework.test. context .TestContext.getApplicationContext(TestContext.java:308) ~[spring-test-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.test. context .support ... .java:109) ~[spring-test-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.test. context .support | |
Dirty checking there is: void postDirty(InstanceLifecycleEvent event) http://www.objectdb.com/api/java/jdo/ listener ... can see, there are: a) Lifecycle Listener classes, e.g: http://www.objectdb.com/java/jpa/persistence/event and b ... -commit' listener . I can guarentee single threaded access to a single EntityManager in an embedded | |
JPA lifecycle events across processes Hi, wondering if it's possible to listen for changes in one process from another process? ie: process A changes an entity process B listens for @PostPersist thanks dmoshal David Moshal This is not supported. You may be able to implement your own cross process event listeners based | |
BeanCreationException in spring data JPA with objectDB.preInstantiateSingletons(DefaultListableBeanFactory.java:580) at org.springframework. context .support ... ) at org.springframework. context .support.AbstractApplicationContext.refresh(AbstractApplicationContext ... .servlet. Context .startContext( Context .java:139) at org.mortbay.jetty.webapp.WebAppContext.startContext | |
Trouble bug on explorer] : CGContextGetCTM: invalid context 0x0 Jul 19 20:00:52 KadirBASOL.local java[9942] : CGContextSetBaseCTM: invalid context 0x0 Jul 19 20:00:52 KadirBASOL.local java[9942] : CGContextGetCTM: invalid context 0x0 Jul 19 20:00:52 KadirBASOL.local java[9942] : CGContextSetBaseCTM: invalid context 0x0 Exception in | |
Spring Data JPA - PersistenceException thrown. context .annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:461) at org.springframework. context .annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:435) at org.springframework. context .annotation | |
Is it possible to commit only specific elements?, or at least update a single table, disregarding the other entities loaded in the persistency context ? I have a complex hierarchy of intertwined objects. Currently I am clearing my persistency context ... previously retrieved and finally committing. My context is big data and performance is an issue | |
Adding EntityListener Throws Unexpected Internal Exception.. } and listener like below: public class MyListener { @PostLoad   ... Weishaupt This is an unexpected exception. It is thrown during analysis of the listener class in | |
How to deploy an Objectdb project with Jboss AS 7?.remoting] (MSC service thread 1-3) JBAS017100: Listening on /127.0.0.1:9999 04:56:02,526 INFO [org.jboss.as.remoting] (MSC service thread 1-7) JBAS017100: Listening on localhost/127.0.0.1:4447 04:56 | |
Maven driven compile time ehnancement the listener during run, and not by the Maven enhancement that failed. Your solution solves the problem ... . With the domain class project, I also have "Entity Listeners " so I omit those packages, but I'm a bit | |
ObjectDB is opening too many sockets released some of these objects, reducing the number from 1860 to 1149. The ObjectDB server listens ... to stop ServerSocket listening : https://stackoverflow.com/questions/2983835 | |
Spring Data JPA when the context starts. org.springframework.beans.factory.BeanCreationException: Error creating bean with name ... ) at org.springframework. context .support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913) at org.springframework. context .support | |
Visibility of changes in Transaction is not visible to a JPA QL Query context = new InitialContext(); javax.transaction.UserTransaction tx = (javax.transaction.UserTransaction) context .lookup("java:comp/UserTransaction"); tx.begin(); SLSBObjDbRemote bean = (SLSBObjDbRemote) context   | |
A lot of ENT and SIV instances which are not cleared by GC.jboss.weld.bean.ManagedBean.destroy(ManagedBean.java:186) at org.jboss.weld. context .ForwardingContextual.destroy(ForwardingContextual.java:31) at org.jboss.weld. context .AbstractContext.destroyContextualInstance(AbstractContext.java:150) at org.jboss.weld. context .AbstractContext.destroy | |
can't get HashMap out of the database;ClassPathXmlApplicationContext context =   ... ; guestDao = context .getBean(GuestDao.class);   ... Context , as discussed in this forum thread . In addition, you have to use the last build (2.3.2_04 | |
Eclipse plugin problem (using ObjectDB as a separate bundle).core.internal.di.InjectorImpl.invoke(InjectorImpl.java:185) at org.eclipse.e4.core. contexts ... . contexts .window,,,system) Binding(ALT+SHIFT+D G, ParameterizedCommand(Command(org.codehaus.groovy ... ; ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.ui. contexts .window | |
jakarta.persistence.EntityManager.lock(Object,LockModeType,Map) Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void lock ( Object entity , LockModeType lockMode , Map properties ) Lock an entity instance belonging to the persistence context , obtaining the specified lock mode , using the specified | |
jakarta.persistence.EntityManager.getLockMode(Object) Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager LockModeType getLockMode ( Object entity ) Get the current lock mode held by this persistence context on the given managed entity instance. Parameters: entity - a managed entity instance Returns: the lock mode | |
jakarta.persistence.EntityManager.setCacheRetrieveMode(CacheRetrieveMode) Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void setCacheRetrieveMode ( CacheRetrieveMode cacheRetrieveMode ) Set the default cache retrieval mode for this persistence context . Parameters: cacheRetrieveMode - cache retrieval mode Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.EntityManager.setCacheStoreMode(CacheStoreMode) Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void setCacheStoreMode ( CacheStoreMode cacheStoreMode ) Set the default cache storage mode for this persistence context . Parameters: cacheStoreMode - cache storage mode Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.EntityManager.clear() Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void clear() Clear the persistence context , causing all managed entities to become detached. Changes made to entities that have not already been flushed to the database will never be made persistent. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.EntityManager.getCacheRetrieveMode() Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager CacheRetrieveMode getCacheRetrieveMode() The cache retrieval mode for this persistence context . Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.EntityManager.getCacheStoreMode() Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager CacheStoreMode getCacheStoreMode() The cache storage mode for this persistence context . Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.SynchronizationType.SYNCHRONIZED Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.SynchronizationType SYNCHRONIZED Persistence context is automatically synchronized with the current transaction Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.SynchronizationType.UNSYNCHRONIZED Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.SynchronizationType UNSYNCHRONIZED Persistence context must be explicitly joined to the current transaction Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.NamedQuery.lockMode Jakarta Persistence (JPA) Method in jakarta.persistence.NamedQuery LockModeType lockMode (Optional) The lock mode type to use in query execution. If a lockMode other than LockModeType.NONE is specified, the query must be executed in a transaction and the persistence context joined | |
jakarta.persistence.MapKeyColumn.name Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyColumn String name (Optional) The name of the map key column. The table in which it is found depends upon the context . If the map key is for an element collection, the map key column is in the collection table for the map value | |
jakarta.persistence.MapKeyJoinColumn.name Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyJoinColumn String name (Optional) The name of the foreign key column for the map key. The table in which it is found depends upon the context . If the join is for a map key for an element collection, the foreign key column is in | |
jakarta.persistence.EntityManager.remove(Object) Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void remove ( Object entity ) Mark a managed entity instance as removed, resulting in its deletion from the database when the persistence context is synchronized with the database. This operation cascades | |
jakarta.persistence.EntityManager.find(Class,Object) Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager T find ( Class entityClass , Object primaryKey ) Find by primary key. Search for an entity of the specified class and primary key. If the entity instance is contained in the persistence context | |
jakarta.persistence.EntityManager.flush() Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void flush() Synchronize changes held in the persistence context to the underlying database. Throws: PersistenceException - if the flush fails. TransactionRequiredException - if there is no transaction or if the entity manager | |
jakarta.persistence.EntityManager.find(Class,Object,Map). If the entity instance is contained in the persistence context , it is returned from there. If a vendor | |
jakarta.persistence.Query.getSingleResultOrNull() the persistence context has not been joined to the transaction. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.Query.executeUpdate() context has not been joined to the transaction. QueryTimeoutException - if the statement execution | |
jakarta.persistence.Query.getResultList() other than NONE has been set and there is no transaction or the persistence context has not been joined | |
jakarta.persistence.Query.getResultStream() and there is no transaction or the persistence context has not been joined to the transaction | |
jakarta.persistence.Query.getSingleResult() and there is no transaction or the persistence context has not been joined to the transaction. Since: Jakarta Persistence (JPA) 1.0 | |
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 | |
Unexpected error when loading all entity instance of ObjectDB (e.g. two separate class loader contexts in the same process that function as ... if there are two different class loader contexts (which is common with web applications). support Support Hello, I ... . using a contextDestroyed listener ? During the last corruption did you have hot deployments (i.e | |
[ObjectDB 2.4.1] Unexpected exception (Error 990).evaluate(RunBefores.java:27) at org.springframework.test. context .junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74) at org.springframework.test. context .junit4 ... .springframework.test. context .junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72) at org | |
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  |