Re: T5+Hibernate: Entity class id variables cannot have leading underscores

2008-11-16 Thread SergeEby
Hi, This has nothing to do with Tapestry. You have 2 options: 1) Use the @Column annotation on the _id field @Id @GeneratedValue @Column(name="id") private Long _id; 2) Annotate the accessor methods /Serge Bill Holloway wrote: > > To use the simplified page activation context for a hiber

T5+Hibernate: Entity class id variables cannot have leading underscores

2008-11-16 Thread Bill Holloway
To use the simplified page activation context for a hibernate entity page (e.g., onActivate(Person p)...), it looks like the entity class' primary key id field's name must match VERBATIM the text that follows the word "get" in the getter (and "set" in the setter, probably). I.e., this won't work: