this.updateSyncNotes(noteVO, cvdal);
// set default permissions on the new note
InitialContext ic = CVUtility.getInitialContext();
AuthorizationLocalHome authorizationHome = (AuthorizationLocalHome) ic.lookup("local/Authorization");
AuthorizationLocal authorizationLocal = authorizationHome.create();
authorizationLocal.setDataSource(dataSource);
authorizationLocal.saveCurrentDefaultPermission("Notes", noteID, individualID);
} catch (Exception e) {
logger.error("[addNote]: Exception", e);
throw new NoteException(NoteException.INSERT_FAILED, "Failed in note ejb while adding note");
} finally {
cvdal.destroy();