I want to execute a oracle stored procedure which creates table level lock , checks whether a record(with specific criteria) exists or not, and creates the record if it does