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
HHH-13184 - Oracle dialect detection does not return latest dialect in the default case #3018
Conversation
…n the default case
oh, wow interesting mistake. Thanks! |
@gbadner this applies to 5.3 only, yet I believe it should be merged. Your call |
@gbadner I also think this should be backported to 5.3 as it prevents applications from starting if the |
@joelarnold, thanks for the PR! It will applied to the next Hibernate ORM 5.3 release. |
@vladmihalcea @joelarnold @gbadner Is there any intention of backporting this fix to 5.2? I have a JPA 2.1 application that is using 5.2.18, but is having this problem now after updating to Oracle 18c.
It is not feasible for my application to have to set the |
@dazey3 5.2 is no longer maintained - the oldest version actively maintained is branch 5.3, but I would encourage you to upgrade to 5.5+ . (All maintained versions have the fix) |
@Sanne That's disappointing. Using 5.3+ fails to work as the JPA 2.2 binaries are not available; only the 2.1 binaries are available:
I am testing Hibernate integration with Open Liberty; specifically JPA 2.1 integration. This is not an application that can simply add the appropriate javax packages to the application classloader or specify the hibernate dialect as a persistence property. This bug essentially makes any Hibernate integration with JPA 2.1 void since Oracle is not supported by default, there is no Hibernate version that supports JPA 2.1 and has this fix, and the application needs to be DB platform agnostic. A shame really. |
So why can't you use the JPA 2.2 integration of Open Liberty @dazey3? |
Right, JPA 2.2 is strictly backwards compatible so it should be easy to upgrade. |
@beikov However, having to use the JPA 2.2 packages because I am forced to upgrade to Hibernate 5.3+ would negate the purpose of testing Open Liberty's If I attempt using Hibernate 5.3+ (which is compiled against javax.persistence version 2.2) with |
Well, there also is no version of Hibernate built with JPA 2.1 that supports running on Java 11 out of the box, but we don't do releases of discontinued branches just because there is some new environment or database version. I understand that it is uncomfortable for you to do testing against this combination due to the need for dedicated configuration, but this is just how it is. There will be no new release for this branch. |
No description provided.