[
https://issues.apache.org/jira/browse/IGNITE-14742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amelchev Nikita updated IGNITE-14742:
-------------------------------------
Docs Text: Implemented array component type in binary object
> Store array component type in binary object
> -------------------------------------------
>
> Key: IGNITE-14742
> URL: https://issues.apache.org/jira/browse/IGNITE-14742
> Project: Ignite
> Issue Type: Improvement
> Reporter: Nikolay Izhikov
> Assignee: Nikolay Izhikov
> Priority: Major
> Labels: important
> Fix For: 2.13
>
> Time Spent: 6h
> Remaining Estimate: 0h
>
> Currently, an array of custom objects can't be retrieved from the cache
> {code:java}
> public class BinaryObjectTest extends GridCommonAbstractTest {
> /** */
> @Test
> public void testArray() throws Exception {
> Ignite ign = startGrid();
> IgniteCache<Integer, TestClass1[]> cache =
> ign.createCache("my-cache");
> cache.put(1, new TestClass1[] {new TestClass1(), new TestClass1()});
> TestClass1[] obj = cache.get(1);
> assertEquals(TestClass1[].class, obj.getClass());
> }
> }
> {code}
> The fix should preserve backward compatibility.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)