Home > database >  Large object storage problem
Large object storage problem

Time:10-04

In the development process, encountered such a problem: class through layer upon layer, the outermost class has big enough, the middle class and an abstract class, etc., now there is a demand, want to take this class object is stored into the database, have what good method? I think if we can put the class into the database after serialization? There is no better way? Beg ace

CodePudding user response:

Seems only serialized way,

CodePudding user response:

If only store data, JSON or XML are good means, such data is more conducive to spread and use of the
Factoring if only use your own program, then the serialization is good also

CodePudding user response:

, of course, is the purpose of storage to use, should give full consideration to how to use these data to the final selection method, or deposit, are very complicated to use, the storage solution is failure
  • Related