I have a similar construct in another part of the system:

@Entity
  | public class BasketItem<T extends ComplexEntity>
  | {
  |     private T object;
  |     
  |     @ManyToOne(fetch=FetchType.LAZY, optional=false)
  |     public T getObject()
  |     {
  |             return object;
  |     }
  |     public void setObject(T object)
  |     {
  |             this.object = object;
  |     }
  | ...
  | }
  | 
  | @Entity
  | public class AssetBasketItem extends BasketItem<Asset>
  | {
  | ...
  | }

this is getting deployed and works. what is the difference? 


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

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

Reply via email to