| |
|
| org.apache.ojb.junit.ODMGTestCase org.apache.ojb.odmg.OQLTest
OQLTest | public class OQLTest extends ODMGTestCase (Code) | | OQLQuery tests.
version: $Id: OQLTest.java,v 1.16.2.3 2005/03/09 16:30:36 arminw Exp $ |
Inner Class :public interface InterfaceAnimal extends Serializable | |
Inner Class :public interface InterfaceFood extends Serializable | |
Inner Class :abstract public static class AbstractAnimal | |
Inner Class :public static class Mammal extends AbstractAnimal implements InterfaceAnimal,Serializable | |
Inner Class :public static class Reptile extends AbstractAnimal implements InterfaceAnimal,Serializable | |
Inner Class :public static class Fish implements InterfaceFood,Serializable | |
Inner Class :public static class Gourmet implements Serializable | |
Inner Class :public static class Salad implements InterfaceFood,Serializable | |
_testSubQuery1 | public void _testSubQuery1() throws Exception(Code) | | test Subquery
get all articles with price > avg(price)
PROBLEM: avg(price) is NOT extent aware !!
test may fail if db does not support sub queries
|
testGetWithLiteral | public void testGetWithLiteral() throws Exception(Code) | | test the following conditions:
!= support
literal support at binding.
A prior bug where criteria was reporting as bindable when it was in fact a literal.
|
testRepeatableQuery | public void testRepeatableQuery() throws Exception(Code) | | |
testReportQueryGroupBy | public void testReportQueryGroupBy() throws Exception(Code) | | ReportQuery returning rows with summed stock and price per article group
|
|
|
|