Hi Laurie,
I think you have identified the problem correctly.
There might be a better answer than mine, but my understanding is: If you have a class ReleaseBoImpl that has a relationship to a Project interface, mapping has to be done on concrete classes, but your java class can work on the interface:
Code:
public class ReleaseBoImpl implements ReleaseBo
{
private Project project;
//getter setters etc.
}
public class ProjectImpl implements Project
{
}
You mapping should be done on your concrete classes:
Quote:
ReleaseBo.hbm.xml:
<class name="ReleaseBoImpl" table="ReleaseBO">
<many-to-one name="project" class="ProjectImpl"
Project.hbm.xml:
<class name="ProjectImpl" table="Project">
You can still implement inheritance etc.
I hope that helps you.