Hi Ram,
Entity Bean is in memory, so you are seeing your updates. And JDBC
is reading from database so you are not seeing your updates. EJBFind is
returning reference to the bean in memory. Anyway, if you want to see the
results from session bean, then you should force entity bean
Your ejb-jar.xml is not right. With in enterprise-beans tag swap the values
for the tags res-ref-name and jndi-name
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4078031#4078031
Reply to the post :
Hi,
Suppose I have a bean named say A, and I want to deploy it with jndi
name as B.
I am having jboss.xml entries as
ejb-nameA/ejb-name
jndi-nameB/jndi-name
local-jndi-nameB/local-jndi-name
.
But, JBOSS deployer never cares about B. I
Sorry,
The file is so big that I could only post only a tiny part of
server.log. But now I am trying to put relevant lines from the log file...
| 2007-08-25 09:39:55,937 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.PaymentMethod#findByPrimaryKey]
SQL: SELECT
2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.EjbModule] startService, starting
container: IDValue
2007-08-25 09:39:55,937 DEBUG [org.jboss.system.ServiceController] starting
service jboss.j2ee:jndiName=IDValue,service=EJB
2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.EntityContainer] Starting
Yes it works. It works after I remove the method-name tags. Thankyou very
much
If I have any other questions please answer them. I was struggling to make
things work with JBoss. Earlier JBOSS used to be very easy, but now it became a
monster, so huge.
View the original post :
But I wish container validation should fail, rather than silently ignoring it.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4078055#4078055
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4078055