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

Quick Search    Search Deep

org.hibernate.test.readonly
Class ReadOnlyTest  view ReadOnlyTest download ReadOnlyTest.java

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

public class ReadOnlyTest
extends org.hibernate.test.TestCase

This is how to do batch processing in Hibernate. Remember to enable JDBC batch updates, or this test will take a Very Long Time!


Field Summary
 
Fields inherited from class org.hibernate.test.TestCase
SKIP_LOG
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
ReadOnlyTest(java.lang.String str)
           
 
Method Summary
protected  void configure(org.hibernate.cfg.Configuration cfg)
           
 java.lang.String getCacheConcurrencyStrategy()
           
protected  java.lang.String[] getMappings()
           
static junit.framework.Test suite()
           
 void testReadOnlyMode()
           
 void testReadOnlyOnProxiesFailureExpected()
           
 
Methods inherited from class org.hibernate.test.TestCase
afterSessionFactoryBuilt, appliesTo, assertClassAssignability, assertElementTypeAssignability, dialectIsCaseSensitive, dialectSupportsEmptyInList, dropAfterFailure, fullTestName, getBaseForMappings, 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

ReadOnlyTest

public ReadOnlyTest(java.lang.String str)
Method Detail

testReadOnlyOnProxiesFailureExpected

public void testReadOnlyOnProxiesFailureExpected()

testReadOnlyMode

public void testReadOnlyMode()

configure

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

getMappings

protected java.lang.String[] getMappings()

suite

public static junit.framework.Test suite()

getCacheConcurrencyStrategy

public java.lang.String getCacheConcurrencyStrategy()