Hi,
I recently refactored a persistence layer toward JOINED inheritance. Afterwards I had a @Many2One assocation which stopped working:
@OneToOne(fetch=FetchType.LAZY)
@JoinTable(name="Patient2CRMDoctorV",joinColumns={@JoinColumn(name="patientId")}, inverseJoinColumns={@JoinColumn(name="doctorId")} )
private Doctor doctor;
Patient2CRMDoctorV is a view in the database.
The error is:
Invocation of init method failed; nested exception is org.hibernate.AssertionFailure: Table Patient2CRMDoctorV not found
Are there any known issues with this combination. I found an older unanswered post with the same problem.
Regards,
Bernd
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131363#4131363
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131363
Thanks, few things that i didnt understand:
1. does the current release of jboss-aop2 (cr4) support exclude "*"?
2. how i include all packages that start with com.mycompany ...
3. i saw in some example that you wrote in the exclude and include the package and dot at the end "org.jboss." what is the meaning of the "dot" ?
4. is there any thing i can do for now? only want all the packages that satrt with com.mycompany (i have a lot of packages like this)?
Thanks a lot
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131358#4131358
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131358