You are running a standalone client and loading ManagerBean as a POJO. In that 
environment annotations are not processed.

If you want to get this to work you need to package ManagerBean, Endereco and 
persistence.xml in an EJB JAR file and deploy it and then convert your client 
code to a servlet (for example), and invoke the EJB from there via JNDI. 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4209179#4209179

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4209179
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to