Fix hibernate warning

This commit is contained in:
Paulo Gustavo Veiga 2023-07-30 22:50:04 -07:00
parent e55e7e8867
commit 4ebef65728
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ public class Mindmap implements Serializable {
@JoinColumn(name = "creator_id", unique = true)
private User creator;
@ManyToOne(fetch = FetchType.LAZY)
@ManyToOne
@JoinColumn(name = "last_editor_id", nullable = false)
@NotFound(action = NotFoundAction.IGNORE)
private User lastEditor;

View File

@ -14,7 +14,7 @@
<Logger name="com.wisemapping" level="warn">
<AppenderRef ref="LogToConsole"/>
</Logger>
<Logger name="org.springframework" level="trace">
<Logger name="org.springframework" level="warn">
<AppenderRef ref="LogToConsole"/>
</Logger>
<Root level="warn">