Re: java.lang.reflect.Field.getValue() does not work in OSGi environment

2011-01-21 Thread Rice Yeh
Yes, you are right. I just do not import a package because the package is not in the import statements of the java file and hence bnd does not have it included in the MANIFEST.MF. Thanks. Rice On Fri, Jan 21, 2011 at 5:10 PM, niiba...@gmail.com wrote: > Hello! > > Do you have "Export-Package:

Re: java.lang.reflect.Field.getValue() does not work in OSGi environment

2011-01-21 Thread niiba...@gmail.com
Hello! Do you have "Export-Package: xs.personnel" in your bundle? On 21.01.2011 11:46, Rice Yeh wrote: Hi, I meet a problem that looks quite weird for me. I report it here to see whether people have similar experience. In hibernate, there is a class org.hibernate.property.DirectPropert

java.lang.reflect.Field.getValue() does not work in OSGi environment

2011-01-21 Thread Rice Yeh
Hi, I meet a problem that looks quite weird for me. I report it here to see whether people have similar experience. In hibernate, there is a class org.hibernate.property.DirectPropertyAccessor$DirectGetter, which is used to directly access a field's value of a domain class. I find this functio