Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hibernate: select pricecateg0_.id as id1_8_0_, pricecateg0_.title as title2_8_0_ from price_category pricecateg0_ where pricecateg0_.id=?
- Hibernate: select food0_.id as id1_3_, food0_.category_id as category6_3_, food0_.description as descript2_3_, food0_.photourl as photourl3_3_, food0_.title as title4_3_, food0_.weight as weight5_3_ from food food0_
- Hibernate: select category0_.id as id1_1_0_, category0_.name as name2_1_0_ from category category0_ where category0_.id=?
- Hibernate: select category0_.id as id1_1_0_, category0_.name as name2_1_0_ from category category0_ where category0_.id=?
- Hibernate: select pricelabel0_.food_id as food_id1_4_0_, pricelabel0_.price_label_id as price_la2_4_0_, pricelabel1_.id as id1_9_1_, pricelabel1_.price_category_id as price_ca3_9_1_, pricelabel1_.value as value2_9_1_, pricecateg2_.id as id1_8_2_, pricecateg2_.title as title2_8_2_ from food_price_label pricelabel0_ inner join price_label pricelabel1_ on pricelabel0_.price_label_id=pricelabel1_.id inner join price_category pricecateg2_ on pricelabel1_.price_category_id=pricecateg2_.id where pricelabel0_.food_id=?
- Hibernate: select pricelabel0_.food_id as food_id1_4_0_, pricelabel0_.price_label_id as price_la2_4_0_, pricelabel1_.id as id1_9_1_, pricelabel1_.price_category_id as price_ca3_9_1_, pricelabel1_.value as value2_9_1_, pricecateg2_.id as id1_8_2_, pricecateg2_.title as title2_8_2_ from food_price_label pricelabel0_ inner join price_label pricelabel1_ on pricelabel0_.price_label_id=pricelabel1_.id inner join price_category pricecateg2_ on pricelabel1_.price_category_id=pricecateg2_.id where pricelabel0_.food_id=?
- Hibernate: select pricelabel0_.food_id as food_id1_4_0_, pricelabel0_.price_label_id as price_la2_4_0_, pricelabel1_.id as id1_9_1_, pricelabel1_.price_category_id as price_ca3_9_1_, pricelabel1_.value as value2_9_1_, pricecateg2_.id as id1_8_2_, pricecateg2_.title as title2_8_2_ from food_price_label pricelabel0_ inner join price_label pricelabel1_ on pricelabel0_.price_label_id=pricelabel1_.id inner join price_category pricecateg2_ on pricelabel1_.price_category_id=pricecateg2_.id where pricelabel0_.food_id=?
- Hibernate: select pricelabel0_.food_id as food_id1_4_0_, pricelabel0_.price_label_id as price_la2_4_0_, pricelabel1_.id as id1_9_1_, pricelabel1_.price_category_id as price_ca3_9_1_, pricelabel1_.value as value2_9_1_, pricecateg2_.id as id1_8_2_, pricecateg2_.title as title2_8_2_ from food_price_label pricelabel0_ inner join price_label pricelabel1_ on pricelabel0_.price_label_id=pricelabel1_.id inner join price_category pricecateg2_ on pricelabel1_.price_category_id=pricecateg2_.id where pricelabel0_.food_id=?
- Hibernate: select pricelabel0_.food_id as food_id1_4_0_, pricelabel0_.price_label_id as price_la2_4_0_, pricelabel1_.id as id1_9_1_, pricelabel1_.price_category_id as price_ca3_9_1_, pricelabel1_.value as value2_9_1_, pricecateg2_.id as id1_8_2_, pricecateg2_.title as title2_8_2_ from food_price_label pricelabel0_ inner join price_label pricelabel1_ on pricelabel0_.price_label_id=pricelabel1_.id inner join price_category pricecateg2_ on pricelabel1_.price_category_id=pricecateg2_.id where pricelabel0_.food_id=?
- Hibernate: update price_label set price_category_id=?, value=? where id=?
- 2020-10-26 07:46:04.869 WARN 5784 --- [nio-8080-exec-4] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 1048, SQLState: 23000
- 2020-10-26 07:46:04.869 ERROR 5784 --- [nio-8080-exec-4] o.h.engine.jdbc.spi.SqlExceptionHelper : Column 'price_category_id' cannot be null
- 2020-10-26 07:46:04.899 ERROR 5784 --- [nio-8080-exec-4] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause
- java.sql.SQLIntegrityConstraintViolationException: Column 'price_category_id'
Advertisement
Add Comment
Please, Sign In to add comment