About session bean

41-50 of 117Refresh
Forum
2

JBoss 7 startup fails

.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-2) JNDI bindings for session bean named GuestDao in deployment unit ... Hi, I was having a go with entity beans 3.x jboss 7, objectdb and the guestbook web application but cannot come out of the swamp. I use eclipse indigo as IDE The "src" folder contains the pachake
Forum
2

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

<beans xmlns="http://www.springframework.org/schema/beans"    xmlns:p="http://www.springframework ... /schema/beans             http://www.springframework.org/schema/beans/spring-beans-3.0.xsd ... />             <bean id="dataSource" destroy-method="close"     class="org.apache.commons.dbcp
Forum
2

Glassfish 4 AbstractMethodError: com.objectdb.jpa.EMF.createEntityManager

.TransactionRolledbackLocalException: Exception thrown from bean: java.lang.AbstractMethodError: com.objectdb.jpa.EMF ... __UserC__Intf____Bean__.findUser(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0 ... (Reflections.java:396) at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke
Forum
2

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

) JNDI bindings for session bean named GuestDao in deployment unit deployment "Guestbook.war" are as
Forum
2

Activation Issue

) ~[JpaMetamodelMappingContextFactoryBean.class:na] at org.springframework.beans.factory.config.AbstractFactoryBean ... .springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods ... .springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean
Forum
2

problem with lazy loading - unittest project attached

] Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML ... because it does not exist at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org
Forum
1

Entity listener - event instead of object

= null;             Object newPropValue = null;             // need to have a separate session for audit save             StatelessSession session = event.getPersister().getFactory().openStatelessSession();             session.beginTransaction();             // get the existing entity from
Forum
1

Pessimistic Lock Timeouts setting

creates one processor bean with an injected stateful EJB which holds an instance of Entity Manager for each stock. This bean holds the currents state of a stock and creates a short life FutureTask ... and my program, only relays some specific updates to the processor bean (such as price data
Forum
1

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

     .lookup("java:comp/UserTransaction");    tx.begin();    SLSBObjDbRemote bean = (SLSBObjDbRemote) context      .lookup("SLSBObjDb");    long oldAmount = bean.countItems();    bean.addItems(howMany);    newTotal = bean.countItems();    if(newTotal < (howMany+oldAmount)) {     System.err
Forum
1

2.5.3_02: java.lang.UnsupportedOperationException

(EntityManagerWrapper.java:455) at ru.mycityseason.beans.UserBean.doLogin(UserBean.java:50) at ru.mycityseason.beans.UserBean.login(UserBean.java:83) at sun.reflect.NativeMethodAccessorImpl.invoke0 ... .proxy.$Proxy266.login(Unknown Source) at ru.mycityseason.beans.__EJB31_Generated__UserBean__Intf