I explain better .... i created a my class MyStoredField.java for saving a value. Reading ....for understading if it is a normal stored field or not i used "instanceof". But in debug the class generated when i read the document id StoredField not MyStoredField . No way for doing it?
2016-09-07 16:48 GMT+02:00 Cristian Lorenzetto < cristian.lorenze...@gmail.com>: > I have a doubt. > > I created a class storing a special value. > When i store the document saving this field all ok. > when i read the document the field is found but it is a different class > (StoredField instead MyStoredField) > it is ok so? or i saw wrong previously in other examples? >