Closed GoogleCodeExporter closed 9 years ago
Can you provide a sample of code to reproduce this?
Original comment by scotthernandez
on 5 Aug 2011 at 1:24
@Embeded
public class Oid
{
public Long x;
public Long y;
public oID(Long x,Long y)
{
this.x = x;
this.y = y;
}
}
@Entity
public class Ent
{
@Id
Oid id;
public ent(Oid id)
{
this.id = id;
}
}
Morphia morphia = new Morphia().map(Ent.class)
new DatastoreImpl(morphia,mongo).insert(new Ent(new Oid(1l,2l)));
the object is saved just fine, but the above exception is thrown
Original comment by had...@gmail.com
on 18 Jan 2012 at 10:21
the last line where the datastore creation is should be.
morphia.createDatastore(mongo,"test").save(new Ent....;
Original comment by had...@gmail.com
on 18 Jan 2012 at 10:32
Issue 378 has been merged into this issue.
Original comment by scotthernandez
on 23 Feb 2012 at 6:00
This issue was closed by revision r1809.
Original comment by scotthernandez
on 23 Feb 2012 at 6:01
Original comment by scotthernandez
on 23 Feb 2012 at 6:09
Original issue reported on code.google.com by
had...@gmail.com
on 5 Aug 2011 at 8:32