Wednesday, December 3, 2008

Size in JPA

JPA has a very nice feature wherein we can get the size of rows in a child table.  The EJB QL will be something like this
Select r from Department d where size(d.employees)  > 100

 

No comments: