I'm trying to experiment with GridFS in Hibernate-ogm. This is simply my class
import org.hibernate.ogm.datastore.mongodb.type.GridFS;
@Embeddable
public class MyEntity implements Serializable{
private String name;
public MyEntity () {
}
GridFS list;
}
I get the error in title at runtime when I try to make this entity persistent. Eclipse IDE on list
field says "Attribute list has invalid mapping type in this context".