openjpa
openjpa copied to clipboard
Mysql driver is basically updated
The tests are not green I need some basic review on shall I proceed fixing the tests
One of the errors is
java.sql.SQLSyntaxErrorException: Syntax error for TIMESTAMP escape sequence '2009-08-25 00:00:00.'.
Caused by: java.lang.IllegalArgumentException: Timestamp format must be yyyy-mm-dd hh:mm:ss[.fffffffff]
at java.sql.Timestamp.valueOf(Timestamp.java:257)
at com.mysql.cj.jdbc.EscapeProcessor.processTimestampToken(EscapeProcessor.java:356)
Only 2 errors remain:
[ERROR] org.apache.openjpa.persistence.query.TestTimeoutException.testQueryTimeOutExceptionWhileQueryingWithLocksOnAlreadyLockedEntities Time elapsed: 1.135 s <<< FAILURE!
junit.framework.AssertionFailedError: org.apache.openjpa.persistence.PersistenceException was raised but expected javax.persistence.QueryTimeoutException
[ERROR] org.apache.openjpa.persistence.query.TestTimeoutException.testQueryTimeOutExceptionWhileFindWithLocksOnAlreadyLockedEntities Time elapsed: 1.149 s <<< FAILURE!
junit.framework.AssertionFailedError: org.apache.openjpa.persistence.PersistenceException was raised but expected javax.persistence.LockTimeoutException
I have no idea why is that :((( Any help would be appreciated :)