[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2154) Configuration.addCacheableFile does not work with cached file

Oleg S. (JIRA) noreply at atlassian.com
Tue Oct 17 05:37:25 EDT 2006


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2154?page=comments#action_24832 ] 

Oleg S. commented on HHH-2154:
------------------------------

The code that causes error:

} else {
      throw new MappingNotFoundException("file", xmlFile.toString());
} 

It is always executed if the .bin file exists.

> 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.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list