/InsertObjectB.java Secret
Created
February 15, 2021 16:57
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Create object B */ | |
ObjetBEntity objB = new ObjetBEntity(); | |
objB.setName("My First Object B record"); | |
/* set column objectaid__r__external_id__c */ | |
objB.setObjectAExternalId(objA.getExternalId()) ; | |
objetBRepository.save(objB); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment