Class HibernateConfiguration

    • Field Detail

      • RESOURCE_LOCAL

        public static final String RESOURCE_LOCAL
      • JTA

        public static final String JTA
      • hibernateProperties

        public final Properties hibernateProperties
      • annotedClasses

        public final List<Class<?>> annotedClasses
      • cfg

        protected org.hibernate.ejb.Ejb3Configuration cfg
    • Constructor Detail

      • HibernateConfiguration

        public HibernateConfiguration()
    • Method Detail

      • setDatasource

        public void setDatasource​(String name)
      • addAnnotedClass

        public void addAnnotedClass​(Class<?> annotedClass)
      • removeAnnotedClass

        public void removeAnnotedClass​(Class<?> annotedClass)
      • setupConfiguration

        public org.hibernate.ejb.Ejb3Configuration setupConfiguration()
      • setupConfiguration

        public org.hibernate.ejb.Ejb3Configuration setupConfiguration​(Map<String,​String> properties)
      • createEntityManagerFactory

        protected javax.persistence.EntityManagerFactory createEntityManagerFactory​(Map<String,​String> properties)
      • getTxType

        public static String getTxType()