[jbosstools-issues] [JBoss JIRA] (JBIDE-19761) Hibernate Tools DelegatingReverseEngineeringStrategy not working

Max Rydahl Andersen (JIRA) issues at jboss.org
Wed May 6 03:25:46 EDT 2015


     [ https://issues.jboss.org/browse/JBIDE-19761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Rydahl Andersen updated JBIDE-19761:
----------------------------------------
    Priority: Blocker  (was: Major)


> Hibernate Tools DelegatingReverseEngineeringStrategy not working
> ----------------------------------------------------------------
>
>                 Key: JBIDE-19761
>                 URL: https://issues.jboss.org/browse/JBIDE-19761
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: hibernate
>         Environment: Eclipse Luna
>            Reporter: Luis Lima
>            Assignee: Koen Aers
>            Priority: Blocker
>             Fix For: 4.1.3.Final, 4.3.0.Beta1
>
>
> I'm using the HibernateTools plugin (latest version) with Eclipse Luna and keep getting an error when trying to use my own reverse engineering implementation class. Every time I try to generate my classes I get this exception from Eclipse:
> org.hibernate.console.HibernateConsoleRuntimeException: java.lang.IllegalAccessException: Class org.jboss.tools.hibernate.proxy.ServiceProxy can not access a member of class org.hibernate.cfg.reveng.ReverseEngineeringStrategyUtil with modifiers "private" java.lang.IllegalAccessException: Class org.jboss.tools.hibernate.proxy.ServiceProxy can not access a member of class org.hibernate.cfg.reveng.ReverseEngineeringStrategyUtil with modifiers "private"
> Seems there's some incompatibility with ServiceProxy and the ReverseEngineeringStrategyUtil class as it seems to be trying to access a method that's no longer private. The stacktrace doesn't really provide any info other than this so hopefully this is a known issue and someone might be able to suggest how to fix it.
> It's not related to my code since right now my ReverseEngineeringStrategy implementation is doing nothing ie:
> @Override
>     public String tableToClassName(TableIdentifier tableIdentifier){
>                   return super.tableToClassName(tableIdentifier);
>     }
> My libraries are 4.3 (4.3.1.CR1 more specifically) and I also have the console configuration set to that version.
> Here's my maven dependency:
> <dependency>
>             <groupId>org.hibernate</groupId>
>             <artifactId>hibernate-tools</artifactId>
>             <version>4.3.1.CR1</version>
> </dependency>
> And always get the error.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list