Enhydra Shark Notes

version 1.0

Hibernate components note

Unfortunatelly after initial contribution, Hibernate components author couldn't follow on maintaining them, so they aren't being built by default.

Core Shark team doesn't have enough knowledge/time to keep up these components.

Nevertheless, if you want to use them here are the steps you need to do:

  • Acquire Shark sources
  • Get following jar files needed for Hibernate,
    • c3p0.jar
    • cglib2.jar
    • commons-collections.jar
    • dom4j.jar
    • ehcache.jar
    • hibernate2.jar
    • jdbc2_0-stdext.jar
    • jta.jar
    • odmg.jar
    and store them into lib directory.
  • Add Hibernate into appropriate submodules.sequence files in
    • modules/SharkApplicationMapPersistence
    • modules/SharkAuthentication
    • modules/SharkEventAudit
    • modules/SharkInstancePersistence
    • modules/SharkParticipantMapPersistence
    • modules/SharkProcessLocking
    • modules/SharkRepositoryPersistence
    • modules/SharkUserGroup
    • modules/SharkUtilities
  • Rebuild Shark
  • Edit conf/Shark.conf file to use Hibernate layers, instead of DODS.
  • Configure shark to use PostgreSQL which should be on localhost.