I think it's finding the classes in its classpath. This is the output from my ant task:
Code:
C:\Projects\Main\build>ant schema-recreate
Buildfile: build.xml
schema-recreate:
[echo] Schema recreate
[hibernatetool] Executing Hibernate Tool with a Standard Configuration
[hibernatetool] 1. task: hbm2ddl (Generates database schema)
[hibernatetool] (cfg.Environment 479 ) Hibernate 3.1.3
[hibernatetool] (cfg.Environment 509 ) hibernate.properties not found
[hibernatetool] (cfg.Environment 525 ) using CGLIB reflection optimizer
[hibernatetool] (cfg.Environment 555 ) using JDK 1.4 java.sql.Timestamp handling
[hibernatetool] (cfg.Configuration 1342) configuring from file: hibernate.cfg.xml
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Address.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Address -> Address
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Adversereaction.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Adversereaction -> Adversereaction
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Alertinformation.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Alertinformation -> Medhistory
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Allergy.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Allergy -> Allergy
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Alternatebptherapy.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Alternatebptherapy -> Alternatebptherapy
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Appointment.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Appointment -> Appointment
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Association.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Association -> Association
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Birthrecord.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Birthrecord -> Birthrecord
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Bphistory.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Bphistory -> Bphistory
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Bptherapy.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Bptherapy -> Bptherapy
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Card.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Card -> Card
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Cardactivity.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Cardactivity -> Cardactivity
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Ddapform.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Ddapform -> Ddapform
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Demographic.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Demographic -> Demographic
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Diagnosis.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Diagnosis -> Diagnosis
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Document.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Document -> Document
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Emergencycontact.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Emergencycontact -> Emergencycontact
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Encounter.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Encounter -> Encounter
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Exam.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Exam -> Exam
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Examitem.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Examitem -> Examitem
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Familyhistory.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Familyhistory -> Familyhistory
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Formhistory.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Formhistory -> Formhistory
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Growth.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Growth -> Growth
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Insurancebenefit.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Insurancebenefit -> Insurancebenefit
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Insurancebenefitcoverage.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Insurancebenefitcoverage -> Insurancebenefitcoverage
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Insurancecoverage.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Insurancecoverage -> Insurancecoverage
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Insuranceplan.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Insuranceplan -> Insuranceplan
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Intolerance.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Intolerance -> Intolerance
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Medhistory.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Medhistory -> Medhistory
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Medorder.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Medorder -> Medorder
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Medreaction.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Medreaction -> Medreaction
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Occupation.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Occupation -> Occupation
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Organization.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Organization -> Organization
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Person.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Person -> Person
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Personinsurance.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Personinsurance -> Personinsurance
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Personprocedure.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Personprocedure -> Personprocedure
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Personprovider.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Personprovider -> Personprovider
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Phone.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Phone -> Phone
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Photo.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Photo -> Photo
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickaddresstype.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickaddresstype -> Pickaddresstype
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickadministeringprovider.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickadministeringprovider -> Pickadministeringprovider
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickallergen.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickallergen -> Pickallergen
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickallergencategory.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickallergencategory -> Pickallergencategory
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickallergenreaction.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickallergenreaction -> Pickallergenreaction
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickallergentherapy.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickallergentherapy -> Medhistory
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickalternatebptherapytype.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickalternatebptherapytype -> Pickalternatebptherapytype
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickappointmenttype.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickappointmenttype -> Pickappointmenttype
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickassociationtype.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickassociationtype -> Pickassociationtype
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickbpsymptom.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickbpsymptom -> Pickbpsymptom
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickcardaction.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickcardaction -> Pickcardaction
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickcardreason.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickcardreason -> Pickcardreason
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickcardstatus.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickcardstatus -> Pickcardstatus
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickcontact.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickcontact -> Pickcontact
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickdocumenttype.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickdocumenttype -> Pickdocumenttype
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickdose.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickdose -> Pickdose
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickformtype.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickformtype -> Pickformtype
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickicdcode.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickicdcode -> Pickicdcode
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickintolerance.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickintolerance -> Pickintolerance
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickintolerancecategory.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickintolerancecategory -> Pickintolerancecategory
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickintolerancereaction.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickintolerancereaction -> Pickintolerancereaction
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickmeddiagnosis.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickmeddiagnosis -> Pickmeddiagnosis
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickmedduration.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickmedduration -> Pickmedduration
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickmedexamitem.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickmedexamitem -> Pickmedexamitem
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickmedexamtype.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickmedexamtype -> Pickmedexamtype
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickmedfamily.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickmedfamily -> Pickmedfamily
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickmedfrequency.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickmedfrequency -> Pickmedfrequency
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickmedprocedure.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickmedprocedure -> Pickmedprocedure
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickmedreaction.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickmedreaction -> Pickmedreaction
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickmedreactiontype.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickmedreactiontype -> Pickmedreactiontype
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickmedstrength.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickmedstrength -> Pickmedstrength
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickmedsubtype.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickmedsubtype -> Pickmedsubtype
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickmedtype.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickmedtype -> Pickmedtype
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickorganizationtype.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickorganizationtype -> Pickorganizationtype
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickpersonrace.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickpersonrace -> Pickpersonrace
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickpersonrelationship.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickpersonrelationship -> Pickpersonrelationship
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickpersonreligion.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickpersonreligion -> Pickpersonreligion
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickphonenumbertype.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickphonenumbertype -> Pickphonenumbertype
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickroute.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickroute -> Pickroute
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Picksite.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Picksite -> Picksite
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickstatuscode.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickstatuscode -> Pickstatuscode
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Picksuppliertype.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Picksuppliertype -> Picksuppliertype
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Picksymptom.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Picksymptom -> Picksymptom
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickvaccinefamily.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickvaccinefamily -> Pickvaccinefamily
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickvaccineschedule.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickvaccineschedule -> Pickvaccineschedule
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Pickvaccinetype.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Pickvaccinetype -> Pickvaccinetype
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Signature.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Signature -> Signature
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Socialhistory.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Socialhistory -> Socialhistory
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Vaccinehistory.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Vaccinehistory -> Vaccinehistory
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Vaccineorder.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Vaccineorder -> Vaccineorder
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Vitalsign.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Vitalsign -> Vitalsign
[hibernatetool] (cfg.Configuration 469 ) Reading mappings from resource: com/chisq/common/bo/Webpart.hbm.xml
[hibernatetool] (cfg.HbmBinder 309 ) Mapping class: com.chisq.common.bo.Webpart -> Webpart
[hibernatetool] (cfg.Configuration 1419) Configured SessionFactory: null
[hibernatetool] (dialect.Dialect 103 ) Using dialect: org.hibernate.dialect.MySQLDialect
BUILD FAILED
C:\Projects\Main\build\build.xml:253: org.hibernate.MappingException: could not instantiate id generator
Total time: 5 seconds
I don't know what you mean by the term id generator, but in all my *.java files I have an XDoclet tag like this:
Code:
/**
* @hibernate.id
* column="AddressID"
* generator-class="native"
*/
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
And in all my *.hbm.xml files, XDoclet creates:
Code:
<id
name="id"
column="AddressID"
type="java.lang.Long"
>
<generator class="native">
<!--
To add non XDoclet generator parameters, create a file named
hibernate-generator-params-Address.xml
containing the additional parameters and place it in your merge dir.
-->
</generator>
</id>
So all that looks ok. But I guess I'm missing something else. Is it safe to assume that my classpath is ok from looking at the console ouput from my ant task?
BTW, what is a id generator? Is that where I specify generator class="native"?