인프런 커뮤니티 질문&답변
상품등록 하면 db에는 잘 들어가는데 페이지에 오류가 뜨는데 무엇이 잘못된건가요?
해결된 질문
작성
·
153
답변 3
1
0
0
2021-03-13 22:28:36.347 INFO 11008 --- [nio-8080-exec-2] j.jpashop.controller.HomeController : home controller
2021-03-13 22:28:41.033 DEBUG 11008 --- [nio-8080-exec-3] org.hibernate.SQL :
call next value for hibernate_sequence
2021-03-13 22:28:41.035 INFO 11008 --- [nio-8080-exec-3] p6spy : #1615642121035 | took 0ms | statement | connection 5| url jdbc:h2:tcp://localhost/~/jpashop
call next value for hibernate_sequence
call next value for hibernate_sequence;
2021-03-13 22:28:41.036 DEBUG 11008 --- [nio-8080-exec-3] org.hibernate.SQL :
insert
into
item
(name, price, stock_quantity, author, isbn, dtype, item_id)
values
(?, ?, ?, ?, ?, 'B', ?)
2021-03-13 22:28:41.038 INFO 11008 --- [nio-8080-exec-3] p6spy : #1615642121038 | took 0ms | statement | connection 5| url jdbc:h2:tcp://localhost/~/jpashop
insert into item (name, price, stock_quantity, author, isbn, dtype, item_id) values (?, ?, ?, ?, ?, 'B', ?)
insert into item (name, price, stock_quantity, author, isbn, dtype, item_id) values ('1', 1, 1, '1', '1', 'B', 2);
2021-03-13 22:28:41.039 INFO 11008 --- [nio-8080-exec-3] p6spy : #1615642121039 | took 0ms | commit | connection 5| url jdbc:h2:tcp://localhost/~/jpashop
;
2021-03-13 22:31:57.906 INFO 11008 --- [nio-8080-exec-5] j.jpashop.controller.HomeController : home controller
2021-03-13 22:33:37.536 DEBUG 11008 --- [nio-8080-exec-2] org.hibernate.SQL :
call next value for hibernate_sequence
2021-03-13 22:33:37.537 INFO 11008 --- [nio-8080-exec-2] p6spy : #1615642417537 | took 0ms | statement | connection 6| url jdbc:h2:tcp://localhost/~/jpashop
call next value for hibernate_sequence
call next value for hibernate_sequence;
2021-03-13 22:33:37.538 DEBUG 11008 --- [nio-8080-exec-2] org.hibernate.SQL :
insert
into
item
(name, price, stock_quantity, author, isbn, dtype, item_id)
values
(?, ?, ?, ?, ?, 'B', ?)
2021-03-13 22:33:37.539 INFO 11008 --- [nio-8080-exec-2] p6spy : #1615642417539 | took 0ms | statement | connection 6| url jdbc:h2:tcp://localhost/~/jpashop
insert into item (name, price, stock_quantity, author, isbn, dtype, item_id) values (?, ?, ?, ?, ?, 'B', ?)
insert into item (name, price, stock_quantity, author, isbn, dtype, item_id) values ('1', 1, 1, '1', '1', 'B', 3);
2021-03-13 22:33:37.541 INFO 11008 --- [nio-8080-exec-2] p6spy : #1615642417541 | took 0ms | commit | connection 6| url jdbc:h2:tcp://localhost/~/jpashop
;
인텔리제이에 남은 로그들입니다!






잘 찾으셨습니다^^!