I've set up up the parent-child relationship bet'n Customer (CustID : Primary)
and Premise (LocID: Primary, CustID :Foreign)
I 've coded Finder method as
select * from premiseEntity as o, CustomerEntity c where o.addr1= ?1
This works well.
But if I replace where clause with o.CustID = ?1 (or any number type column in where clause) I get "AssertionError".
So I'll selectively call finder method for
String type columns only.
Thats why I need to check the types of the columns @run time.
Thanks,
Anagha