小编Pra*_*ath的帖子

Spring Framework中的DAO,DTO和Service层是什么?

我正在使用spring和hibernate编写RESTful服务.我在互联网上阅读了很多资源,但他们没有澄清我的疑虑.请详细解释一下spring框架中的DAO,DTOService层是什么?为什么在Spring中需要使用这些层来开发RESTfull API服务.

architecture rest design-patterns software-design

41
推荐指数
3
解决办法
5万
查看次数

Robomongo 0.8.5中的数据库中没有显示集合

在我的mongodb中,一个数据库包含了这些集合,但是当我运行Robomongo时,我的数据库的0.8.5集合未显示(Robomongo 0.8.5(文件浏览器)的左侧).

如果我在Robomongo 0.8.5中运行以下查询,它会显示所有集合.

db.stats()
Run Code Online (Sandbox Code Playgroud)

另一个显示集合的查询

db.collectionName.find()//it shows all documents in collection
Run Code Online (Sandbox Code Playgroud)

请为此问题提出解决方案.

mongodb robo3t

5
推荐指数
1
解决办法
2652
查看次数