I found solution. Query "select column_name, data_type from
information_schema.columns where table_schema = ? and table_name = ?" in
local mode.

On 08/16/2018 06:28 PM, Dmitry Lazurkin wrote:
> Hello.
>
> I have cache with query entity. Now I want to add new field to query
> entity of existing cache. I take query entity from existing cache and
> query entity with new fields, search new field and add it with DLL
> 'ALTER TABLE'. And now I have problem because query entity from cache
> configuration doesn't have new field. How can I make automatic schema
> update? May be exists better approach.
>
> I see interesting method QueryEntity#makePatch, but I have no idea how
> to use it.
>
> Thank you.
>
>

Reply via email to