Hi all,
Recently I discovered a big source of [potencial] confusion
in hibernate configuration handling.
Problem is, configuration alway fallbacks to default hibernate properties found in /hibernate.properties.
Recently one of my fellow developers deposited hibernate.properties
from hibernate 1.2 into one of jars our portal depends on.
( by mistake, since this jar had nothing to do with hibernate )
It took a lot of work ( and swearing ) to locate this damn properties file....
This problem could be prevented easily if default properties
would live not in root, but under
/net/sf/hibernate/wahetevr.properties.
And version number where they apply to would not harm...
Well, error was on our side, but hibernate was not nice either :)
|