org.jenkins.plugins.audit2db.internal.data
Class HibernateUtil
java.lang.Object
org.jenkins.plugins.audit2db.internal.data.HibernateUtil
public class HibernateUtil
- extends Object
Utility class for Hibernate access.
- Author:
- Marco Scata
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateUtil
public HibernateUtil()
getSessionFactory
public static org.hibernate.SessionFactory getSessionFactory(Properties extraProperties)
getSessionFactory
public static org.hibernate.SessionFactory getSessionFactory()
getExtraProperties
public static Properties getExtraProperties(String driverClass,
String driverUrl,
String username,
String password)
getSchemaDdl
public static String getSchemaDdl(String driverClass,
String driverUrl,
String username,
String password)
throws IOException
- Throws:
IOException
Copyright © 2004-2013. All Rights Reserved.