hi,
i am new to vaadin, i am doing the simple example of inserting the data into the table.
for that i implemented one pojo which has a reference of other pojo. i am using the soap based web services and hibernate for that.
but data is not updated when pojo reference is set as a property.
i tried it using addNestedProperty method to the bean-Item, but not works.
cloud anyone pls help me how to do that or one example of that.
The pojo’s are…
public abstract class AbstractCatCatalogue implements java.io.Serializable {
// Fields
private Integer catalogueId;
private CatCatalogueStatuses catCatalogueStatuses;
private CatCatalogueType catCatalogueType;
private String name;
private String description;
private Integer ownerEntityId;
private Date createdOnDate;
private Integer createdByUserId;
private Date changedOnDate;
private Integer changedByUserId;
private Integer journalId;
//setters and gettters
public abstract class AbstractCatCatalogueStatuses implements java.io.Serializable {
// Fields
private Integer statusId;
private String name;
private String description;
//setters and getters
public abstract class AbstractCatCatalogueType implements java.io.Serializable {
// Fields
private static final long serialVersionUID = -3342558052959737219L;
private Integer typeId;
private String name;
private String description;
//setters and getters
how can i insert the record of AbstractCatCatalogue record into the database.
Thanks in advance.