Recently, the following exception occurred during the use of JPA:
Org.springframework.orm.jpa.JpaSystemException:could not execute statement; Nested exception is org.hibernate.exception.GenericJDBCException:could not execute statement
At Org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException ( hibernatejpadialect.java:333)
...
caused by:org.hibernate.exception.GenericJDBCException:could not execute statement
At Org.hibernate.exception.internal.StandardSQLExceptionConverter.convert (standardsqlexceptionconverter.java:47 )
...
... Common frames omitted
Caused by:java.sql.sqlexception:ora-14400: The inserted partition keyword is not mapped to any partitionat oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)...</pre>
Part of the exception code omitted, the top of the exception should be very easy to see the problem, that is, the data in the storage exceeded the database has a partition limit, increase the database partition.
But in the process of solving the problem, summed up the following two points:
1, see the problem can not only one-sided look at the beginning, perhaps the answer is in the end.
2, the project log is particularly important, debug can not see the problem, sometimes printed in the log.
Org.springframework.orm.jpa.JpaSystemException problem Record