Register / Login
Win a copy of
Java Mock Exams (software)
this week in the
Programmer Certification (OCPJP)
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Is it possible to store Super Class object in mongodb
posted 4 years ago
I have two classes
class B extends A
i m storing it in mongodb as follows
A a=new B();
the data is being stored with _class : B
But i want to store it as A,
Is it possible?
Can i store the object with _class as its superclass?
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
Boost this thread!
how to split excel file if rows are above 64k using apache-poi?
Connection to a MongoDB
How to type cast the Object if im having class Name as string?
Best DBMS for a scenario
MongoDB and NoSQL - when to use or not use it?