Hi,
Does someone have problems with classes at Hibernate Console?
I've been using JBossIDE 2.0.0beta2 and Hibernate Tools 3.2.0beta9a and trying to get an Entity Model with 3 classes.
Code:
@MappedSuperclass
public class Father{
@OneToOne
Pojo pojo;
}
Code:
@Entity
@Table(name = "Son")
public class Son extends Father{
@Id
int id;
int test;
}
Code:
@Entity
@Table(name = "Pojo")
public class Pojo {
@Id
int id;
}
First Scenario - classes at the same package
Three classes at the same package (auction.model)
It shows Son and Pojo as valid Classes. Works fine.
Second Scenario - Son apart
Son at package auction.model (project1)
Father at package another.model (project2)
Pojo at package another.model (project2)
Added project1/buid to Project2 classpath at Hibernate Console Cofiguration.
It shows only Pojo as a valid class. Where is Son?
Am I doing somethin wrong?
Thanks in advance.