public abstract class EntityQueryTest extends QueryBaseTest
ageAmounts, cityCounters, longToId, MAX_AGE, NUMBER_ENTITIES, sessionFactory, valueToId| Constructor and Description |
|---|
EntityQueryTest(DBSessionFactory sessionFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
testCompoundKeyQuery() |
void |
testEmptyStringKey()
Simply test if we can query with an empty string key
|
void |
testEqualsAndQuery() |
void |
testEqualsAndQueryExclude() |
void |
testEqualsMultivalueFields() |
void |
testEqualsNestedEntity() |
void |
testEqualsNestedEntityNoIndex() |
void |
testEqualsOrQuery() |
void |
testEqualsOutofRange() |
void |
testEqualsQuery() |
void |
testKeySpecialCharacters() |
void |
testNotEqualsAge() |
void |
testPartialIndexes() |
void |
testQueryNonExistingProperty() |
void |
testRangeQuery() |
assertResult, getEntities, getEntities, getEntityValue, setUp, tearDown, toListpublic EntityQueryTest(DBSessionFactory sessionFactory)
public void testEqualsNestedEntityNoIndex()
throws Exception
Exceptionpublic void testQueryNonExistingProperty()
throws Exception
Exceptionpublic void testEqualsAndQueryExclude()
throws Exception
Exceptionpublic void testEqualsMultivalueFields()
throws Exception
Exceptionpublic void testEmptyStringKey()
throws Exception
ExceptionCopyright © 2015. All rights reserved.