[rules-users] Re: Working with Hibernate objects

Małecki krokodylowy3 at wp.pl
Fri Feb 22 04:39:17 EST 2008


>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





More information about the rules-users mailing list