Hello!

I don't think there is any utility, but you can use
ignite.binary().type(string) to clarify field types.

Regards,
-- 
Ilya Kasnacheev


чт, 12 мар. 2020 г. в 18:05, narges saleh <snarges...@gmail.com>:

> Thanks Ilya.
>
>  Is there any utility that returns the (java) field types for the query
> entity defined caches? I don't want to have to map jdbc types to java types.
>
> On Thu, Mar 12, 2020 at 6:41 AM Ilya Kasnacheev <ilya.kasnach...@gmail.com>
> wrote:
>
>> Hello!
>>
>> You can use JDBC's DatabaseMetaData for that.
>>
>> Please see
>> https://docs.oracle.com/javase/8/docs/api/java/sql/DatabaseMetaData.html
>>
>> Regards,
>> --
>> Ilya Kasnacheev
>>
>>
>> чт, 12 мар. 2020 г. в 05:49, narges saleh <snarges...@gmail.com>:
>>
>>> Hi All,
>>>
>>> How would one extract, programmatically, the metadata for the
>>> fields/columns for a cache/table? I want to get the field names along with
>>> the data type for each field, say, for example, if the table is defined via
>>> queryentity or SQL/JDBC.
>>>
>>> thanks.
>>>
>>

Reply via email to