Using Hibernate in OC4J 10.1.3.x
This is as much a note for my own future reference as well as a couple tips for others.
Here's my trail of discovery :
- Using Hibernate with Applications in OC4J
- Removing and/or Replacing an Oracle Shared Library Imported by Default
- Load Local Classes in WAR Module in Preference to Classes loaded at Higher Level
So starting from the top, you need to fix the conflict where OC4J's TopLink loads a version of Antlr not compatible with the version Hibernate requires. This is done with a change to orion-application.xml. I thought that this change would suffice but found that a change was needed in orion-web.xml as well.
I didn't know this stuff without some investigation. These entry might be a quick start for others using Hibernate in OC4J.