Hello!

In this case, you should be using setDataSourceFactory() instead of
setDataSourceBean().

Regards,
-- 
Ilya Kasnacheev


пн, 17 авг. 2020 г. в 10:21, marble.zh...@coinflex.com <
marble.zh...@coinflex.com>:

> Thanks Srikanta,
>
> I'm using below code, with CacheJdbcPojoStoreFactory, for the dsMySQL_Test
> dataSourceBean, I try configured in the default-config.xml, but it will
> show
> 'IgniteException: Failed to load bean in application context
> [beanName=dsMySQL_Test, ', so I am seeking which object can use to config
> the DataSourceBean,
>
> CacheJdbcPojoStoreFactory cacheJdbcPojoStoreFactory = new
> CacheJdbcPojoStoreFactory<>();
>
>         cacheJdbcPojoStoreFactory.setDataSourceBean("dsMySQL_Test");
>
>         cacheJdbcPojoStoreFactory.setDialect(new MySQLDialect());
>         JdbcType jdbcType = new JdbcType();
>         jdbcType.setCacheName(Student.class.getSimpleName());
>
> thanks.
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to