jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "deepak.singhvi@gmail.com" <deepak.sing...@gmail.com>
Subject Re: OraclePersistenceManager does not contain a property named tableSpace
Date Fri, 22 Jun 2012 04:50:43 GMT
After trying that only i have posted this message.
With or without the tableSpace parameter error is coming same.
I wonder from where its reading.
When i change anything else it recognizes that but not the change of the

I debug it and understood that it uses the refection....

public class BeanConfig {

while (enumeration.hasMoreElements()) {
                String name = enumeration.nextElement().toString();
                *Method setter = setters.get(name);*   //----> Problem is
here it does not get the name in the                             
but name is coming from config as tableSpace
                                                                  // which
come even if its not there in config.
                if (setter != null) {
                    if (setter.getAnnotation(Deprecated.class) != null) {
                        log.warn("Parameter {} of {} has been deprecated",
                                name, cname);
                    String value = properties.getProperty(name);
                    setProperty(instance, name, setter, value);
                } else if (validate) {
                    *throw new ConfigurationException(
                            "Configured class " + cname
                            + " does not contain a property named " +

Any way thanks for the help.
Has anybody faced the similar kind of problem?

View this message in context: http://jackrabbit.510166.n4.nabble.com/OraclePersistenceManager-does-not-contain-a-property-named-tableSpace-tp4655557p4655572.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message