com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.QueryTimeoutException: Could not execute JDBC batch update
When doing Hibernate bulk insert, I get this error org.hibernate.QueryTimeoutException:
The reason for the error is that the capacity of the table space is insufficient, and the space capacity needs to be increased; the first thing that comes to mind is that its capacity should be queried, so it should find a way to query its capacity and increase its capacity.
Possible cause: The data length is too long, exceeding the length limit of the field
Solution: Increase the length limit of the field
例:alter table table_name modify column_name varchar(50);