[rules-users] Working witj Hibernate objects

Małecki krokodylowy3 at wp.pl
Thu Feb 21 11:17:37 EST 2008


Hi

I'm testing rules with Hibernate objects (classes generated by Eclipse
JBoss plugin). Do I need any additional annotations in Hibernate class?


My simply test fails with "The field testTable.id is not visible" error

my rule: 

rule "Init message"
 when
   m : TestTable(id <100) 
(..)

my test class :

public class TestTable implements java.io.Serializable {
private int id;
public int getId() {
 return this.id;
}
public void setId(int id) {
 this.id = id;
}(..)

----------------------------------------------------
Mucha zaręczyła się z Wojewódzkim?
http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Fzareczyny.html&sid=230





More information about the rules-users mailing list