[JBoss-user] [EJB 3.0] - Re: PersistenceContext causing bean's jndi entry to disapear
Just thought I would fully verify my problem. My bean class is empty except for empty method declarations. if the EntityManager is named anything else other then em the beans local interface is unavailable in the jndi tree. Calling the EntityManager em or removing the annotation makes the bean available in the jndi tree. As far as the entityManager named varable actual working I can't tell due to disappearance from the jndi tree. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933960#3933960 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933960 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: PersistenceContext causing bean's jndi entry to disapear
I don't see anything in our code base that could do such a behavior View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933948#3933948 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933948 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: PersistenceContext causing bean's jndi entry to disapear
Yes that's all I have done. em is not referenced or overridden anywhere in my code. only used (IE em.find() etc..) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933935#3933935 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933935 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: PersistenceContext causing bean's jndi entry to disapear
you mean you replaced @PC EntityManager entityManager to @PC EntityManager em and it now works? If this is the case, there is something wrong in your code somewhere like overriden local variable View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933877#3933877 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933877 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: PersistenceContext causing bean's jndi entry to disapear
I renamed entityManager to em and new it woks fine. now out of curiosity is this how annotations are suppose to work? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933039#3933039 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933039 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user