How to enable sql log in openjpa?

I have a program written using java, jps.Now, I can see the logs on a shard, like folllows:

INSERT INTO XYZ (a, b, c) VALUES (?,?,?) [Org.apache.openjpa.jdbc.kernel.JDBCStoreManager $ CancelPreparedStatement]

I also want to see the values ​​passed to insert the request into log.How can I see it? AM using openjpa as a jpa provider.

+3
source share

Source: https://habr.com/ru/post/1782634/


All Articles