Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:2.1.7 
Mapping documents:
<hibernate-mapping>
    <class
        name="package.OyQuestionAnswer"
        table="O_QUESTION"
        dynamic-update="false"
        dynamic-insert="false"
    >
...............
        <joined-subclass name="package.DWireAnswer"
            table="D_WIRES"
            dynamic-update="false"
            dynamic-insert="false"
        >
        <key column="O_ID" />
        ......................
        </joined-subclass>
I need to have the column id for joined subclass to be a composite id composed of two columns. I have tried some of the know syntaxes for hibernate to know success. Any suggestions would be very helpful.