try adding the targetEntity
Code:
OneToMany(mappedBy="num" targetEntity="yourpackage.Phone.class"))
Also try specifying the table you are mapping to
Code:
@Entity
@Table (name="BR_RULE")
And finally other people might disagree but I usually instantiate all my collections. This way I don't have to deal with nulls later on.
Code:
@OneToMany(mappedBy="num" targetEntity="yourpackage.Phone.class"))
private List<Phone> phones = new ArrayList<Phone>();
Are you receiving any exceptions if so please post the stack trace.