0

I transferred a table from postgresql to mongodb.I want to map this collection to a class. Is there a easy way to create the class of this collection ?

akinKaplanoglu
  • 728
  • 2
  • 8
  • 26

1 Answers1

0

Well, If you already created mongo DB. you could use java classes generator for json. All documents in mongodb are represented in json. Look at the answers for this question Generate Java class from JSON?

Community
  • 1
  • 1
Oleg
  • 443
  • 3
  • 13
  • But what i want to ask is different from this answer. I transffered a table from mysql to mongodb. I want to create mapped class to this collection. Is there a way for this operation ? @Oleg – akinKaplanoglu May 01 '15 at 17:35