Re: Bean Model and related field

2011-12-23 Thread Thiago H. de Paula Figueiredo
On Fri, 23 Dec 2011 10:49:53 -0200, angelochen wrote: Hi, Hi! I have an entity named 'detail', if I use this: model = beanModelSource.createDisplayModel(Detail.class, _messages); this will not include the item field, how to add this item field to the model? or just a field of item? t

Bean Model and related field

2011-12-23 Thread angelochen
") public class Detail { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @NonVisual private Long id; @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "item_id") private Item item; } -- View this message in context: http://tapestry.104571