I am a bit confused. Why can't we provide just a simple list of classes to
CacheJdbcPojoStore? Why do we need to define the whole metadata?

On Fri, Apr 24, 2015 at 10:28 AM, Alexey Kuznetsov <[email protected]>
wrote:

> CacheJdbcPojoStore uses CacheTypeMetadata to describe connection between
> database table and POJO.
>
> In CacheTypeMetadata user should specify DB schema name, table name, key
> class name, value class name and how these classes mapped to DB table.
> Using this information CacheJdbcPojoStore will find getters and setters in
> POJO via reflection (assuming that POJO is a Java bean).
>
> About documentation:
>     http://apacheignite.readme.io/v1.0/docs/automatic-persistence
>     examples\schema-import\README.txt
>
>
>
> On Fri, Apr 24, 2015 at 8:35 PM, Dmitriy Setrakyan <[email protected]>
> wrote:
>
> > I have several questions about CacheJdbcPojoStore.
> >
> > 1. According to javadoc, this store uses reflection to analyze the
> classes,
> > but there is no setter to set the classes. What is the way to do it? Can
> we
> > make sure that javadoc reflects that?
> >
> > 2. Is there an example or documentation for it outside of the javadoc?
> >
> > D.
> >
>
>
>
> --
> Alexey Kuznetsov
> GridGain Systems
> www.gridgain.com
>

Reply via email to