[JBoss-user] [EJB 3.0] - Re: Entity Beans extending a POJO - will I ever get this to

2006-02-08 Thread chrismalan
Hi Peter, I have successfully extended from a base class in several applications. Other problems crop up so I don't have things too easy, but not this one. You will find the solution here: http://docs.jboss.org/ejb3/app-server/tutorial/singleinheritance/single.html Also, the extended class

[JBoss-user] [EJB 3.0] - Re: Entity Beans extending a POJO - will I ever get this to

2006-02-06 Thread alximik
Please read ejb 3 spec. In PFD (chapter 2.1.9.2) it is explicitly written that any annotations on non-entity superclass are ignored. You can use @MappedSuperclass annotation to solve the problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3921888#3921888

[JBoss-user] [EJB 3.0] - Re: Entity Beans extending a POJO - will I ever get this to

2006-02-05 Thread peterrusselluk
Here is the Base Class | public class BaseDeptDTOImpl implements Serializable { | | private static final Log log = LogFactory.getLog(BaseDeptDTO.class); | | |/** Primary key. */ |private int deptId; | |/** | * auto_increment | * | * Get

[JBoss-user] [EJB 3.0] - Re: Entity Beans extending a POJO - will I ever get this to

2006-02-05 Thread ejb3workshop
I don't know if it is a bug, but I was also unable to inherit annotations. In my case I tried to inherit the @Version and @Id annotations. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3921718#3921718 Reply to the post :

[JBoss-user] [EJB 3.0] - Re: Entity Beans extending a POJO - will I ever get this to

2006-02-04 Thread ejb3workshop
Could you be a bit more specific what you are trying to override and what exceptions you are getting. I have implemented inheritance from POJO's, but I also had problems inheriting annotations. Basic services worked fine. View the original post :