This content has been marked as final.
Show 3 replies
-
1. Re: Using an @Embeddable class as seam component problem
asookazian Jul 26, 2009 4:51 PM (in response to sinergy.simply_ice_star.yahoo.com)show pertinent code
-
2. Re: Using an @Embeddable class as seam component problem
sinergy.simply_ice_star.yahoo.com Jul 26, 2009 7:10 PM (in response to sinergy.simply_ice_star.yahoo.com)@In
private EntityManager entityManager;
@In
private ProductComment productComment;
public void add()
{
productComment.setProductComment_date(new Date());
Product product=entityManager.find(Product.class,productId);
product.addProductComment(productComment);
}