Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL, mappedBy = "DO1")
  2. private Set<DO2> do2Set;
  3.  
  4. @JsonBackReference("name")
  5. @ManyToOne(fetch = FetchType.LAZY)
  6. @JoinColumn(name = "key", referencedColumnName = "key")
  7. private DO1 do1;
  8.  
  9. @SequenceGenerator(name="SEQ",sequenceName="QTY_SEQ", allocationSize = 500)
  10.  
  11. "org.hibernate.exception.ConstraintViolationException: could not execute statement", "embeddedExceptions": [{"message": "org.hibernate.exception.ConstraintViolationException: could not execute statement" }]}"
  12.  
  13. Error Msg = ORA-00001: unique constraint () violatednntat oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:498)nt... 50 moren
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement