What is the type of marriage identified by Hibernate jpa? Why is my throwing type conversion exception?

the data found is a collection of the corresponding types of tables, which can be received. But when traversing, you will run out of ClassCaseException

.
Mar.14,2021

Table field and entity class code paste


query two or more fields. By default, the list collection is returned. The list collection encapsulates Object [], and the length is the same as the number of fields queried.
Return the query results as a List. If the query contains multiple results pre row, the results are returned in an instance of Object [].

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e8c772-6884b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e8c772-6884b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?