org.jdiagnose.library.db
Class HibernateDiagnostic
java.lang.Object
org.jdiagnose.DiagnosticUnit
org.jdiagnose.library.db.HibernateDiagnostic
- All Implemented Interfaces:
- org.jdiagnose.Diagnostic, org.jdiagnose.DiagnosticContainer, org.jdiagnose.DiagnosticUnitLifeCycle
- public class HibernateDiagnostic
- extends org.jdiagnose.DiagnosticUnit
- Author:
- jmccrindle
Methods inherited from class org.jdiagnose.DiagnosticUnit |
assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertTrue, assertTrue, diagnose, getDiagnosticContainers, getDiagnostics, getName, setUp, tearDown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateDiagnostic
public HibernateDiagnostic()
- Default Constructor
HibernateDiagnostic
public HibernateDiagnostic(java.lang.String name)
- Parameters:
name
-
diagnoseSql
public void diagnoseSql()
throws net.sf.hibernate.HibernateException,
java.sql.SQLException
- Throws:
net.sf.hibernate.HibernateException
java.sql.SQLException
getSessionFactory
public net.sf.hibernate.SessionFactory getSessionFactory()
setSessionFactory
public void setSessionFactory(net.sf.hibernate.SessionFactory sessionFactory)
getSql
public java.lang.String getSql()
setSql
public void setSql(java.lang.String sql)
Copyright © 2004-2005 Grape Design Limited. All Rights Reserved.