File tree Expand file tree Collapse file tree 6 files changed +17
-10
lines changed
api/src/main/java/com/baekjoon Expand file tree Collapse file tree 6 files changed +17
-10
lines changed Original file line number Diff line number Diff line change 22
33import org .springframework .boot .SpringApplication ;
44import org .springframework .boot .autoconfigure .SpringBootApplication ;
5+ import org .springframework .boot .autoconfigure .domain .EntityScan ;
56
67@ SpringBootApplication
8+ @ EntityScan (basePackages = "com.embitips" )
79public class MbtipsApplication {
810
911 public static void main (String [] args ) {
Original file line number Diff line number Diff line change 1- package com .embitips .conversation ;
1+ package com .embitips .conversation . entity ;
22
3- import com .embitips .user .User ;
4- import com .embitips .virtualfriend .VirtualFriend ;
3+ import com .embitips .user .entity . User ;
4+ import com .embitips .virtualfriend .entity . VirtualFriend ;
55import jakarta .persistence .*;
66import lombok .Getter ;
77import lombok .Setter ;
Original file line number Diff line number Diff line change 1- package com .embitips .message ;
1+ package com .embitips .message . entity ;
22
3- import com .embitips .conversation .Conversation ;
4- import com .embitips .user .User ;
5- import com .embitips .virtualfriend .VirtualFriend ;
3+ import com .embitips .conversation .entity . Conversation ;
4+ import com .embitips .user .entity . User ;
5+ import com .embitips .virtualfriend .entity . VirtualFriend ;
66import jakarta .persistence .*;
77import lombok .Getter ;
88import lombok .Setter ;
Original file line number Diff line number Diff line change 1- package com .embitips .user ;
1+ package com .embitips .user . entity ;
22
33import jakarta .persistence .*;
44import lombok .Getter ;
Original file line number Diff line number Diff line change 1- package com .embitips .virtualfriend ;
1+ package com .embitips .virtualfriend . entity ;
22
3- import com .embitips .user .User ;
3+ import com .embitips .user .entity . User ;
44import jakarta .persistence .*;
55import lombok .Getter ;
66import lombok .Setter ;
Original file line number Diff line number Diff line change 55 username : ${DB_USERNAME}
66 password : ${DB_PASSWORD}
77 driver-class-name : com.mysql.cj.jdbc.Driver
8+
9+ logging :
10+ level :
11+ org.hibernate.SQL : DEBUG
12+ org.hibernate.type.descriptor.sql.BasicBinder : TRACE
813
914 jpa :
1015 database-platform : org.hibernate.dialect.MySQL8Dialect
You can’t perform that action at this time.
0 commit comments