]
Max Rydahl Andersen commented on JBIDE-18181:
---------------------------------------------
this patch definitely looks more like it. I say apply it and we'll see if other issues
are found.
Errors when hibernate.cfg.xml not at classpath root
---------------------------------------------------
Key: JBIDE-18181
URL:
https://issues.jboss.org/browse/JBIDE-18181
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: hibernate
Environment: Ubuntu Trusty, Eclipse Luna, OpenJDK 7, Hibernate Tools
3.8.0.CR1-v20140826-1536-B599, Hibernate 4.1.12
Reporter: Luke Maurer
Assignee: Max Rydahl Andersen
Priority: Blocker
Labels: respin-a
Fix For: 4.2.0.CR1
If a project keeps its hibernate.cfg.xml anywhere besides the root of the classpath,
Hibernate Tools will not recognize it. In the Hibernate Configurations tree, expanding
either Session Factory or Database gives an error ending in “/hibernate.cfg.xml not
found”. (The Configuration subtree appears to work.)
As a workaround, if I go into the directory holding WEB-INF/classes (i.e. where compiled
Java bytecode goes) and symlink hibernate.cfg.xml there, it seems to work.