-
Jan 12th, 2011, 01:22 AM
#1
Hibernate Mapping Many-to-One using Annotations Issue
I have a many to one relationship between 2 classes A and B(a->B). I want to use annotations unfortunately there are many classes to be converted in my project( hibernate + spring integrated ). I ended up changing only Class B to annotations and class A will have the old hbm mapping file itself..
While doing so i get an exception creating sessionFactory "An association from the table A refers to an unmapped class: B"
Is it not possible to use annotation and hbm configuration mixed?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules