About context listener

191-200 of 200Refresh
Forum
1

Spring Data JPA - PersistenceException thrown

(AbstractBeanFactory.java:199) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:461) at org.springframework.context ... ) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement
Forum
0

A lot of ENT and SIV instances which are not cleared by GC

) 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(AbstractContext.java:163) at org.jboss.weld.context
Forum
0

Spring Data JPA

when the context starts. org.springframework.beans.factory.BeanCreationException: Error creating bean with name ... .java:585) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913) at org.springframework.context.support
Forum
0

Visibility of changes in Transaction is not visible to a JPA QL Query

to see that they have been added long newTotal = -1;   try {    InitialContext context = new InitialContext();    javax.transaction.UserTransaction tx = (javax.transaction.UserTransaction) context ... = (SLSBObjDbRemote) context      .lookup("SLSBObjDb");    long oldAmount = bean.countItems();    bean.addItems
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