[
https://issues.jboss.org/browse/JBIDE-19761?page=com.atlassian.jira.plugi...
]
Luis Lima commented on JBIDE-19761:
-----------------------------------
Hi Koen,
Thanks for taking the time to look into this. You're correct, I can't believe I
missed that after spending hours around this problem trying to figure out what was wrong.
Thank you for pointing it out for me and sorry for wasting your time, this issue can be
closed as it wasn't an issue at all and my mistake everything is working as it
should.
Sorry again.
Regards
Luis
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)