litzvi / avc-beta

trying to build first demo for avc
0 stars 0 forks source link

new warn messages #602

Closed mei309 closed 2 years ago

mei309 commented 2 years ago

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.

litzvi commented 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.

mei309 commented 2 years ago

disable it. otherwise we can't find errors if it will be on the cloud

litzvi commented 2 years ago

logging.level.org.hibernate.persister.entity=ERROR should do most of the trick.

litzvi commented 2 years ago

logging.level.org.hibernate.persister.entity=ERROR should do most of the trick.

in properties file

litzvi commented 2 years ago

actually for the cloud you might want to use logging.level.root=ERROR that won't print anything but errors

mei309 commented 2 years ago

should i comment this on the cloud? logging.level.org.springframework.jdbc.core.JdbcTemplate=DEBUG logging.level.org.springframework.jdbc.core.StatementCreatorUtils=TRACE

litzvi commented 2 years ago

sure. I thought it was commented already. look in application-production.properties

mei309 commented 2 years ago

I don't use production-properties

litzvi commented 2 years ago

ok. comment them

mei309 commented 2 years ago

done