org.hibernate.test.readonly
Class ReadOnlySessionTest

java.lang.Object
  extended by org.hibernate.testing.junit4.BaseUnitTestCase
      extended by org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
          extended by org.hibernate.test.readonly.AbstractReadOnlyTest
              extended by org.hibernate.test.readonly.ReadOnlySessionTest

public class ReadOnlySessionTest
extends AbstractReadOnlyTest


Nested Class Summary
 
Nested classes/interfaces inherited from class org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
BaseCoreFunctionalTestCase.RollbackWork
 
Field Summary
 
Fields inherited from class org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
DIALECT, NO_CLASSES, NO_MAPPINGS, USE_NEW_METADATA_MAPPINGS, VALIDATE_DATA_CLEANUP
 
Constructor Summary
ReadOnlySessionTest()
           
 
Method Summary
 String[] getMappings()
           
 void testMergeWithReadOnlyEntity()
           
 void testMergeWithReadOnlyProxy()
           
 void testModifiableModeWithExistingReadOnlyEntity()
           
 void testModifiableSessionDefaultQueryReadOnlySessionIterate()
           
 void testModifiableSessionDefaultQueryReadOnlySessionScroll()
           
 void testModifiableSessionReadOnlyQueryIterate()
           
 void testModifiableSessionReadOnlyQueryScroll()
           
 void testQueryModifiableIterate()
           
 void testQueryModifiableScroll()
           
 void testQueryReadOnlyIterate()
           
 void testQueryReadOnlyScroll()
           
 void testReadOnlyDelete()
           
 void testReadOnlyGetModifyAndDelete()
           
 void testReadOnlyModeWithExistingModifiableEntity()
           
 void testReadOnlyOnProxies()
           
 void testReadOnlyOnTextType()
           
 void testReadOnlyProxyRefresh()
           
 void testReadOnlyProxyRefreshDetached()
           
 void testReadOnlyRefresh()
           
 void testReadOnlyRefreshDetached()
           
 void testReadOnlySessionDefaultQueryIterate()
           
 void testReadOnlySessionDefaultQueryScroll()
           
 void testReadOnlySessionModifiableQueryIterate()
           
 void testReadOnlySessionModifiableQueryScroll()
           
 
Methods inherited from class org.hibernate.test.readonly.AbstractReadOnlyTest
assertDeleteCount, assertInsertCount, assertUpdateCount, clearCounts, configure, getCacheConcurrencyStrategy, getSessionCacheMode, openSession
 
Methods inherited from class org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
addMappings, addMappings, afterConfigurationBuilt, afterConfigurationBuilt, afterSessionFactoryBuilt, afterTest, applyCacheSettings, assertAllDataRemoved, beforeTest, buildConfiguration, buildServiceRegistry, cleanupCache, cleanupTest, configuration, constructConfiguration, createSchema, generateBootstrapRegistry, getAnnotatedClasses, getAnnotatedPackages, getBaseForMappings, getDialect, getXmlFiles, onFailure, openSession, overrideCacheStrategy, prepareBasicRegistryBuilder, prepareBootstrapRegistryBuilder, prepareTest, readCommittedIsolationMaintained, rebuildSessionFactory, rebuildSessionFactoryOnError, serviceRegistry, sessionFactory
 
Methods inherited from class org.hibernate.testing.junit4.BaseUnitTestCase
releaseTransactions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadOnlySessionTest

public ReadOnlySessionTest()
Method Detail

getMappings

public String[] getMappings()
Overrides:
getMappings in class BaseCoreFunctionalTestCase

testReadOnlyOnProxies

public void testReadOnlyOnProxies()

testReadOnlySessionDefaultQueryScroll

public void testReadOnlySessionDefaultQueryScroll()

testReadOnlySessionModifiableQueryScroll

public void testReadOnlySessionModifiableQueryScroll()

testModifiableSessionReadOnlyQueryScroll

public void testModifiableSessionReadOnlyQueryScroll()

testModifiableSessionDefaultQueryReadOnlySessionScroll

public void testModifiableSessionDefaultQueryReadOnlySessionScroll()

testQueryReadOnlyScroll

public void testQueryReadOnlyScroll()

testQueryModifiableScroll

public void testQueryModifiableScroll()

testReadOnlySessionDefaultQueryIterate

public void testReadOnlySessionDefaultQueryIterate()

testReadOnlySessionModifiableQueryIterate

public void testReadOnlySessionModifiableQueryIterate()

testModifiableSessionReadOnlyQueryIterate

public void testModifiableSessionReadOnlyQueryIterate()

testModifiableSessionDefaultQueryReadOnlySessionIterate

public void testModifiableSessionDefaultQueryReadOnlySessionIterate()

testQueryReadOnlyIterate

public void testQueryReadOnlyIterate()

testQueryModifiableIterate

public void testQueryModifiableIterate()

testReadOnlyRefresh

public void testReadOnlyRefresh()

testReadOnlyRefreshDetached

public void testReadOnlyRefreshDetached()

testReadOnlyProxyRefresh

public void testReadOnlyProxyRefresh()

testReadOnlyProxyRefreshDetached

public void testReadOnlyProxyRefreshDetached()

testReadOnlyDelete

public void testReadOnlyDelete()

testReadOnlyGetModifyAndDelete

public void testReadOnlyGetModifyAndDelete()

testReadOnlyModeWithExistingModifiableEntity

public void testReadOnlyModeWithExistingModifiableEntity()

testModifiableModeWithExistingReadOnlyEntity

public void testModifiableModeWithExistingReadOnlyEntity()

testReadOnlyOnTextType

public void testReadOnlyOnTextType()

testMergeWithReadOnlyEntity

public void testMergeWithReadOnlyEntity()

testMergeWithReadOnlyProxy

public void testMergeWithReadOnlyProxy()


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.