Deleting data using an access bean

You can delete data from the HCL Commerce database using access beans, even though the underlying logic uses JPA.

You can delete data from the HCL Commerce database using the remove() method on the access bean's remote interface.

The following example attempts to delete the record that is contained in myAccessBean.
// Delete record using an AccessBean
try 
{
	myAccessBean.remove();
}
catch( Exception e) {
	//TODO hanle exception
}