log « Eclipse « JPA Q&A





1. Is it possible to output generated SQL using EclipseLink without having to increase log verbosity?    stackoverflow.com

I want to output the SQL generated by EclipseLink to the console, during development. However, I could only do so using the logging level FINE. I have a complex domain model ...

2. How to stop handled Exceptions from being logged?    stackoverflow.com

I have just implemented exception handling for a unique-constraint of a JPA entity. It is working as I want it to, but when triggered dumps the handled exceptions to the container ...

3. Getting exception in initializing log4j files    stackoverflow.com

When trying to initialize hibernate from configuration file, I get NullPointerException .. Root cause is shown as

Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPointerException) (Caused by org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by ...

4. How to log SQL values sent to my DB using EclipseLink?    stackoverflow.com

I use EclipseLink as my JPA2 persistence layer, and i would like to see the values sent to DB in logs. I already see SQL queries (using <property name="eclipselink.logging.level" value="ALL" /> in ...