*) I have a TABLE with columns A, B & C.
*) A, B & C together form the composite primary key
Query Criteria: I would like to retrieve the different values of C for a given A & B
Below is the procedure that I followed:
http://www.theserverside.com/discussion ... d_id=22638
to create and query the table
Question:
1. As A, B & C form composite key, Hibernate is not allowing me to create the composite key with Just A & B. If I query that way I am getting only one instance. Is there is a way to query for the above criteria
OR
2. Is it possible to avoid the <id> tag some how
Your expert advice is much appreciated.
Thanks,
Venkat