org.hibernate.test.jpa.proxy
Class JPAProxyTest

java.lang.Object
  extended by org.hibernate.testing.junit4.BaseUnitTestCase
      extended by org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
          extended by org.hibernate.test.jpa.AbstractJPATest
              extended by org.hibernate.test.jpa.proxy.JPAProxyTest

public class JPAProxyTest
extends AbstractJPATest

Test relation between proxies and get()/load() processing and make sure the interactions match the ejb3 expectations


Nested Class Summary
 
Nested classes/interfaces inherited from class org.hibernate.test.jpa.AbstractJPATest
AbstractJPATest.JPAAutoFlushEventListener, AbstractJPATest.JPAFlushEntityEventListener, AbstractJPATest.JPAFlushEventListener, AbstractJPATest.JPAPersistEventListener, AbstractJPATest.JPAPersistOnFlushEventListener
 
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
JPAProxyTest()
           
 
Method Summary
 void testEjb3ProxyUsage()
           
 void testGetSemantics()
          The ejb3 find() method maps to the Hibernate get() method
 
Methods inherited from class org.hibernate.test.jpa.AbstractJPATest
buildAutoFlushEventListeners, buildFlushEntityEventListeners, buildFlushEventListeners, buildPersisOnFlushEventListeners, buildPersistEventListeners, configure, getCacheConcurrencyStrategy, getMappings, prepareBootstrapRegistryBuilder
 
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, openSession, overrideCacheStrategy, prepareBasicRegistryBuilder, 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

JPAProxyTest

public JPAProxyTest()
Method Detail

testEjb3ProxyUsage

public void testEjb3ProxyUsage()

testGetSemantics

public void testGetSemantics()
The ejb3 find() method maps to the Hibernate get() method



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