Fixing hibernate lazyloading issue, and data type for create note, and assigning the correct note relationship when creating a note