Read the rules before posting!
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
Hibernate 2
Mapping documents:
none
Code between sessionFactory.openSession() and session.close():
n/a
Full stack trace of any exception that occurs:
n/a
Name and version of the database you are using:
Oracle 9
The generated SQL (show_sql=true):
yes
Debug level Hibernate log excerpt:
Here is an exemple code. By the way I am at the learning stage.
For the purpose of my question, assuming that I have two tables first name Person and the other name PersonDetails.
In the person.hbm.xml file I will declare the following:
<class name="eg.Person" table="Person">
<id name="Key" column="pid" type="string">
<generator class="uuid.hex"/>
</id>
<property name="birthday" type="date"/>
******Here how can I declare the following? Where do I suppose
to declare the table = "PersonDetails"? Is it possible?
<component name="Name" class="eg.Name"> <!-- class attribute optional -->
<property name="initial"/>
<property name="first"/>
<property name="last"/>
</component>
</class>