Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:3
Mapping documents:
<hibernate-mapping>
<class name="entity.Program"
table="program"
dynamic-update="false"
dynamic-insert="false"
>
<id
name="programId"
column="program_id"
type="java.lang.Integer"
>
<joined-subclass
name="entity.Seminar"
table="seminar"
>
<key
column="seminar_id"
/>
......./>
My question is if I want to retreive the Seminar entity using a
SQL Query what will the query look like? How will I set the SQLQuery.addEntity and do I need to set SQLQuery.addJoin and how?
Thank you in advance.
Imran