SQL Error: 17059, SQLState: 99999

SQL Error: 17059, SQLState: 99999
Fail to convert to internal representation
The error is that the Hibernate configuration file cannot be converted into information for the corresponding table in the database.
In general, Hibernate field attributes are wrongly written, String type is written as long, number type is written as String and so on, causing the database content cannot be converted to Java class.  

Read More: