You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Björn <bj...@gmail.com> on 2019/03/18 13:38:48 UTC

hibernate 5.2.17 with Java 11 on Karaf 4.2.3

Hi,

Karaf comes with hibernate 5.2.17 which intalls
org.javassist/javassist/3.22.0-GA which is not Java 11 capable
https://github.com/jboss-javassist/javassist/issues/194). 

When I manually change 3.22.0-GA to 3.23.1-GA, everything works as expected.

Any idea, how to come around this? Will the next Karaf update contain the
new dependency?



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: hibernate 5.2.17 with Java 11 on Karaf 4.2.3

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
I created:

https://issues.apache.org/jira/browse/KARAF-6199

for the tracking.

Regards
JB

On 19/03/2019 07:41, Björn wrote:
> ok, thanks for your quick reply,
> 
> Regards, Björn
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: hibernate 5.2.17 with Java 11 on Karaf 4.2.3

Posted by Björn <bj...@gmail.com>.
ok, thanks for your quick reply,

Regards, Björn



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: hibernate 5.2.17 with Java 11 on Karaf 4.2.3

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

It's not directly related to Karaf: the hibernate-orm feature is
provided by Hibernate directly.

Let me deal with the hibernate guys to update the feature there.

As a workaround, I can "wrap" the hibernate-orm feature updating
javassist. It's what you can do as well.

Regards
JB

On 18/03/2019 14:38, Björn wrote:
> Hi,
> 
> Karaf comes with hibernate 5.2.17 which intalls
> org.javassist/javassist/3.22.0-GA which is not Java 11 capable
> https://github.com/jboss-javassist/javassist/issues/194). 
> 
> When I manually change 3.22.0-GA to 3.23.1-GA, everything works as expected.
> 
> Any idea, how to come around this? Will the next Karaf update contain the
> new dependency?
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com