I have a view object, the result of the following query:
SELECT TEACHER_ID_FK,
MATERIAL_ID_FK,
CREATION_DATE,
VALID_BEFORE
FROM TEACHER_MATERIAL;
In my application module I have this line of code to get hold of the view object.
TeachMaterVVOImpl voTeachMater = (TeachMaterVVOImpl)this.getTeachMaterVVO1();
Now I got a materialId(of type MATERIAL_ID_FK)
in my hand.
How to get the number of count of this materialId from this view object?
I did it in the following way:
And it worked super fine.