Hibernate chokes on missing rows when dealing with a legacy database

后端 未结 4 1950
一个人的身影
一个人的身影 2021-02-19 09:19

I am trying to implement hibernate on a legacy database (that still has a legacy PHP client), and am running into some problems because the people who wrote the original app had

4条回答
  •  我在风中等你
    2021-02-19 09:49

    The annotation: @NotFound( action = NotFoundAction.IGNORE )

    Does exactly what I was looking for. I found it through here:

    Hibernate Many-To-One Foreign Key Default 0

提交回复
热议问题