-
Jul 5th, 2010, 01:48 PM
#1
Is Entity Relationship with GWT scaffold working?
hi all,
I am trying to define simple *-to-1 unidirectional relationship with Roo+GWT. I got the hibernate mapping notation done and I can see the schema was generated correctly but the scaffolding gui is giving an error on access:
14:44:47.585 [ERROR] [applicationScaffold] The type of value String UiField com.google.gwt.user.client.ui.TextBox empType can receive does not match the type of property EmployeeTypeRecord
I have roughly the following defined:
Employee {
@NotNull
@ManyToOne(fetch=FetchType.EAGER)
private EmployeeType empType;
}
EmployeeType {
@Size(max=40)
@Column(unique=true)
private String name;
}
Both of them are Roo enabled entity class, any idea?
Joseph
Last edited by jlic; Jul 5th, 2010 at 02:02 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules