Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mysql driver is basically updated #96

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

solomax
Copy link
Contributor

@solomax solomax commented Jun 21, 2022

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
Copy link
Contributor Author

solomax commented Jan 11, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants