solomax commented on PR #144:
URL: https://github.com/apache/openjpa/pull/144#issuecomment-4998635658
Hello All,
here are results of my TCK run:
`Postgres:11` can't be used due to `procedure can't have OUT param`
At `Postgres:16` following errors are reported:
```
SEVERE: Unexpected exception occurred
<openjpa-4.2.0-SNAPSHOT-r4f1cb50M fatal general error>
org.apache.openjpa.persistence.PersistenceException: class java.util.Date
cannot be cast to class java.sql.Date (java.util.Date is in module java.base of
loader 'bootstrap'; java.sql.Date is in module java.sql of loader 'platform')
..........................
..........................
..........................
Caused by: java.lang.ClassCastException: class java.util.Date cannot be cast
to class java.sql.Date (java.util.Date is in module java.base of loader
'bootstrap'; java.sql.Date is in module java.sql of loader 'platform')
at
org.apache.openjpa.jdbc.sql.DBDictionary.setTyped(DBDictionary.java:1693)
at
org.apache.openjpa.jdbc.sql.PostgresDictionary.setTyped(PostgresDictionary.java:461)
at org.apache.openjpa.jdbc.sql.RowImpl.flush(RowImpl.java:1002)
[ERROR] Tests run: 14, Failures: 0, Errors: 2, Skipped: 0, Time elapsed:
3.468 s <<< FAILURE! -- in ee.jakarta.tck.persistence.core.annotations.id.Client
[ERROR]
ee.jakarta.tck.persistence.core.annotations.id.Client.FieldUtilDateIdTest --
Time elapsed: 0.222 s <<< ERROR!
java.lang.Exception: FieldUtilDateIdTest failed
at
ee.jakarta.tck.persistence.core.annotations.id.Client.FieldUtilDateIdTest(Client.java:389)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
[ERROR]
ee.jakarta.tck.persistence.core.annotations.id.Client.PropertyUtilDateIdTest --
Time elapsed: 0.234 s <<< ERROR!
java.lang.Exception: PropertyUtilDateIdTest failed
at
ee.jakarta.tck.persistence.core.annotations.id.Client.PropertyUtilDateIdTest(Client.java:718)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
```
```
[INFO] --- failsafe:3.2.5:integration-test (persistence-tests-2) @
persistence-tck-runner ---
[INFO] Failsafe report directory:
/home/solomax/work/_oss/openjpa/openjpa-integration/tck/target/tck32/persistence-tck/bin/target/failsafe-reports
[INFO] Using auto detected provider
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running ee.jakarta.tck.persistence.se.entityManagerFactory.Client2
11 WARN [main] openjpa.Runtime - The configuration property named
"openjpa.version" was not recognized and will be ignored, although the name
closely matches a valid property called "openjpa.Log".
25 ERROR [main] openjpa.Runtime - A fatal error occurred while trying to
create the required validation provider.java.lang.RuntimeException: A default
ValidatorFactory could not be created.
at
org.apache.openjpa.persistence.validation.ValidatorImpl.initialize(ValidatorImpl.java:129)
at
org.apache.openjpa.persistence.validation.ValidatorImpl.<init>(ValidatorImpl.java:91)
at
org.apache.openjpa.persistence.validation.ValidationUtils.setupValidation(ValidationUtils.java:99)
..........................
..........................
..........................
Caused by: java.lang.RuntimeException: A default ValidatorFactory could not
be created.
at
org.apache.openjpa.persistence.validation.ValidatorImpl.initialize(ValidatorImpl.java:129)
at
org.apache.openjpa.persistence.validation.ValidatorImpl.<init>(ValidatorImpl.java:91)
at
org.apache.openjpa.persistence.validation.ValidationUtils.setupValidation(ValidationUtils.java:99)
... 77 more
```
I'll try to investigate and improve script to work with some other DBs
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]