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

Quick Search    Search Deep

org.hibernate.test.dynamicentity.tuplizer
Class TuplizerDynamicEntityTest  view TuplizerDynamicEntityTest download TuplizerDynamicEntityTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.hibernate.test.TestCase
              extended byorg.hibernate.test.dynamicentity.tuplizer.TuplizerDynamicEntityTest
All Implemented Interfaces:
junit.framework.Test

public class TuplizerDynamicEntityTest
extends org.hibernate.test.TestCase

Demonstrates use of Tuplizers to allow the use of JDK dynamic proxies as our domain model.

Here we plug a custom Interceptor into the session simply to allow us to not have to explicitly supply the appropriate entity name to the Session calls.


Field Summary
 
Fields inherited from class org.hibernate.test.TestCase
SKIP_LOG
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TuplizerDynamicEntityTest(java.lang.String x)
           
 
Method Summary
protected  java.lang.String[] getMappings()
           
static junit.framework.TestSuite suite()
           
 void testIt()
           
 
Methods inherited from class org.hibernate.test.TestCase
afterSessionFactoryBuilt, appliesTo, assertClassAssignability, assertElementTypeAssignability, configure, 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

TuplizerDynamicEntityTest

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

getMappings

protected java.lang.String[] getMappings()

suite

public static junit.framework.TestSuite suite()

testIt

public void testIt()