开发者

hibernate.properties classpath conflict

I have a jar on the classpath which contains a hibernate.properties. This causes problems when my app starts becaus开发者_开发知识库e hibernate tries to use the settings from this file. Is there a way to explicitly specify the file that hibernate should look for, or tell it to ignore the properties file in the dependency jar?


Put the "right" hibernate.properties on the class path in front of the JAR containing the "unwanted" one.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜