File tree Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Original file line number Diff line number Diff line change 1- mongodb-java-springdata-casadocodigo
1+ mongodb-java-geospatial- springdata-casadocodigo
22====================================
33
4- MongoDB + Java com Spring Data + Bootstrap
4+ MongoDB com Geospatial + Java com Spring Data + Bootstrap
55--------------------------------------------
66
77* Database.....: * test*
8- * Collection...: * seriados *
8+ * Collection...: * zipcodes *
99
1010* Exemplo de documento
1111
1212```
13- db.seriados .findOne()
13+ db.zipcodes .findOne()
1414
1515{
16- "_id" : ObjectId("53fd3aa68fc5e9cd4b8b4567"),
17- "nome" : "Breaking Bad",
18- "personagens" : [
19- "Walter White",
20- "Skyler White",
21- "Jesse Pinkman",
22- "Hank Schrader",
23- "Marie Schrader ",
24- "Saul Goodman"
25- ]
16+ "_id" : ObjectId("544edc295e0a44b1d3da5d2a"),
17+ "city" : "AARON",
18+ "state" : "KY",
19+ "loc" : {
20+ "x" : 85.19911399999999,
21+ "y" : 36.812827
22+ }
2623}
2724```
25+ --------------------------------------------
26+
27+ 1 . Restaure o banco do diretório DUMP
28+ 2 . Execute o script sobe-tomcat
29+ 3 . Acesse a URL: http://localhost:8080/
You can’t perform that action at this time.
0 commit comments