Hi,
Whenever we try to deploy an entity like:
Code:
@Inheritance(strategy=InheritanceType.JOINED)
public class A {
...
@JoinTable(name = "A_B", joinColumns = {
@JoinColumn(name = "A_ID", referencedColumnName = "ID")
}, inverseJoinColumns = {
@JoinColumn(name = "B_ID", referencedColumnName = "ID")
})
@ManyToOne
private B b;
}
public class C extends A {
....
}
It fails to deploy in Weblogic 10 with error:
Code:
org.hibernate.AssertionFailure: Table A_B not found at org.hibernate.persister.entity.JoinedSubclassEntityPersister.getTableId(JoinedSubclassEntityPersister.java:458) at org.hibernate.persister.entity.JoinedSubclassEntityPersister.<init>(JoinedSubclassEntityPersister.java:237)
Any help about what is happening? The table exists of course..
Regards