SHARE
TWEET

Untitled

a guest Mar 18th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     SELECT DISTINCT dc FROM CustomerOB dc inner join dc.listaDfeCustomerPersonOB p WHERE p.pesel=:pesel
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  @SequenceGenerator(allocationSize = 1, name = "GEN_DFECUSTOMER_PERSON_ID", sequenceName = "GEN_DFECUSTOMER_PERSON_ID")
  8.     @ManyToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH }, fetch = FetchType.LAZY)
  9.     @JoinTable(name = "DFECUSTOMER_PERSON", joinColumns = { @JoinColumn(name = "DFECUSTOMERID", nullable = false) }, inverseJoinColumns = {
  10.             @JoinColumn(name = "DFEPERSONID", nullable = false) })
  11.     @CollectionId(columns = @Column(name = "ID"), type = @Type(type = "long"), generator = "GEN_DFECUSTOMER_PERSON_ID")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top