Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

nested documents checker

 
Dmitriy Shafeyev
Greenhorn
Posts: 1
Google Web Toolkit IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,

Is there any way to check does DBobject have nested documents ?
For example, I have tree table and I want to fill it with DBObject document. To parse DBObject document, as a row for this table, and embedded documents as children of this rows.
For this I should know structure of document (to prevent cases when embedded documents is parsed as rows and not as nodes), and I need to check is this just value or nested document (something like isObject).
I use vaadin framework, maybe it has something that could help me.

Thanks in advance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic