last day (15 days later) » 

5:12 PM
0
Q: hibernate ogm mongodb Timestamp

Med BesbesI have the following mongodb { "_id" : ObjectId("57713c6304f4dc08008b45ba"), "SYS_FluxName" : "ERDF_F12_17X100A100F0073T_GRD-F046_0321_00011_FL_00001_00001.xml", "SYS_ReadDateTime" : Timestamp(6300883749567463, 83), "SYS_BaseNameZip" : "ERDF_F12_17X100A100F0073T_GRD-F046_0321_00...

 
Can you show us the config that you use ?
 
I added persistence.xml
 
Did you insert data through hibernate mongo API ? I mean BSONTimestamp is a internal type. You should change mongo db collection to use BSONDate and see it to works. Something worth looking.
 
I have a read only access to mongoDB, I can't change anything
 
See if you can map it Long value on your side
 
5:12 PM
no it doesn't work
hello
 
Hi
I'm just trying to relate to the object mapping framework I use.
trying to find some connection
I don't use hibernate ogm for mongo
 
ok thx
what do you use us framework?
 
5:33 PM
I use spring mongodb and morphia
in two difffent projects
 
does morphia support timestamp?
 
 
3 hours later…
8:08 PM
I get the same exact error in morphia too
It's not a standard type like I said
you may need to add a custom type converter to handle this type
 

  last day (15 days later) »