I've been told to create a named query within an entity class that performs a count on the table.
In JDBC, I could do this and get an int. However, I'm not sure how to do this within the framework
I've been given. Can someone offer any suggestions with this???
Sorry, I guess by framework, I meant how the boss wants it done, nothing
technology specific. We're using JPA and toplink. Other than that, not sure what you
need... It's not using Spring/Hibernate....etc.