[jboss-jira] [JBoss JIRA] (DROOLS-1168) notify property change

Sante Stanisci (JIRA) issues at jboss.org
Thu May 19 04:03:00 EDT 2016


    [ https://issues.jboss.org/browse/DROOLS-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239801#comment-13239801 ] 

Sante Stanisci commented on DROOLS-1168:
----------------------------------------

Solution proposed in last post is not possible because 
$entity : EntityBase() from $entityFind
$entity is EntityBase and setCodDiviCont(), setCambioDiviCont() methods are in one of class listed (JtbRLavt, JtbRLavr, GtbSpes, ....)
In compile phase drools throw error because not find methods in entitybase. You confirm this behavior in 6.4.0?

> notify property change
> ----------------------
>
>                 Key: DROOLS-1168
>                 URL: https://issues.jboss.org/browse/DROOLS-1168
>             Project: Drools
>          Issue Type: Enhancement
>          Components: core engine
>    Affects Versions: 6.4.0.Final
>         Environment: java 6, eclipse 4, windows 8.1
>            Reporter: Sante Stanisci
>            Assignee: Mario Fusco
>            Priority: Critical
>         Attachments: DroolsUtil.java, EntityBase.java, MtbLisvData.java, rules.drl
>
>
> in the then statement instead of modify use a custom function to change the field. This change does not notify the property even if the class is annotated with @PropertyReactive
> How can I manually notify the change?
> Use a stateless session



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list