hi please
i have this reference
between two classesCode:@DBRef private Collaborateur collaborateur;
my question is
does this setter
in referencing class Sets $Id, $ref, $db fields of @DBREF collaborateur using the ones sets in collaborateur POJO?Code:public void setCollaborateur(Collaborateur collaborateur) { this.collaborateur = collaborateur; }
if yes how can i get(read) those($Id, $ref, $db) values ??Code:@Document(collection="user") public class Collaborateur { @Id private String id; private String nomCollaborateur; private String prenomCollaborateur; private String loginCollaborateur; private String passwordCollaborateur; private String[] droitsCollaborateur; }
If no what does it sets
Thanks for answer


Reply With Quote
