Saving an entity when its child entity is initialized by one of its unique fields throws org.springframework.dao.InvalidDataAccessApiUsageException

前端 未结 0 686
猫巷女王i
猫巷女王i 2020-12-12 20:32

Consider the two classes below:

class TerminalMaintenance{

    @Id
    @Column(name="id")
    @GeneratedValue(strategy = GenerationType.SEQUENCE, g         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题