Closed mei309 closed 2 years ago
please check it. its happening when i edit a production process
not only there all processes. there are a bunch of them caused by other places. Would think it's king of hibernate bug to warn when it's null. I can disable the warning but it wont make a difference besides for not seeing it.
disable it. otherwise we can't find errors if it will be on the cloud
logging.level.org.hibernate.persister.entity=ERROR should do most of the trick.
logging.level.org.hibernate.persister.entity=ERROR should do most of the trick.
in properties file
actually for the cloud you might want to use logging.level.root=ERROR that won't print anything but errors
should i comment this on the cloud? logging.level.org.springframework.jdbc.core.JdbcTemplate=DEBUG logging.level.org.springframework.jdbc.core.StatementCreatorUtils=TRACE
sure. I thought it was commented already. look in application-production.properties
I don't use production-properties
ok. comment them
done
please check it. its happening when i edit a production process
2021-09-26 04:40:26.680 WARN 16104 --- [nio-8080-exec-7] o.h.e.i.StatefulPersistenceContext : HHH000179: Narrowing proxy to class com.avc.mis.beta.entities.process.ProductionProcess - this operation breaks == 2021-09-26 04:40:26.791 WARN 16104 --- [nio-8080-exec-7] o.h.p.entity.AbstractEntityPersister : HHH000502: The [createdBy] property of the [com.avc.mis.beta.entities.process.ProductionProcess] entity was modified, but it won't be updated because the property is immutable. 2021-09-26 04:40:26.791 WARN 16104 --- [nio-8080-exec-7] o.h.p.entity.AbstractEntityPersister : HHH000502: The [processType] property of the [com.avc.mis.beta.entities.process.ProductionProcess] entity was modified, but it won't be updated because the property is immutable. 2021-09-26 04:40:26.797 WARN 16104 --- [nio-8080-exec-7] o.h.p.entity.AbstractEntityPersister : HHH000502: The [createdBy] property of the [com.avc.mis.beta.entities.process.inventory.Storage] entity was modified, but it won't be updated because the property is immutable. 2021-09-26 04:40:26.812 WARN 16104 --- [nio-8080-exec-7] o.h.p.entity.AbstractEntityPersister : HHH000502: The [createdBy] property of the [com.avc.mis.beta.entities.process.collection.ProcessItem] entity was modified, but it won't be updated because the property is immutable. 2021-09-26 04:40:26.815 WARN 16104 --- [nio-8080-exec-7] o.h.p.entity.AbstractEntityPersister : HHH000502: The [createdBy] property of the [com.avc.mis.beta.entities.process.inventory.UsedItem] entity was modified, but it won't be updated because the property is immutable. 2021-09-26 04:40:26.819 WARN 16104 --- [nio-8080-exec-7] o.h.p.entity.AbstractEntityPersister : HHH000502: The [createdBy] property of the [com.avc.mis.beta.entities.process.collection.UsedItemsGroup] entity was modified, but it won't be updated because the property is immutable. 2021-09-26 04:40:26.820 WARN 16104 --- [nio-8080-exec-7] o.h.p.entity.AbstractEntityPersister : HHH000502: The [createdBy] property of the [com.avc.mis.beta.entities.process.inventory.UsedItem] entity was modified, but it won't be updated because the property is immutable.