-
Notifications
You must be signed in to change notification settings - Fork 68
Description
It would be nice if derby could be updated from the now 6 year old 10.14.2.0.
I did a quick search through the closed issues and found this (JDK 8 compatibility keeps derby at 10.: #351 (comment)
And I had already guessed from the release notes that JDK 8 was the reason for staying with ths version
But the derby version is 6 years old now. Maybe it is time to let JDK 8 compatibility go? Are there many people requesting and requiring it?
My problem: I use pax jdbc-config to provide me with a Datasource from config and has used this to run my applications with PostgreSQL as the production database, and using in-memory derby with dummy data for testing in local karaf and in pax exam integraion tests.
However, with a liquibase upgrade a while back my pax exam tests started breaking: liquibase/liquibase#5357
Funnily enough using derby in real karaf (rather than pax exam karaf) worked fine, so it wasn't possible to debug this. I suspect a race condition somewhere.
A fix was introduced in liquibase and the above issue was closed, but the fix wasn't consistent (testing with liquibase 4.26.0 it worked one time out of 5 tries, I think...?) and with 4.27.0 the problem has starting breaking the pax exam tests not just of the liquibase karaf feature, but of my web applications using liquibase as well.
My workaround for the liquibase karaf feature pax exam test was to throw out derby and replace it with h2 (at least for the pax exam test).