Re: Loading objects saved as BinaryObject.

2016-02-02 Thread Dmitriy Setrakyan
On Tue, Feb 2, 2016 at 8:26 AM, ghostler  wrote:

> *Problem solved.*
> Forgot set BinaryTypeConfiguration for my classes.
> Will be better, if add support work without this configuration when you set
> types using CacheConfiguration.setTypes, add more information in exception.
>

Glad the issue is resolved. Do you mind filing a ticket in Ignite Jira
<https://issues.apache.org/jira/browse/IGNITE> describing your suggestion
and a better error message in exception?


>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/Loading-objects-saved-as-BinaryObject-tp2804p2806.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>


Re: Loading objects saved as BinaryObject.

2016-02-02 Thread ghostler
*Problem solved.*
Forgot set BinaryTypeConfiguration for my classes.
Will be better, if add support work without this configuration when you set
types using CacheConfiguration.setTypes, add more information in exception.



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Loading-objects-saved-as-BinaryObject-tp2804p2806.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Loading objects saved as BinaryObject.

2016-02-02 Thread Александр Малышев
Hello.
I have service wtich save some data as BinaryObject in cache. Service and
ignite nodes don't have classes, but service know classes names.
Can I load this objects on client with normal classes? Client contains
needed classes.
I tried do it on one node, but got exception java.io.FileNotFound:
\.classname. When I put .classname with
right class name, all work fine.
Saved BinaryObjects loaded from cache without problems with all fields.
-- 
Aleksandr