Save an entity using hibernate transactions or not. You can optionally flush the session also.
Returns
This function returns void
Arguments
Examples
var user =ormService.new("User");populateModel(user);ormService.save(user);// Save with immediate flushvar user =ormService.new(entityName="User", lastName="Majano");ormService.save(entity=user, flush=true);