Class HibernateUtil

java.lang.Object
edu.sc.seis.sod.hibernate.HibernateUtil

public class HibernateUtil
extends java.lang.Object
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.net.URL DEFAULT_EHCACHE_CONFIG  
  • Constructor Summary

    Constructors 
    Constructor Description
    HibernateUtil()  
  • Method Summary

    Modifier and Type Method Description
    static void deploySchema​(boolean haltOnError)  
    static org.hibernate.SessionFactory getSessionFactory()  
    static void setUp​(java.util.Properties inProps)  
    static void setUp​(java.util.Properties props, java.net.URL ehcacheConfig)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • getSessionFactory

      public static org.hibernate.SessionFactory getSessionFactory()
    • setUp

      public static void setUp​(java.util.Properties props, java.net.URL ehcacheConfig)
    • setUp

      public static void setUp​(java.util.Properties inProps)
    • deploySchema

      public static void deploySchema​(boolean haltOnError)