package gov.nih.nci.cananolab.restful.view.edit;

public class SimpleInstrumentBean {
	
	String manufacturer;
	String modelName;
	String type;
	public String getManufacturer() {
		return manufacturer;
	}
	public void setManufacturer(String manufacturer) {
		this.manufacturer = manufacturer;
	}
	public String getModelName() {
		return modelName;
	}
	public void setModelName(String modelName) {
		this.modelName = modelName;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	
	

}

package gov.nih.nci.cananolab.restful.view.edit;

public class SimpleInstrumentBean {
	
	String manufacturer = "";
	String modelName = "";
	String type = "";
	
	public String getManufacturer() {
		return manufacturer;
	}
	public void setManufacturer(String manufacturer) {
		if (manufacturer != null)
			this.manufacturer = manufacturer;
	}
	public String getModelName() {
		return modelName;
	}
	public void setModelName(String modelName) {
		if (modelName != null)
			this.modelName = modelName;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		if (type != null)
			this.type = type;
	}
	
	

}

Make sure type doesn't have null value. Otherwise, got hibernate error
Make sure type doesn't have null value. Otherwise, got hibernate error