In
java hibernate can an application have both hibernate.properties file an hibernate.cfg.xml??
I am trying to implement lucene search but when i add the following code to my cfg.xml file i get an error
<property name="hibernate.search.default.directory_provider"
value="filesystem"/>
<property name="hibernate.search.default.indexBase"
value="D:\dojupload\index>