mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 06:07:57 +01:00
Change initializations of Collabs to eager
This commit is contained in:
parent
7fc91abe59
commit
f844692e66
@ -34,7 +34,7 @@ public class Collaboration implements Serializable {
|
|||||||
@Column(name = "role_id",unique = true,nullable = true)
|
@Column(name = "role_id",unique = true,nullable = true)
|
||||||
private CollaborationRole role;
|
private CollaborationRole role;
|
||||||
|
|
||||||
@ManyToOne(fetch = FetchType.LAZY)
|
@ManyToOne
|
||||||
@JoinColumn(name="mindmap_id",nullable = false)
|
@JoinColumn(name="mindmap_id",nullable = false)
|
||||||
private Mindmap mindMap;
|
private Mindmap mindMap;
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ public class Collaboration implements Serializable {
|
|||||||
@JoinColumn(name="colaborator_id",nullable = false)
|
@JoinColumn(name="colaborator_id",nullable = false)
|
||||||
private Collaborator collaborator;
|
private Collaborator collaborator;
|
||||||
|
|
||||||
@ManyToOne(fetch = FetchType.LAZY,cascade = CascadeType.ALL)
|
@ManyToOne(cascade = CascadeType.ALL)
|
||||||
@JoinColumn(name="properties_id",nullable = false, unique = true)
|
@JoinColumn(name="properties_id",nullable = false, unique = true)
|
||||||
private CollaborationProperties collaborationProperties = new CollaborationProperties();;
|
private CollaborationProperties collaborationProperties = new CollaborationProperties();;
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
log4j.rootLogger=DEBUG, stdout, R
|
log4j.rootLogger=INFI, stdout, R
|
||||||
log4j.logger.com.wisemapping=DEBUG,R
|
log4j.logger.com.wisemapping=DEBUG,R
|
||||||
log4j.logger.org.springframework=DEBUG,R
|
log4j.logger.org.springframework=INFO,R
|
||||||
log4j.logger.org.hibernate=DEBUG,R
|
log4j.logger.org.hibernate=DEBUG,R
|
||||||
|
|
||||||
# Stdout logger <20>
|
# Stdout logger <20>
|
||||||
|
Loading…
Reference in New Issue
Block a user