openjpa icon indicating copy to clipboard operation
openjpa copied to clipboard

Mysql driver is basically updated

Open solomax opened this issue 3 years ago • 1 comments

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)

solomax avatar Jun 21 '22 07:06 solomax

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 :)

solomax avatar Jan 11 '23 16:01 solomax