[jboss-user] [JBoss Seam] - Re: <h:selectOneMenu> with <s:convertEntity/> and <s:selectI

davidfed do-not-reply at jboss.com
Thu Jun 21 14:10:38 EDT 2007


I have to keep using 1.2.1 as we have an imminent milestone.

However, I was able to get it working by moving the Hibernate annotations from the fields to the accessors.

So, instead of:

  | @Id @GeneratedValue
  | private Long id = null;
  | 

I now have:

  | @Id @GeneratedValue
  | public Long getId() {
  | 	return id;
  | }
  | 

Can somebody explain why this works?


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056623



More information about the jboss-user mailing list