Skip to content

Commit

Permalink
updated spring-boot
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaswoehlke committed May 21, 2023
1 parent d8dd341 commit 7dfd50e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.woehlke.java.simpleworklist.domain.db.data;

import lombok.*;
import org.hibernate.annotations.LazyToOne;
import org.hibernate.validator.constraints.Length;

import org.woehlke.java.simpleworklist.application.framework.AuditModel;
Expand All @@ -13,8 +12,6 @@
import java.io.Serializable;
import java.util.UUID;

import static org.hibernate.annotations.LazyToOneOption.PROXY;

/**
* Created by tw on 13.03.16.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.annotations.LazyToOne;
import org.hibernate.annotations.OnDelete;
import org.hibernate.annotations.OnDeleteAction;
import org.hibernate.validator.constraints.Length;
Expand All @@ -34,7 +33,6 @@


import static jakarta.persistence.TemporalType.DATE;
import static org.hibernate.annotations.LazyToOneOption.PROXY;


@Entity
Expand Down Expand Up @@ -217,7 +215,7 @@ public class Task extends AuditModel implements Serializable, ComparableById<Tas
)
@JoinColumn(name = "data_context_id")
@OnDelete(action = OnDeleteAction.NO_ACTION)
@LazyToOne(PROXY)
//@LazyToOne(PROXY)
private Context context;


Expand Down

0 comments on commit 7dfd50e

Please sign in to comment.