小编use*_*708的帖子

如何在日志文件而不是控制台中记录 Hibernate sql 语句

我需要将 Hibernate sql 语句记录到日志文件而不是控制台中。我正在使用 Spring Boot JPA。和:

spring.jpa.show-sql=true
logging.path=/logs
Run Code Online (Sandbox Code Playgroud)

hibernate spring-boot

3
推荐指数
1
解决办法
4265
查看次数

如何从NotesAgent变量中删除"$ MachineName"项?或者我如何将NotesAgent转换为NotesDocument以便我可以删除此项目?

我有以下代码:

Forall agent In db.agents
  'I need to remove "$MachineName" item from all agents
End Forall
Run Code Online (Sandbox Code Playgroud)

如何从NotesAgent中删除"$ MachineName"项?或者我如何将NotesAgent转换为NotesDocument以便我可以删除此项目?

lotus-notes lotusscript

1
推荐指数
1
解决办法
134
查看次数

标签 统计

hibernate ×1

lotus-notes ×1

lotusscript ×1

spring-boot ×1