Skip to content

Instantly share code, notes, and snippets.

@mguemmar
Last active February 15, 2021 16:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mguemmar/e4668ac792dad092447e44507c4beb1e to your computer and use it in GitHub Desktop.
Save mguemmar/e4668ac792dad092447e44507c4beb1e to your computer and use it in GitHub Desktop.
//Create objet
ObjetAEntity objA = new ObjetAEntity();
objA.setName("My First Object A record");
//Set external Id with an UUID
objA.setExternalId(UUID.randomUUID().toString());
objetARepository.save(objA);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment