Hibernate and Unexpected end of Subtree exception

后端 未结 4 1437
后悔当初
后悔当初 2021-01-07 17:51

I\'m a newbie to Hibernate.

I have an Item POJO which contains a Set consisting of labels. The labels are contained on anothe

4条回答
  •  生来不讨喜
    2021-01-07 18:08

    From googling around, it appears that your parameter collection may be empty. I'd add an empty check before calling the query.

    The lesson is that Google is your friend. When you can't figure out an error message, try typing it into Google (or your favorite engine.) You are unlikely to be the first person to have been confused by it.

提交回复
热议问题