size « Table « JPA Q&A





1. How to return table size in Hibernate?    forum.hibernate.org

I have a table with about 1500 records - and a service that needs to list them all. However, this is very memory intensive since the objects are quite large - they contain a large chunk of XML in one of the columns. What I want to do is get the number of records in the table without retrieving the list ...

2. How to return table size in Hibernate?    forum.hibernate.org

I have a table with about 1500 records - and a service that needs to list them all. However, this is very memory intensive since the objects are quite large - they contain a large chunk of XML in one of the columns. What I want to do is get the number of records in the table without retrieving the list ...