[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2154?page=c...
]
Darryl Miles commented on HHH-2154:
-----------------------------------
Was about to file this bug too. I think this change by max broke it.
http://fisheye.jboss.org/browse/Hibernate/branches/Branch_3_2/Hibernate3/...
I think the logic should be ...
if ( doc == null) {
if(xmlFile.exists()) {
// SNIPPED
} else {
throw new MappingNotFoundException("file", xmlFile.toString());
}
}
Configuration.addCacheableFile does not work with cached file
-------------------------------------------------------------
Key: HHH-2154
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2154
Project: Hibernate3
Type: Bug
Components: core
Versions: 3.2.0.ga
Reporter: Oleg S.
Works fine on the first run - cached .bin file is created. On the second run, method
Configuration.addCacheableFile always throws a MappingNotFoundException.
The reason is a piece of code added to the addCacheableFile method:
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira