Skip to content

Commit

Permalink
consulting EAGER
Browse files Browse the repository at this point in the history
  • Loading branch information
enbraining committed Dec 29, 2023
1 parent 23cd490 commit 268adf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class Member implements GrantedAuthority {
@Column(columnDefinition = "VARCHAR(80)", nullable = false)
private String role;

@OneToMany()
@OneToMany(fetch = FetchType.EAGER)
@JoinColumn(name = "consulting_id")
private List<Consulting> consulting;

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spring:
open-in-view: false
hibernate:
dialect: org.hibernate.dialect.PostgreSQLDialect
ddl-auto: update
ddl-auto: create-drop
properties:
hibernate:format_sql: true
show-sql: true
Expand Down

0 comments on commit 268adf1

Please sign in to comment.