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

Quick Search    Search Deep

org.hibernate.test.hql
Class ASTQueryTranslatorTest  view ASTQueryTranslatorTest download ASTQueryTranslatorTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.hibernate.test.TestCase
              extended byorg.hibernate.test.hql.QueryTranslatorTestCase
                  extended byorg.hibernate.test.hql.ASTQueryTranslatorTest
All Implemented Interfaces:
junit.framework.Test

public class ASTQueryTranslatorTest
extends QueryTranslatorTestCase

Tests cases where the AST based QueryTranslator does not generate identical SQL.


Field Summary
 
Fields inherited from class org.hibernate.test.TestCase
SKIP_LOG
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
ASTQueryTranslatorTest(java.lang.String x)
           
 
Method Summary
protected  boolean dropAfterFailure()
           
static junit.framework.Test suite()
           
 void testComplexWhereExpression()
           
 void testComponent3()
           
 void testDuplicateImplicitJoin()
           
 void testDuplicateImplicitJoinInWhere()
           
 void testFetch()
           
 void testFetchProperties()
           
 void testImplicitJoin()
           
 void testImplicitJoinInSelect()
           
 void testImplicitJoinInsideOutsideSubselect()
           
 void testKeywordClassNameAndAlias()
           
 void testNakedComponentPropertyRef()
           
 void testNakedImplicitJoins()
           
 void testNakedMapIndex()
           
 void testNakedPropertyRef()
           
 void testOldSyntax()
           
 void testSelectClauseImplicitJoin()
           
 void testSelectExpression()
           
 void testSelectManyToOne()
           
 void testSelectStandardFunctions()
           
 void testUncorrelatedSubselectWithJoin()
           
 void testWhereExpressions()
           
 
Methods inherited from class org.hibernate.test.hql.QueryTranslatorTestCase
assertTranslation, assertTranslation, assertTranslation, assertTranslation, compileBadHql, createNewQueryTranslator, createNewQueryTranslator, createQueryPlan, createQueryPlan, getMappings, getSessionFactoryImplementor, recreateSchema, runClassicTranslator
 
Methods inherited from class org.hibernate.test.TestCase
afterSessionFactoryBuilt, appliesTo, assertClassAssignability, assertElementTypeAssignability, configure, dialectIsCaseSensitive, dialectSupportsEmptyInList, fullTestName, getBaseForMappings, getCacheConcurrencyStrategy, getCfg, getDialect, getExtraProperties, getSessions, openSession, openSession, overrideCacheStrategy, readCommittedIsolationMaintained, 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

ASTQueryTranslatorTest

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

suite

public static junit.framework.Test suite()

dropAfterFailure

protected boolean dropAfterFailure()

testSelectManyToOne

public void testSelectManyToOne()

testSelectExpression

public void testSelectExpression()

testFetchProperties

public void testFetchProperties()

testOldSyntax

public void testOldSyntax()

testImplicitJoinInsideOutsideSubselect

public void testImplicitJoinInsideOutsideSubselect()

testNakedPropertyRef

public void testNakedPropertyRef()

testNakedComponentPropertyRef

public void testNakedComponentPropertyRef()

testNakedMapIndex

public void testNakedMapIndex()
                       throws java.lang.Exception

testNakedImplicitJoins

public void testNakedImplicitJoins()

testDuplicateImplicitJoinInWhere

public void testDuplicateImplicitJoinInWhere()

testWhereExpressions

public void testWhereExpressions()

testImplicitJoinInSelect

public void testImplicitJoinInSelect()

testSelectStandardFunctions

public void testSelectStandardFunctions()
                                 throws java.lang.Exception

testSelectClauseImplicitJoin

public void testSelectClauseImplicitJoin()
                                  throws java.lang.Exception

testComplexWhereExpression

public void testComplexWhereExpression()
                                throws java.lang.Exception

testDuplicateImplicitJoin

public void testDuplicateImplicitJoin()
                               throws java.lang.Exception

testKeywordClassNameAndAlias

public void testKeywordClassNameAndAlias()
                                  throws java.lang.Exception

testComponent3

public void testComponent3()
                    throws java.lang.Exception

testUncorrelatedSubselectWithJoin

public void testUncorrelatedSubselectWithJoin()
                                       throws java.lang.Exception

testFetch

public void testFetch()
               throws java.lang.Exception

testImplicitJoin

public void testImplicitJoin()
                      throws java.lang.Exception