[
https://issues.jboss.org/browse/JBIDE-8071?page=com.atlassian.jira.plugin...
]
Max Rydahl Andersen resolved JBIDE-8071.
----------------------------------------
Resolution: Out of Date
Thank you for reporting this issue but this issue have been resolved as out-of-date since
it has not had any updates for the last 2+ years (730 days).
If you believe this issue is still relevant and important then please reopen the issue or
create a new one mentioning/linking this jira for background information.
Thank you!
External process for hibernate code generation cannot work with
3.2-3.5 and 3.6 at the same time
------------------------------------------------------------------------------------------------
Key: JBIDE-8071
URL:
https://issues.jboss.org/browse/JBIDE-8071
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: hibernate
Affects Versions: 3.2.0.CR1
Reporter: Max Rydahl Andersen
Assignee: Max Rydahl Andersen
Priority: Critical
Fix For: 3.3.x
If you compile Hibernate Tools against 3.5 it cant run on 3.6; and if you compile against
3.6 it can't run on 3.5 (even though the code is source compatible)
Since we want to support Hibernate JPA 2 we need to upgrade to 3.6 but then we cannot at
the same time provide the "external process for hibernate code generation" since
that will almost always collide with users classpath and thus you get errors like:
java.lang.IncompatibleClassChangeError: Found class org.hibernate.cfg.Mappings, but
interface was expected
Because the interface Mappings in 3.6 is a class in 3.5 and previous versions.
I don't know a good way to work around this thus for now we will have rollback
JBIDE-6423
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira