开发者

how to enable sql log in openjpa?

I have proram written using java,jps.Now i can see logs on cosole as folllows:

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

I also want to see the values passed to in开发者_运维技巧sert query in log.How can i see it?AM using openjpa as jpa provider.


Set openjpa.ConnectionFactoryProperties=PrintParameters=True.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜