Does anyone know if there is a way in in maven/hibernate to turn on an error
trace that will tell me specifically where my annotation errors are? I have
about strangled myself because i am not familiar with the error message I am
receiving. And google/hibernate forums are not turning up any valuable
information.


For instance I have the following example classes:
Person
PersonType
PersonAddress
PersonAddressType

Where:
Person has a self-refencing column "Parent"
and Person has a join with PersonType
PersonAddress joins with Person many to one
and and PersonAddress has a join with PersonAddressType

With this configuration I have to the best of my knowledge the correct
annotations in place. However I keep receiving the error message from
Hibernate when trying to compile. I have stripped out all the references in
the POJO's so there were not any joins specified however I still keep
receiving the following message.

"Cannot find the expected secondary table: no person available for
com.company.model.person"

hibernate.cfg.xml is pointing to the classes correctly, as when i
purposefully mistype one it gives me a different error stating the class
wasnt available.

Thanks
-- 
View this message in context: 
http://www.nabble.com/tracking-down-hibernate-annotation-errors--tf3049215s2369.html#a8476052
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to