Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 24th, 2012  |  syntax: None  |  size: 0.84 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. duplicated rows which have duplicated primary key in a view
  2. @Id
  3. @Column(name = "IDBQ", precision = 5, scale = 0)
  4. public Integer getIdbq() {
  5.     return this.idbq;
  6. }
  7.  
  8. public void setIdbq(Integer idbq) {
  9.     this.idbq = idbq;
  10. }
  11.  
  12.  
  13. @Column(name = "IDR", precision = 22, scale = 0)
  14. public Integer getIdr() {
  15.     return this.idr;
  16. }
  17.  
  18. public void setIdr(Integer idr) {
  19.     this.idr = idr;
  20. }
  21.  
  22. @Column(name = "NOM_CLIENT",  length = 100)
  23. public String getNomClient() {
  24.     return this.nomClient;
  25. }
  26.  
  27. public void setNomClient(String nomClient) {
  28.     this.nomClient = nomClient;
  29. }
  30.  
  31. @Column(name = "PRENOM_CLIENT",  length = 30)
  32. public String getPrenomClient() {
  33.     return this.prenomClient;
  34. }
  35.        
  36. IDBQ -- IDR -- NOM_CLIENT -- PRENOM_CLIENT
  37. 1       1     xx            xxx
  38. 1       2     yy            yyy
  39.        
  40. 1       1     xx            xxx
  41. 1       1     xx            xxx