Hello! Why do you try to write to this field? I ask since you create your DataSource explicitly.
Regards, -- Ilya Kasnacheev пн, 25 мар. 2019 г. в 12:32, austin solomon <[email protected]>: > After changing the above mentioned property, now it gives me this error: > Caused by: org.springframework.beans.NotWritablePropertyException: Invalid > property 'dataSourceBean' of bean class > [com.cls.imdg.sqlloader.CacheJdbcTable1Store]: Bean property > 'dataSourceBean' is not writable or has an invalid setter method. Does the > parameter type of the setter match the return type of the getter? > at > > org.springframework.beans.BeanWrapperImpl.createNotWritablePropertyException(BeanWrapperImpl.java:239) > at > > org.springframework.beans.AbstractNestablePropertyAccessor.processLocalProperty(AbstractNestablePropertyAccessor.java:435) > at > > org.springframework.beans.AbstractNestablePropertyAccessor.setPropertyValue(AbstractNestablePropertyAccessor.java:290) > at > > org.springframework.beans.AbstractNestablePropertyAccessor.setPropertyValue(AbstractNestablePropertyAccessor.java:278) > at > > org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:95) > at > > org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:75) > at > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1570) > ... 34 more > > Do I need to override any more getter,setter or functions? > Similar is the error I get for properties dialect and types > > Thanks, > Austin > > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >
