org.hibernate.test.legacy
Class LegacyTestCase

java.lang.Object
  extended by org.hibernate.testing.junit4.BaseUnitTestCase
      extended by org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
          extended by org.hibernate.test.legacy.LegacyTestCase
Direct Known Subclasses:
ABCProxyTest, ABCTest, ComponentNotNullTest, CustomSQLTest, FooBarTest, FumTest, IJ2Test, IJTest, MapTest, MasterDetailTest, MultiTableTest, OneToOneCacheTest, ParentChildTest, QueryByExampleTest, SQLFunctionsTest, SQLLoaderTest, StatisticsTest

public abstract class LegacyTestCase
extends BaseCoreFunctionalTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
BaseCoreFunctionalTestCase.RollbackWork
 
Field Summary
static String USE_ANTLR_PARSER_PROP
           
 
Fields inherited from class org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
DIALECT, NO_CLASSES, NO_MAPPINGS, USE_NEW_METADATA_MAPPINGS, VALIDATE_DATA_CLEANUP
 
Constructor Summary
LegacyTestCase()
           
 
Method Summary
 void checkAntlrParserSetting()
           
 void configure(Configuration cfg)
           
protected  int doDelete(Session session, Query selectQuery)
           
protected  int doDelete(Session session, String queryString)
           
protected  int doDelete(Session session, String queryString, Object param, Type paramType)
           
protected static String extractFromSystem(String systemPropertyName)
           
 
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, getCacheConcurrencyStrategy, getDialect, getMappings, getXmlFiles, onFailure, openSession, 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
 

Field Detail

USE_ANTLR_PARSER_PROP

public static final String USE_ANTLR_PARSER_PROP
See Also:
Constant Field Values
Constructor Detail

LegacyTestCase

public LegacyTestCase()
Method Detail

checkAntlrParserSetting

public void checkAntlrParserSetting()

extractFromSystem

protected static String extractFromSystem(String systemPropertyName)

configure

public void configure(Configuration cfg)
Overrides:
configure in class BaseCoreFunctionalTestCase

doDelete

protected int doDelete(Session session,
                       String queryString)

doDelete

protected int doDelete(Session session,
                       String queryString,
                       Object param,
                       Type paramType)

doDelete

protected int doDelete(Session session,
                       Query selectQuery)


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