Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. public List<CredCardEntity> findByUserId(Long userId);
  2.  
  3. @ManyToOne(fetch = FetchType.LAZY)
  4. @JoinColumn(name = "UserId", nullable = false)
  5. private UserEntity UserId;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement