-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from sboesebeck/develop
Develop
- Loading branch information
Showing
10 changed files
with
181 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ target/ | |
*.iml | ||
dist/ | ||
*.orig | ||
MorphiumDoku.html |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
multimarkdown -t html MorphiumDoku.md -o MorphiumDoku.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package de.caluga.test.mongo.suite;/** | ||
* Created by stephan on 12.01.16. | ||
*/ | ||
|
||
import de.caluga.morphium.Morphium; | ||
import de.caluga.morphium.MorphiumConfig; | ||
import de.caluga.test.mongo.suite.data.CachedObject; | ||
|
||
/** | ||
* TODO: Add Documentation here | ||
**/ | ||
public class ExitTest { | ||
|
||
public static void main(String args[]) throws Exception { | ||
// Morphium m=new Morphium("localhost:27017","morphium-test"); | ||
|
||
MorphiumConfig cfg = new MorphiumConfig(); | ||
cfg.setDatabase("morphium-test"); | ||
cfg.setHostSeed("localhost:27017,localhost:27018,localhost:27019"); | ||
Morphium m = new Morphium(cfg); | ||
System.out.println("Connection opened..."); | ||
|
||
m.createQueryFor(CachedObject.class).countAll(); | ||
m.close(); | ||
System.out.println("All closed"); | ||
} | ||
} |