[jbosstools-issues] [JBoss JIRA] (JBIDE-25553) Cannot create Hibernate Console Configuration for projects with java 9

Koen Aers (JIRA) issues at jboss.org
Mon May 7 09:18:03 EDT 2018


    [ https://issues.jboss.org/browse/JBIDE-25553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13572100#comment-13572100 ] 

Koen Aers commented on JBIDE-25553:
-----------------------------------

The problem is solved with the limitation that the workbench should be started using Java 9. If the workbench is started with Java 8 it will still be possible to create a Java 9 project and create a Hibernate Console Configuration and even a Hibernate Code Generation Configuration for it that can generate classes but trying to open the console configuration for the newly generated classes will result in a Java version error because the classes have been compiled with the Java 9 runtime and the Console Configuration class loader tries to load them with Java 8. 
I think this is an acceptable limitation as it has always been present. To solve this limitation (and to use the projects class loader instead of the platform's class loader) would mean considerable work and I am not sure if there is enough benefit to warrant the work. 
I welcome your comments.

> Cannot create Hibernate Console Configuration for projects with java 9
> ----------------------------------------------------------------------
>
>                 Key: JBIDE-25553
>                 URL: https://issues.jboss.org/browse/JBIDE-25553
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: hibernate
>    Affects Versions: 4.5.2.AM2
>            Reporter: Rastislav Wagner
>            Assignee: Koen Aers
>            Priority: Critical
>             Fix For: 4.6.0.AM1
>
>




--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list