Great!
This Works for me.
But I have another problem found. If I want to use hiberante-
annotations in my-test-rcp. and found 'IllegalAccessException' when
org.hibernate.cfg.ExtendedMappings accessing its super class
org.hibernate.cfg.Mappings in intialization time.
Don't worry about the compatibility matrix. All libraries were came
from distribution zip and converted into eclipse plugins. I use
hibernate-core 3.2.3-GA and hibernate-annotation 3.2.1-GA. I also
inculded 'Eclipse-BuddyPolicy: registered' in each dependency jars and
list all in my-test-rcp's MANIFEST.MF files under 'Eclipse-
RegisterBuddy' and also in hibernate-core and hibernate-annotations
I think it'a about OSGI problem. CMIIW
Is there anyone has found the same problem and solved it? |