Class AbstractFilteringVoEnabledDaoTest
java.lang.Object
ubic.gemma.core.util.test.BaseTest5
ubic.gemma.persistence.service.AbstractFilteringVoEnabledDaoTest
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidtest()voidExercises null-precedence (FIRST/LAST) via the Hibernate-6 JpaOrder vendor extension.voidExercises the .size-suffix filter path on the JPA-Criteria filtering DAO.void
-
Constructor Details
-
AbstractFilteringVoEnabledDaoTest
public AbstractFilteringVoEnabledDaoTest()
-
-
Method Details
-
test
@Test public void test() -
testUndefinedProperty
@Test public void testUndefinedProperty() -
testSizeFilterOnCriteriaDao
@Test public void testSizeFilterOnCriteriaDao()Exercises the .size-suffix filter path on the JPA-Criteria filtering DAO. Pre-Phase-2 this went through the deleted Hibernate Criteria API; Phase 2 round 6 restored it viacb.size(...)on aPath<Collection<?>>.Uses a manually-opened session bound to the thread (no Spring TM in this lightweight test context) so the DAO's
getCurrentSession()call resolves. -
testNullPrecedenceOnCriteriaDao
@Test public void testNullPrecedenceOnCriteriaDao()Exercises null-precedence (FIRST/LAST) via the Hibernate-6 JpaOrder vendor extension.
-