Posted by mriem in mriem on Oct 27, 2013 5:23:00 AM
Note this blog is obsolete, see https://www.manorrock.com/blog/ for the current blog
If you are having a problem with your JPA queries and you are trying to understand what SQL queries it actually sends below the covers you can configure the JPA runtime to show the actual SQL statements it sends over. How? Well for EclipseLink you would add the following to your persistence.xml file.