[![表1] [1]] [1]
[![表2] [2]] [2]
我想使用partyid将上述2个表联接起来,并获取table1 (id, name, company, partyid)
的用户数据并映射到table1实体,是否可以使用JPA?
运行时出现异常
Failed to convert from type [java.lang.Object[]] to type [com.test.entity.table1]
nested exception is org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [java.lang.Long] to type [com.test.entity.table1] ```
Can anyone answer this question, please?
Thanks in advance.
[1]: https://i.stack.imgur.com/Rs78C.png
[2]: https://i.stack.imgur.com/e8zij.png