I want to get an array list which contains the identifiant of all the product for each category,
here's the code:
COL_ID_PRODUCT: (type int) column which contains the identifiant for each product
TABLE_PRODUCT:contains COL_ID_PRODUCT,COL_PRODUCT_NAME which contains the name for each product, COL_CATEGORY (type int) contains the ID of the category to which each product belongs.
To
test my method, i just want to calculate the size of this tab :
When i debug this, the size n is 0 or i have 7 product in the category with ID=1 !!