statement « Test « JPA Q&A





1. Is it possible to test a JPA/EJB QL statement with regex?    stackoverflow.com

I'm not an expert on regular expressions so I thought I'd throw this question out. I'm thinking regular expressions can help make my tests more robust (testing generated EJB QL statements ...

2. Unit Testing Number of SQL Statements Generated by Hibernate    forum.hibernate.org

Hi all, One of my periodic chores after modifying our web application is to then run through all the pages with an eye to tuning the number of SQL statements issued by Hibernate. It is very easy to change something in the hbm mapping file, or in the HQL, or how you model your objects, and all of a sudden you ...