Take out the entry of this table for hbm, instantiate this object manually, use the setters and run the rules. My guess is, it should run perfect.
Send the hbm to the group, that would help. Configuration of this id in hbm is the source of problem.

> Date: Fri, 22 Feb 2008 10:39:17 +0100
> From: krokodylowy3@wp.pl
> To: rules-users@lists.jboss.org
> Subject: [rules-users] Re: Working with Hibernate objects
>
> >I don't see your test class as a peristent class. Unless you add
> >hibernate annotations it won't become as such.
>
> That's strange behaviour. I got working application - hibernate
> objects with hbm configuration files. All run's except rule.
>
> Getters and setters in hibernate objects are public so the main
> problem is in Rule compiler. Is any workaround? Users may not wish to
> regenerate hbm files to annotations.
>
> org.drools.rule.InvalidRulePackage: Rule Compilation error : [Rule
> name=Init message, agendaGroup=MAIN, salience=0, no-loop=true]
> com/sample/Rule_Init_message_0.java (9:430) : The field testTable.id
> is not visible
> at org.drools.rule.Package.checkValidity(Package.java:424)
>
>
>
> ----------------------------------------------------
> Ciało kobiety dojrzałej wg. Tomasz Sobieraja.
> Zobacz galerię fotografii.
> Kliknij: http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Fkobieta-dojrzala.html&sid=232
>
>
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users



It's about getting married. Click here! Try it!