Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hibernate.test.stats
Class StatsTest  view StatsTest download StatsTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.hibernate.test.TestCase
              extended byorg.hibernate.test.stats.StatsTest
All Implemented Interfaces:
junit.framework.Test

public class StatsTest
extends org.hibernate.test.TestCase

Show the difference between fetch and load


Field Summary
 
Fields inherited from class org.hibernate.test.TestCase
SKIP_LOG
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
StatsTest(java.lang.String x)
           
 
Method Summary
private  void cleanDb(org.hibernate.Session s)
           
protected  void configure(org.hibernate.cfg.Configuration cfg)
           
private  Continent fillDb(org.hibernate.Session s)
           
protected  java.lang.String[] getMappings()
           
static junit.framework.Test suite()
           
 void testCollectionFetchVsLoad()
           
 void testQueryStatGathering()
           
 
Methods inherited from class org.hibernate.test.TestCase
afterSessionFactoryBuilt, appliesTo, assertClassAssignability, assertElementTypeAssignability, dialectIsCaseSensitive, dialectSupportsEmptyInList, dropAfterFailure, fullTestName, getBaseForMappings, getCacheConcurrencyStrategy, getCfg, getDialect, getExtraProperties, getSessions, openSession, openSession, overrideCacheStrategy, readCommittedIsolationMaintained, recreateSchema, reportSkip, reportSkip, runTest, setCfg, setUp, sfi
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatsTest

public StatsTest(java.lang.String x)
Method Detail

testCollectionFetchVsLoad

public void testCollectionFetchVsLoad()
                               throws java.lang.Exception

testQueryStatGathering

public void testQueryStatGathering()

fillDb

private Continent fillDb(org.hibernate.Session s)

cleanDb

private void cleanDb(org.hibernate.Session s)

configure

protected void configure(org.hibernate.cfg.Configuration cfg)

getMappings

protected java.lang.String[] getMappings()

suite

public static junit.framework.Test suite()