[rules-users] Re: Working with Hibernate objects

Mahesh Gadgil maheshgadgil at hotmail.com
Fri Feb 22 08:16:25 EST 2008


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 at wp.pl> To: rules-users at 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 at lists.jboss.org> https://lists.jboss.org/mailman/listinfo/rules-users
_________________________________________________________________
Post free property ads on Yello Classifieds now! www.yello.in
http://ss1.richmedia.in/recurl.asp?pid=219
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080222/c7dc7a66/attachment.html 


More information about the rules-users mailing list