About context listener

191-200 of 200Refresh
Forum
0

can't get HashMap out of the database

    public void test() {         ClassPathXmlApplicationContext context =             new ... " });         guestDao = context.getBean(GuestDao.class);         Guest tst = new Guest("testname");         guestDao ... , unless you use a Container-managed Extended Persistence Context, as discussed in this forum thread
Issue
0

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

below), so when the findElements method completes - all the entity objects in the persistence context are detached ... ;     } } See more details on: https://blogs.oracle.com/enterprisetechtips/entry/extended_persistence_context ... your persistent Entity objects. The returned objects will be managed by the persistent context
Forum
0

Eclipse plugin problem (using ObjectDB as a separate bundle)

.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:101) at org.eclipse.e4 ... ),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.ui.contexts.window ... .defaultAcceleratorConfiguration, org.eclipse.ui.contexts.window,,,system) !SUBENTRY 1 org.eclipse.jface 2 0 2011
Forum
0

Activation Issue

connecting. The project starts a Spring application context with one Spring Data JPA generated repository ... (DefaultListableBeanFactory.java:687) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762) at org.springframework.context.support
Forum
0

Cannot initialize db after inserting a java.util.List

.java:543) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay.jetty ... (ContextHandler.java:543) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay
Forum
0

Dependency from enhanced classes to the objectDB library

the thread context class loader (which is also used to load the classes). To use your ObjectDB configuration ... that can load all the entity classes in order to set it as the thread context class loader ... to pass relevant class loaders to ObjectDB, instead of using the context class loader, and maybe
Forum
0

Eclipse4 RCP - No Persistence provider for EntityManager

. I have no clue how to solve that Problem. Setting the Context Classloader doesn't seem to work ... hope there is a more confident way to get around these ClassLoader issues If setting the context class ... ) are not available in LocalEntity location, so you can change the context class loader only later
Forum
0

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
Forum
0

Persist not working when ObjectDB and another db is used in the same application (through spring) with different tx managers

.org/schema/p" xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="http://www ...         http://www.springframework.org/schema/context         http://www.springframework.org/schema/context/spring-context-3.0.xsd         http://www.springframework.org/schema/mvc         http://www
Forum
0

Queries are slow on a large database

get an exception: [ObjectDB 2.5.0_01]  ==> count <== (this.Id) javax.jdo.JDOUserException Invalid context ... ="objectdb" key="index" value="name"/>